[alsa-devel] [PATCH] ASoC: soc-compress: Send correct stream event for capture start
Mark Brown
broonie at kernel.org
Fri May 17 22:20:08 CEST 2013
On Fri, May 17, 2013 at 04:58:26PM +0100, Charles Keepax wrote:
> Sorry little bug I missed due to some integration bugs in our
> setup here. Again this applies onto Takashi's sound for-next
> branch.
Now the merge window is done this matters less.
> + if (cstream->direction == SND_COMPRESS_PLAYBACK) {
> + snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_PLAYBACK,
> + SND_SOC_DAPM_STREAM_START);
> + } else {
> + snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_CAPTURE,
> + SND_SOC_DAPM_STREAM_START);
> + }
Coding style: no braces for single line if clauses unless there's a good
reason.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130517/f9c3556c/attachment-0001.sig>
More information about the Alsa-devel
mailing list