[alsa-devel] Setting audio channels on ICH5 with SALSA
Clemens Ladisch
cladisch at fastmail.net
Thu Jul 12 08:36:04 CEST 2007
Fausto Carvalho Marques SIlva wrote:
> >Setting audio channels on ICH5 with SALSA generates and: EINVAL
> >Numbers of channels is 1.
The ICH5 AC97 controller does not support mono output; you must use at
least a stereo stream.
> Even getting the number of avaiable audio channels i get error: EINVAL
What function did you try to use?
> Debuging gets me to:
>
> SNDRV_PCM_HW_PARAM_CHANNELS
> params->intervals[2] = {min = 2, max = 6, ...
It supports 2, 4 or 6 channels; this is not a single value.
HTH
Clemens
More information about the Alsa-devel
mailing list