diff options
author | Pavel Hofman <pavel.hofman@ivitera.com> | 2009-09-16 16:25:40 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-09-21 09:48:00 -0400 |
commit | 1ff97cb9dd9f53b33ce6710a4f861f43e70e8ca4 (patch) | |
tree | b368fa7a43d062940e5fb29c31b609b16bc7bd9d /sound/pci/ice1712/ice1712.h | |
parent | 6796d5a05f4d3caad17d2586b3e5776fda50ef82 (diff) |
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 { | |||
379 | unsigned int (*get_rate)(struct snd_ice1712 *ice); | 379 | unsigned int (*get_rate)(struct snd_ice1712 *ice); |
380 | void (*set_rate)(struct snd_ice1712 *ice, unsigned int rate); | 380 | void (*set_rate)(struct snd_ice1712 *ice, unsigned int rate); |
381 | unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate); | 381 | unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate); |
382 | void (*set_spdif_clock)(struct snd_ice1712 *ice); | 382 | int (*set_spdif_clock)(struct snd_ice1712 *ice, int type); |
383 | 383 | int (*get_spdif_master_type)(struct snd_ice1712 *ice); | |
384 | char **ext_clock_names; | ||
385 | int ext_clock_count; | ||
386 | void (*pro_open)(struct snd_ice1712 *, struct snd_pcm_substream *); | ||
384 | #ifdef CONFIG_PM | 387 | #ifdef CONFIG_PM |
385 | int (*pm_suspend)(struct snd_ice1712 *); | 388 | int (*pm_suspend)(struct snd_ice1712 *); |
386 | int (*pm_resume)(struct snd_ice1712 *); | 389 | int (*pm_resume)(struct snd_ice1712 *); |