On Wed, 12 Feb 2003, Takashi Iwai wrote:

> At Wed, 12 Feb 2003 10:45:41 +0100 (CET),
> Jaroslav wrote:
> > 
> > Here is an .asoundrc example configuration (plugin defaults are 48kHz, 
> > stereo, signed 16-bit little endian):
> > 
> > pcm.dmix {
> >     type dmix
> >     ipc_key 1234    # must be unique for all dmix plugins!!!!
> >     slave {
> >             pcm "hw:0,0"
> >     }
> > }
> > 
> >     Then try: 'aplay -Dplug:dmix <filename>' on multiple consoles.
> 
> confirmed to work fine on my machine.  great!
> 
> one thing noticed is that even the different sample rate is accepted
> without plug and ersults in too fast/slow playback.  just a minor
> problem, though.

Note that aplay uses snd_pcm_hw_params_set_rate_near() function, so it's
not guaranteed that rate is same as requested. I've added a check to aplay
- if rate doesn't fall into 5% limit, then warning is reported now.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to