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.