[alsa-devel] Channel conversion automatic or not?
radivojejovanovic at gmail.com
Tue Dec 28 22:35:29 CET 2010
In my driver I have specified that the hardware supports only two channels.
However, if I try playing mono input files on this system I get:
Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono
aplay: set_params:1041: Unable to install hw params:
PERIOD_TIME: (371519 371520)
BUFFER_TIME: (1486077 1486078)
If I try playing the same file through the virtual device that I specified
in asoundrc file like this:
and I do aplay -Dmydev test.wav
File plays no problem.
I guess the question is shouldn't ALSA convert this data automatically or
the only way to get this to work is through plugin as I did?
More information about the Alsa-devel