Re: software mixing in alsa

From: Lee Revell
Date: Tue May 17 2005 - 18:40:32 EST


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

The short answer is that you need to have mpg321 use the "plug:dmix"
device.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/