diff options
author | Wu Fengguang <wfg@linux.intel.com> | 2008-11-17 22:47:51 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-18 01:38:51 -0500 |
commit | 33deeca3bb6a945677d70876ea9d044fc5797eb3 (patch) | |
tree | f66885f6f6122559cbb38de1bcced20a0007ef5d /sound/pci/hda/hda_local.h | |
parent | 2eca83ba9cc6f811f8c63314b22b4bc0532e2207 (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.h | 3 |
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); | |||
284 | static inline int snd_hda_codec_proc_new(struct hda_codec *codec) { return 0; } | 284 | static inline int snd_hda_codec_proc_new(struct hda_codec *codec) { return 0; } |
285 | #endif | 285 | #endif |
286 | 286 | ||
287 | #define SND_PRINT_RATES_ADVISED_BUFSIZE 80 | ||
288 | void snd_print_pcm_rates(int pcm, char *buf, int buflen); | ||
289 | |||
287 | /* | 290 | /* |
288 | * Misc | 291 | * Misc |
289 | */ | 292 | */ |