summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorWu Fengguang2008-11-18 04:47:51 +0100
committerTakashi Iwai2008-11-18 07:38:51 +0100
commit33deeca3bb6a945677d70876ea9d044fc5797eb3 (patch)
treef66885f6f6122559cbb38de1bcced20a0007ef5d /sound/pci/hda/hda_local.h
parentALSA: hda: remove redundant get_amp_nid() (diff)
downloadkernel-qcow2-linux-33deeca3bb6a945677d70876ea9d044fc5797eb3.tar.gz
kernel-qcow2-linux-33deeca3bb6a945677d70876ea9d044fc5797eb3.tar.xz
kernel-qcow2-linux-33deeca3bb6a945677d70876ea9d044fc5797eb3.zip
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 aac569b05599..d7e3a164effe 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
*/