ALSA: pcm: add IEC958 channel status helper for hw_params
authorJyri Sarha <jsarha@ti.com>
Thu, 31 Mar 2016 13:35:58 +0000 (16:35 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2016 18:47:48 +0000 (11:47 -0700)
commit4a4436573a6669516f73bac25016683d396ed4c4
treea776d721808873a645baba6f25a0f973c7995c24
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ALSA: pcm: add IEC958 channel status helper for hw_params

Add IEC958 channel status helper that gets the audio properties from
snd_pcm_hw_params instead of snd_pcm_runtime. This is needed to
produce the channel status bits already in audio stream configuration
phase.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/pcm_iec958.h
sound/core/pcm_iec958.c
This page took 0.025849 seconds and 5 git commands to generate.