mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 01:56:45 +07:00
4a4436573a
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>
12 lines
293 B
C
12 lines
293 B
C
#ifndef __SOUND_PCM_IEC958_H
|
|
#define __SOUND_PCM_IEC958_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
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
|