Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262175AbVERNpP (ORCPT ); Wed, 18 May 2005 09:45:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262188AbVERNpP (ORCPT ); Wed, 18 May 2005 09:45:15 -0400 Received: from cantor2.suse.de ([195.135.220.15]:7379 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S262175AbVERNoz (ORCPT ); Wed, 18 May 2005 09:44:55 -0400 Date: Wed, 18 May 2005 15:44:55 +0200 Message-ID: From: Takashi Iwai To: Lee Revell Cc: Karel Kulhavy , Michal Schmidt , linux-kernel@vger.kernel.org Subject: Re: software mixing in alsa In-Reply-To: <1116372742.2567.1.camel@mindpipe> References: <20050517095613.GA9947@kestrel> <200505171208.04052.jan@spitalnik.net> <20050517141307.GA7759@kestrel> <1116354762.31830.12.camel@mindpipe> <428A45C3.8060904@stud.feec.vutbr.cz> <20050517210444.GA21257@kestrel> <1116365790.32210.29.camel@mindpipe> <1116372742.2567.1.camel@mindpipe> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 15) (Security Through Obscurity) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1634 Lines: 44 At Tue, 17 May 2005 19:32:22 -0400, Lee Revell wrote: > > On Tue, 2005-05-17 at 17:36 -0400, Lee Revell wrote: > > On Tue, 2005-05-17 at 23:04 +0200, Karel Kulhavy wrote: > > > On Tue, May 17, 2005 at 09:28:03PM +0200, Michal Schmidt wrote: > > > > Lee Revell wrote: > > > > >mpg123 is an open source application so there's no excuse for it not to > > > > >support ALSA in 2005. > > > > > > > > Its COPYING file says: > > > > This software may be distributed freely, provided that it is > > > > distributed in its entirety, without modifications, ... > > > > This doesn't look like an open source license at all. > > > > That's why Debian puts mpg123 in non-free. > > > > > > > > Karel, you may want to try mpg321 instead. It already has ALSA support. > > > > > > Tried with the same result: fast forward. > > > > > > > Then the problem is probably with your ALSA configuration, or (less > > likely) an ALSA bug. I suspect your MP3s are 44100 KHz and they are > > being played at 48000 KHz. > > OK, I found this bug report that describes the same problem: > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1098 This sounds similar, but I guess it's different. > The short answer is that you need to have mpg321 use the "plug:dmix" > device. The recent libao opens "default" PCM. So, dmix should work without any changes when you install ALSA 1.0.9(rc3). Takashi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/