Re: [pulseaudio-discuss] [PATCH v4] alsa-sink/source, sink, source: Consider sample format for avoid-resampling/passthrough

2018-11-15 Thread Sangchul Lee
2018년 11월 14일 (수) 오후 6:38, Tanu Kaskinen 님이 작성: > > > -if (!supported) { > > -pa_log_info("Sink does not support sample rate of %d Hz", > > spec->rate); > > -return -1; > > +if (!format_supported) { > > +pa_log_info("Sink does not support sample format of %s, set

Re: [pulseaudio-discuss] [PATCH v4] alsa-sink/source, sink, source: Consider sample format for avoid-resampling/passthrough

2018-11-14 Thread Tanu Kaskinen
On Wed, 2018-10-31 at 23:48 +0900, Sangchul Lee wrote: > Sample format(e.g. 16 bit, 24 bit) was not considered even if the > avoid-resampling option is set or the passthrough mode is used. > This patch checks both sample format and rate of a stream to > determine whether to avoid resampling in