aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/pcm_iec958.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-04-06ALSA: pcm: add IEC958 channel status helper for hw_paramsJyri Sarha1-0/+2
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>
2015-05-22ALSA: pcm: add IEC958 channel status helperRussell King1-0/+9
Add a helper to create the IEC958 channel status from an ALSA snd_pcm_runtime structure, taking account of the sample rate and sample size. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Reviwed-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>