8 Mar
2013
8 Mar
'13
1:30 p.m.
On Fri, Mar 08, 2013 at 01:26:35PM +0100, Daniel Mack wrote:
On 08.03.2013 12:42, Mark Brown wrote:
Please avoid the ternery operator. It'd be nice to switch over to mute_stream() too.
I wasn't aware of steam_mute. How's that supposed to be used? I'm asking because when using 4-channel playback, the driver gets this callback for stream == 0 only. Am I supposed to (un)mute all channels here, regardless of the stream parameter passed in?
The stream parameter is _PLAYBACK or _CAPTURE - it's just the same as digital_mute() except it can be applied to a capture stream too.