diff options
author | Jyri Sarha <jsarha@ti.com> | 2016-03-31 16:35:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-06 11:47:48 -0700 |
commit | 4a4436573a6669516f73bac25016683d396ed4c4 (patch) | |
tree | a776d721808873a645baba6f25a0f973c7995c24 /include | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/pcm_iec958.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/pcm_iec958.h b/include/sound/pcm_iec958.h index 0eed397aca8e..36f023acb201 100644 --- a/include/sound/pcm_iec958.h +++ b/include/sound/pcm_iec958.h @@ -6,4 +6,6 @@ int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs, size_t len); +int snd_pcm_create_iec958_consumer_hw_params(struct snd_pcm_hw_params *params, + u8 *cs, size_t len); #endif |