mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 13:26:45 +07:00
9203dd016a
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>
10 lines
183 B
C
10 lines
183 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);
|
|
|
|
#endif
|