Op 27/2/2004 schreef "Clemens Ladisch" <[EMAIL PROTECTED]>:
>Menno Tammens wrote:
>> I'm trying to play 2-channel audio files on all the 6 channels my
>> nforce-sound provides, with this asound.conf (found
>> onhttp://alsa.opensrc.org/index.php?page=FAQ028):
>>
>> ------------------
>> pcm.ch51dup {
>> type route
>> slave.pcm surround51
>> slave.channels 6
>> ttable.0.0 1
>> ttable.1.1 1
>> ttable.0.2 1
>> ttable.1.3 1
>> ttable.0.4 0.5
>> ttable.1.4 0.5
>> ttable.0.5 0.5
>> ttable.1.5 0.5
>> }
>> ------------------
>>
>> Aplay gives this error:
>>
>> ------------------
>> [EMAIL PROTECTED] earendil $ aplay -Dplug:ch51dup /tmp/test.wav
>> Playing WAVE '/tmp/test.wav' : Signed 16 bit Little Endian, Rate 44100
>> Hz, Stereo
>> aplay: set_params:882: Can't use period equal to buffer size (5017 ==
>> 5017)
>> ------------------
>
>Try to set the period and buffer sizes explicitly:
>
> slave.period_size 3072
> slave.buffer_size 6144
>
>(I don't know what values your hardware supports)
>
>
>HTH
>Clemens
That gives another error:
vingilot root # aplay -Dplug:ch51dup /tmp/test.wav
ALSA lib pcm.c:6203:(snd_pcm_slave_conf) Unknown field period_size
aplay: main:502: audio open error: Invalid argument
Regard,
Menno
-------------------------------------------------------
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