diff options
author | Pavel Hofman <pavel.hofman@ivitera.com> | 2009-09-16 22:25:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-09-21 15:48:00 +0200 |
commit | 1ff97cb9dd9f53b33ce6710a4f861f43e70e8ca4 (patch) | |
tree | b368fa7a43d062940e5fb29c31b609b16bc7bd9d /sound/pci/ice1712/ice1712.h | |
parent | ALSA: ice1724 - pro-rate-locking makes sense only for internal clock mode (diff) | |
download | linux-1ff97cb9dd9f53b33ce6710a4f861f43e70e8ca4.tar.xz linux-1ff97cb9dd9f53b33ce6710a4f861f43e70e8ca4.zip |
ALSA: ice1724 - Support for multiple external clock types
* Support for customization of the external clock names
* Adding hooks to playback_pro_open and capture_pro_open, allowing e.g.
limiting available stream rates to a single value when the external
clock rate is detected
Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/ice1712.h')
-rw-r--r-- | sound/pci/ice1712/ice1712.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/pci/ice1712/ice1712.h b/sound/pci/ice1712/ice1712.h index b31a59d0625c..4615bca39e18 100644 --- a/sound/pci/ice1712/ice1712.h +++ b/sound/pci/ice1712/ice1712.h @@ -379,8 +379,11 @@ struct snd_ice1712 { unsigned int (*get_rate)(struct snd_ice1712 *ice); void (*set_rate)(struct snd_ice1712 *ice, unsigned int rate); unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate); - void (*set_spdif_clock)(struct snd_ice1712 *ice); - + int (*set_spdif_clock)(struct snd_ice1712 *ice, int type); + int (*get_spdif_master_type)(struct snd_ice1712 *ice); + char **ext_clock_names; + int ext_clock_count; + void (*pro_open)(struct snd_ice1712 *, struct snd_pcm_substream *); #ifdef CONFIG_PM int (*pm_suspend)(struct snd_ice1712 *); int (*pm_resume)(struct snd_ice1712 *); |