summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorWu Fengguang <wfg@linux.intel.com>2008-11-18 11:47:51 +0800
committerTakashi Iwai <tiwai@suse.de>2008-11-18 07:38:51 +0100
commit33deeca3bb6a945677d70876ea9d044fc5797eb3 (patch)
treef66885f6f6122559cbb38de1bcced20a0007ef5d /sound/pci/hda/hda_local.h
parent2eca83ba9cc6f811f8c63314b22b4bc0532e2207 (diff)
ALSA: introduce snd_print_pcm_rates()
We want to share some code with print_pcm_rates(), so extract a common routine snd_print_pcm_rates() from it. Signed-off-by: Wu Fengguang <wfg@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index aac569b0559..d7e3a164eff 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -284,6 +284,9 @@ int snd_hda_codec_proc_new(struct hda_codec *codec);
static inline int snd_hda_codec_proc_new(struct hda_codec *codec) { return 0; }
#endif
+#define SND_PRINT_RATES_ADVISED_BUFSIZE 80
+void snd_print_pcm_rates(int pcm, char *buf, int buflen);
+
/*
* Misc
*/