diff options
author | Wu Fengguang <wfg@linux.intel.com> | 2008-11-19 00:56:16 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-19 06:35:28 (GMT) |
commit | 903b21d8b7bb49d3438abdd7b9d4145511e1cba2 (patch) | |
tree | 5b2815ba603a942f44d93fec47186d581c312ad2 /sound/pci/hda/hda_local.h | |
parent | 5457a98039cebf20b564b5c3d73a50615e2b2696 (diff) | |
download | linux-fsl-qoriq-903b21d8b7bb49d3438abdd7b9d4145511e1cba2.tar.xz |
ALSA: hda: make global snd_print_channel_allocation()
code refactor: make a global function snd_print_channel_allocation().
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 02ac732..0baa9b8 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -493,4 +493,7 @@ inline int snd_hda_eld_proc_new(struct hda_codec *codec, struct sink_eld *eld) } #endif +#define SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE 80 +void snd_print_channel_allocation(int spk_alloc, char *buf, int buflen); + #endif /* __SOUND_HDA_LOCAL_H */ |