[RFC PATCH 1/2] pulsecore: sink: force suspend/resume on passthrough transitions

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

 



On Tue, 29 Aug 2017, at 04:19 AM, Pierre-Louis Bossart wrote:
> A race condition prevents the AES non-audio bit from being set
> when enabling IEC61937 passthrough on resume with no sink-input
> connected (pa_sink_is_passthrough returns false). The non-audio
> bit should really be set when opening the sink.
> 
> Force the sink to suspend/resume when actually entering passthrough
> mode, and likewise force a suspend-resume on leaving passthrough mode.
> 
> Tested with E-AC3 streams which do need the AES bit set for my
> Onkyon receiver to detect the format instead of playing it as
> PCM.
> 
> Signed-off-by: Pierre-Louis Bossart
> <pierre-louis.bossart at linux.intel.com>
> ---

Looks good. Pushed to next.

-- Arun


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux