aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-09-09 09:05:33 -0400
committerJaroslav Kysela <perex@suse.cz>2005-09-12 04:48:30 -0400
commit1b44c28dc180f4d0ea109e1fe4339b3403c2d530 (patch)
treee3e9637b0992224174a4a88c3bbd7b882993168a /include
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')
-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);
903int snd_pcm_format_linear(snd_pcm_format_t format); 903int snd_pcm_format_linear(snd_pcm_format_t format);
904int snd_pcm_format_little_endian(snd_pcm_format_t format); 904int snd_pcm_format_little_endian(snd_pcm_format_t format);
905int snd_pcm_format_big_endian(snd_pcm_format_t format); 905int snd_pcm_format_big_endian(snd_pcm_format_t format);
906/* 906#if 0 /* just for DocBook */
907/**
907 * snd_pcm_format_cpu_endian - Check the PCM format is CPU-endian 908 * snd_pcm_format_cpu_endian - Check the PCM format is CPU-endian
908 * @format: the format to check 909 * @format: the format to check
909 * 910 *
@@ -911,6 +912,7 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format);
911 * opposite, or a negative error code if endian not specified. 912 * opposite, or a negative error code if endian not specified.
912 */ 913 */
913int snd_pcm_format_cpu_endian(snd_pcm_format_t format); 914int snd_pcm_format_cpu_endian(snd_pcm_format_t format);
915#endif /* DocBook */
914#ifdef SNDRV_LITTLE_ENDIAN 916#ifdef SNDRV_LITTLE_ENDIAN
915#define snd_pcm_format_cpu_endian(format) snd_pcm_format_little_endian(format) 917#define snd_pcm_format_cpu_endian(format) snd_pcm_format_little_endian(format)
916#else 918#else