summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-09-08 14:26:51 +0200
committerTakashi Iwai <tiwai@suse.de>2009-09-08 14:26:51 +0200
commit6e5265ec34d3b9578973841ddec8b925e986136a (patch)
tree3e11210c9bea96c0299b2a03d7efafc84f21194e /include/sound
parentALSA: dummy - Fake buffer allocations (diff)
downloadlinux-6e5265ec34d3b9578973841ddec8b925e986136a.tar.xz
linux-6e5265ec34d3b9578973841ddec8b925e986136a.zip
ALSA: Re-export snd_pcm_format_name() function
Re-export snd_pcm_format_name() function to be used outside the PCM core. As a first example, usbaudio is changed to use it now again. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/pcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 23893523dc8c..4d5b2407514e 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -965,4 +965,6 @@ static inline void snd_pcm_limit_isa_dma_size(int dma, size_t *max)
#define PCM_RUNTIME_CHECK(sub) snd_BUG_ON(!(sub) || !(sub)->runtime)
+const char *snd_pcm_format_name(snd_pcm_format_t format);
+
#endif /* __SOUND_PCM_H */