aboutsummaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai2005-09-09 15:05:33 +0200
committerJaroslav Kysela2005-09-12 10:48:30 +0200
commit1b44c28dc180f4d0ea109e1fe4339b3403c2d530 (patch)
treee3e9637b0992224174a4a88c3bbd7b882993168a /include/sound
parent561b220a4dece18d67177413e6fa21b49aa4acce (diff)
[ALSA] Another fix for DocBook
PCM Midlevel Revive snd_pcm_format_cpu_endian() document. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/pcm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 7a7f7287288c..2b23a5967071 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -903,7 +903,8 @@ int snd_pcm_format_unsigned(snd_pcm_format_t format);
int snd_pcm_format_linear(snd_pcm_format_t format);
int snd_pcm_format_little_endian(snd_pcm_format_t format);
int snd_pcm_format_big_endian(snd_pcm_format_t format);
-/*
+#if 0 /* just for DocBook */
+/**
* snd_pcm_format_cpu_endian - Check the PCM format is CPU-endian
* @format: the format to check
*
@@ -911,6 +912,7 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format);
* opposite, or a negative error code if endian not specified.
*/
int snd_pcm_format_cpu_endian(snd_pcm_format_t format);
+#endif /* DocBook */
#ifdef SNDRV_LITTLE_ENDIAN
#define snd_pcm_format_cpu_endian(format) snd_pcm_format_little_endian(format)
#else