On Tue, 24 Feb 2004, John Haxby wrote: > Kirk Bauer wrote: > > >On Tue, 24 Feb 2004, Jaroslav Kysela wrote: > > > > > > > >>>mpg123 -s test.mp3 | aplay --device=channel2 --channels=2 -f cd > >>>--buffer-time=1000000 - > >>> > >>>[snip] > >>> > >>> > >pcm.dmixer { > > type dmix > > ipc_key 1024 # must be unique! > > slave { > > pcm "hw:0,0" # you cannot use a "plug" device here, darn. > > period_time 0 > > period_size 1024 # must be power of 2 > > buffer_size 6553 # dito. It > > #format "S32_LE" > > #periods 128 # dito. > > #rate 8000 # with rate 8000 you *will* hear, > > # if ossmix is used > > } > >} > > > > > When I tried this, I needed "rate 44100" ... the re-sampling would make > aplay use a lot of CPU time. Also, I don't know if there's a > transcription error, but "buffer_size 6553" looks like a typo -- it's > not a power of two, but 65536 is of course.
Well power of two requirement is for the alsa-oss and this drawback was removed in 1.0.3rc1 alsa-oss package - try it. The 6553 value is the maximum for ICE1712 chipset. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user