Re: Specifying supported hw params (channels, format, etc.) by the plug plugin in alsa config?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26. 08. 24 18:06, Jaroslav Kysela wrote:

> 
>> I am looking for restricting the params offered by the plug plugin to
>> upstream.
>>
>> Sometimes it's useful to fix the input channels or sample format, while
>> keeping the plug conversion capabilities. An example is the a52 plugin
>> which accepts only non-interleaved access. For clients which support
>> only interleaved access (e.g. java alsa interface), the plug will do the
>> conversion, but will also obscure the fact that a52 works with 6
>> channels and S16_LE, runs preferrably at 48kHz, etc. Yes, it will any of
>> the conversions necessary, but sometimes the client would prefer knowing
>> the optimal format instead.
> 
> It would be better to use 'copy' plugin instead 'plug' in this case to
> do just interleaved/non-interleaved stream conversion.

Excellent, that works perfectly for this case. I always wondered about
purpose of the copy plugin :-) Thanks a lot!

With regards,

Pavel.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux