]> git.alsa-project.org Git - alsa-lib.git/commitdiff
removed comma from last element of enums.
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2002 11:36:20 +0000 (11:36 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2002 11:36:20 +0000 (11:36 +0000)
include/conf.h
include/control.h
include/hwdep.h
include/input.h
include/mixer.h
include/output.h
include/pcm.h
include/rawmidi.h
include/seq.h
include/timer.h

index 2479eda9ad5be1835a7c31a66690c4cc23637c14..87ae3f7f43d180f819859b19d9c5b5c3847c0214 100644 (file)
@@ -54,7 +54,7 @@ typedef enum _snd_config_type {
         /** Pointer - runtime only - cannot be saved */
         SND_CONFIG_TYPE_POINTER,
        /** Compound */
-       SND_CONFIG_TYPE_COMPOUND = 1024,
+       SND_CONFIG_TYPE_COMPOUND = 1024
 } snd_config_type_t;
 
 /** Config node handle */
index f6810642cd343df66b09b19ab70173f06009f2e2..56214bb3236d86166d7b20454db061f86d2124f3 100644 (file)
@@ -81,7 +81,7 @@ typedef enum _snd_ctl_elem_type {
        SND_CTL_ELEM_TYPE_BYTES,
        /** IEC958 (S/PDIF) setting content */
        SND_CTL_ELEM_TYPE_IEC958,
-       SND_CTL_ELEM_TYPE_LAST = SND_CTL_ELEM_TYPE_IEC958,
+       SND_CTL_ELEM_TYPE_LAST = SND_CTL_ELEM_TYPE_IEC958
 } snd_ctl_elem_type_t;
 
 /** CTL related interface */
@@ -100,14 +100,14 @@ typedef enum _snd_ctl_elem_iface {
        SND_CTL_ELEM_IFACE_TIMER,
        /** Sequencer */
        SND_CTL_ELEM_IFACE_SEQUENCER,
-       SND_CTL_ELEM_IFACE_LAST = SND_CTL_ELEM_IFACE_SEQUENCER,
+       SND_CTL_ELEM_IFACE_LAST = SND_CTL_ELEM_IFACE_SEQUENCER
 } snd_ctl_elem_iface_t;
 
 /** Event class */
 typedef enum _snd_ctl_event_type {
        /** Elements related event */
        SND_CTL_EVENT_ELEM = 0,
-       SND_CTL_EVENT_LAST = SND_CTL_EVENT_ELEM,
+       SND_CTL_EVENT_LAST = SND_CTL_EVENT_ELEM
 }snd_ctl_event_type_t;
 
 /** Element has been removed (Warning: test this first and if set don't
index 31288b2e73bcb0bd94a2cdc66a68db0f2b35fbc2..7d08edd3a8c857864c41ba1dabeeb90c0d97e222 100644 (file)
@@ -53,7 +53,7 @@ typedef enum _snd_hwdep_iface {
        SND_HWDEP_IFACE_EMU10K1,        /**< EMU10K1 driver */
        SND_HWDEP_IFACE_YSS225,         /**< YSS225 driver */
        SND_HWDEP_IFACE_ICS2115,        /**< ICS2115 driver */
-       SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_ICS2115,  /**< last know hwdep interface */
+       SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_ICS2115  /**< last know hwdep interface */
 } snd_hwdep_iface_t;
 
 /** open for reading */
@@ -72,7 +72,7 @@ typedef enum _snd_hwdep_type {
        /** Shared memory client HwDep (not yet implemented) */
        SND_HWDEP_TYPE_SHM,
        /** INET client HwDep (not yet implemented) */
-       SND_HWDEP_TYPE_INET,
+       SND_HWDEP_TYPE_INET
 } snd_hwdep_type_t;
 
 /** HwDep handle */
index 7b759477ebd8a047430f1b6ae5710e2c167c1f8a..8d0c5cf803dfe346a16c1291898c694e0748e0c3 100644 (file)
@@ -46,7 +46,7 @@ typedef enum _snd_input_type {
        /** Input from a stdio stream */
        SND_INPUT_STDIO,
        /** Input from a memory buffer */
-       SND_INPUT_BUFFER,
+       SND_INPUT_BUFFER
 } snd_input_type_t;
 
 int snd_input_stdio_open(snd_input_t **inputp, const char *file, const char *mode);
index 797dfdce589eee6883ab0a8807601e2574fa413c..cebdb1230acd74705a9263c41ce3a43fd488bc14 100644 (file)
@@ -78,7 +78,7 @@ typedef int (*snd_mixer_compare_t)(const snd_mixer_elem_t *e1,
 typedef enum _snd_mixer_elem_type {
        /* Simple (legacy) mixer elements */
        SND_MIXER_ELEM_SIMPLE,
-       SND_MIXER_ELEM_LAST = SND_MIXER_ELEM_SIMPLE,
+       SND_MIXER_ELEM_LAST = SND_MIXER_ELEM_SIMPLE
 } snd_mixer_elem_type_t;
 
 int snd_mixer_open(snd_mixer_t **mixer, int mode);
index 365fae238e1088cd7f701ffb9b028700539832c9..4ca05345859ceee4144bfc03f11bbfb81df5a53b 100644 (file)
@@ -46,7 +46,7 @@ typedef enum _snd_output_type {
        /** Output to a stdio stream */
        SND_OUTPUT_STDIO,
        /** Output to a memory buffer */
-       SND_OUTPUT_BUFFER,
+       SND_OUTPUT_BUFFER
 } snd_output_type_t;
 
 int snd_output_stdio_open(snd_output_t **outputp, const char *file, const char *mode);
index a0d2a2650933b1bbfc5be7379d6a750ef9b47d6c..a87a4ad64dc2fdaaffff2562272b01daff38184f 100644 (file)
@@ -68,7 +68,7 @@ typedef enum _snd_pcm_class {
        SND_PCM_CLASS_MODEM,
        /** digitizer device */
        SND_PCM_CLASS_DIGITIZER,
-       SND_PCM_CLASS_LAST = SND_PCM_CLASS_DIGITIZER,
+       SND_PCM_CLASS_LAST = SND_PCM_CLASS_DIGITIZER
 } snd_pcm_class_t;
 
 /** PCM subclass */
@@ -77,7 +77,7 @@ typedef enum _snd_pcm_subclass {
        SND_PCM_SUBCLASS_GENERIC_MIX = 0,
        /** multichannel subdevices are mixed together */
        SND_PCM_SUBCLASS_MULTI_MIX,
-       SND_PCM_SUBCLASS_LAST = SND_PCM_SUBCLASS_MULTI_MIX,
+       SND_PCM_SUBCLASS_LAST = SND_PCM_SUBCLASS_MULTI_MIX
 } snd_pcm_subclass_t;
 
 /** PCM stream (direction) */
@@ -86,7 +86,7 @@ typedef enum _snd_pcm_stream {
        SND_PCM_STREAM_PLAYBACK = 0,
        /** Capture stream */
        SND_PCM_STREAM_CAPTURE,
-       SND_PCM_STREAM_LAST = SND_PCM_STREAM_CAPTURE,
+       SND_PCM_STREAM_LAST = SND_PCM_STREAM_CAPTURE
 } snd_pcm_stream_t;
 
 /** PCM access type */
@@ -101,7 +101,7 @@ typedef enum _snd_pcm_access {
        SND_PCM_ACCESS_RW_INTERLEAVED,
        /** snd_pcm_readn/snd_pcm_writen access */
        SND_PCM_ACCESS_RW_NONINTERLEAVED,
-       SND_PCM_ACCESS_LAST = SND_PCM_ACCESS_RW_NONINTERLEAVED,
+       SND_PCM_ACCESS_LAST = SND_PCM_ACCESS_RW_NONINTERLEAVED
 } snd_pcm_access_t;
 
 /** PCM sample format */
@@ -180,7 +180,7 @@ typedef enum _snd_pcm_format {
        /** Float 64 bit CPU endian */
        SND_PCM_FORMAT_FLOAT64 = SND_PCM_FORMAT_FLOAT64_LE,
        /** IEC-958 CPU Endian */
-       SND_PCM_FORMAT_IEC958_SUBFRAME = SND_PCM_FORMAT_IEC958_SUBFRAME_LE,
+       SND_PCM_FORMAT_IEC958_SUBFRAME = SND_PCM_FORMAT_IEC958_SUBFRAME_LE
 #elif __BYTE_ORDER == __BIG_ENDIAN
        /** Signed 16 bit CPU endian */
        SND_PCM_FORMAT_S16 = SND_PCM_FORMAT_S16_BE,
@@ -199,7 +199,7 @@ typedef enum _snd_pcm_format {
        /** Float 64 bit CPU endian */
        SND_PCM_FORMAT_FLOAT64 = SND_PCM_FORMAT_FLOAT64_BE,
        /** IEC-958 CPU Endian */
-       SND_PCM_FORMAT_IEC958_SUBFRAME = SND_PCM_FORMAT_IEC958_SUBFRAME_BE,
+       SND_PCM_FORMAT_IEC958_SUBFRAME = SND_PCM_FORMAT_IEC958_SUBFRAME_BE
 #else
 #error "Unknown endian"
 #endif
@@ -209,7 +209,7 @@ typedef enum _snd_pcm_format {
 typedef enum _snd_pcm_subformat {
        /** Standard */
        SND_PCM_SUBFORMAT_STD = 0,
-       SND_PCM_SUBFORMAT_LAST = SND_PCM_SUBFORMAT_STD,
+       SND_PCM_SUBFORMAT_LAST = SND_PCM_SUBFORMAT_STD
 } snd_pcm_subformat_t;
 
 /** PCM state */
@@ -230,7 +230,7 @@ typedef enum _snd_pcm_state {
        SND_PCM_STATE_PAUSED,
        /** Hardware is suspended */
        SND_PCM_STATE_SUSPENDED,
-       SND_PCM_STATE_LAST = SND_PCM_STATE_SUSPENDED,
+       SND_PCM_STATE_LAST = SND_PCM_STATE_SUSPENDED
 } snd_pcm_state_t;
 
 /** PCM start mode */
@@ -239,7 +239,7 @@ typedef enum _snd_pcm_start {
        SND_PCM_START_DATA = 0,
        /** Explicit start */
        SND_PCM_START_EXPLICIT,
-       SND_PCM_START_LAST = SND_PCM_START_EXPLICIT,
+       SND_PCM_START_LAST = SND_PCM_START_EXPLICIT
 } snd_pcm_start_t;
 
 /** PCM xrun mode */
@@ -248,7 +248,7 @@ typedef enum _snd_pcm_xrun {
        SND_PCM_XRUN_NONE = 0,
        /** Stop on xrun detection */
        SND_PCM_XRUN_STOP,
-       SND_PCM_XRUN_LAST = SND_PCM_XRUN_STOP,
+       SND_PCM_XRUN_LAST = SND_PCM_XRUN_STOP
 } snd_pcm_xrun_t;
 
 /** PCM timestamp mode */
@@ -257,7 +257,7 @@ typedef enum _snd_pcm_tstamp {
        SND_PCM_TSTAMP_NONE = 0,
        /** Update mmap'ed timestamp */
        SND_PCM_TSTAMP_MMAP,
-       SND_PCM_TSTAMP_LAST = SND_PCM_TSTAMP_MMAP,
+       SND_PCM_TSTAMP_LAST = SND_PCM_TSTAMP_MMAP
 } snd_pcm_tstamp_t;
 
 /** Unsigned frames quantity */
@@ -321,7 +321,7 @@ enum _snd_pcm_type {
        /** Linear Integer <-> Linear Float format conversion PCM */
        SND_PCM_TYPE_LINEAR_FLOAT,
        /** LADSPA integration plugin */
-       SND_PCM_TYPE_LADSPA,
+       SND_PCM_TYPE_LADSPA
 };
 
 /** PCM type */
@@ -855,7 +855,7 @@ typedef enum _snd_pcm_hook_type {
        SND_PCM_HOOK_TYPE_HW_PARAMS = 0,
        SND_PCM_HOOK_TYPE_HW_FREE,
        SND_PCM_HOOK_TYPE_CLOSE,
-       SND_PCM_HOOK_TYPE_LAST = SND_PCM_HOOK_TYPE_CLOSE,
+       SND_PCM_HOOK_TYPE_LAST = SND_PCM_HOOK_TYPE_CLOSE
 } snd_pcm_hook_type_t;
 
 /** PCM hook container */
index e7093b11fbace006a8c625a296c46693aaae1c83..36162241ed36598b5ebedd9d3a1bc0e4bd0d428e 100644 (file)
@@ -54,7 +54,7 @@ typedef enum _snd_rawmidi_stream {
        SND_RAWMIDI_STREAM_OUTPUT = 0,
        /** Input stream */
        SND_RAWMIDI_STREAM_INPUT,
-       SND_RAWMIDI_STREAM_LAST = SND_RAWMIDI_STREAM_INPUT,
+       SND_RAWMIDI_STREAM_LAST = SND_RAWMIDI_STREAM_INPUT
 } snd_rawmidi_stream_t;
 
 /** Append (flag to open mode) \hideinitializer */
@@ -74,7 +74,7 @@ typedef enum _snd_rawmidi_type {
        /** Shared memory client RawMidi (not yet implemented) */
        SND_RAWMIDI_TYPE_SHM,
        /** INET client RawMidi (not yet implemented) */
-       SND_RAWMIDI_TYPE_INET,
+       SND_RAWMIDI_TYPE_INET
 } snd_rawmidi_type_t;
 
 int snd_rawmidi_open(snd_rawmidi_t **in_rmidi, snd_rawmidi_t **out_rmidi,
index 934a2985c2fca7e196f57fc4cd8bfee3ca29acfa..1a56e76c557dde6a051e4ca944a92d049643c7c1 100644 (file)
@@ -68,7 +68,7 @@ do {\
 typedef enum _snd_seq_type {
        SND_SEQ_TYPE_HW,                /**< hardware */
        SND_SEQ_TYPE_SHM,               /**< shared memory (NYI) */
-       SND_SEQ_TYPE_INET,              /**< network (NYI) */
+       SND_SEQ_TYPE_INET               /**< network (NYI) */
 } snd_seq_type_t;
 
 /** special client (port) ids */
@@ -455,7 +455,7 @@ int snd_seq_set_queue_tempo(snd_seq_t *handle, int q, snd_seq_queue_tempo_t *tem
 typedef enum {
        SND_SEQ_TIMER_ALSA = 0,         /* ALSA timer */
        SND_SEQ_TIMER_MIDI_CLOCK = 1,   /* Midi Clock (CLOCK event) */
-       SND_SEQ_TIMER_MIDI_TICK = 2,    /* Midi Timer Tick (TICK event */
+       SND_SEQ_TIMER_MIDI_TICK = 2     /* Midi Timer Tick (TICK event */
 } snd_seq_queue_timer_type_t;
 
 size_t snd_seq_queue_timer_sizeof(void);
index a33ce317527dae91999c664c526f1891e6a5d3ff..4dc0acb30d87aae6d23d9eaeb61902189edf2cc3 100644 (file)
@@ -64,7 +64,7 @@ typedef enum _snd_timer_class {
        SND_TIMER_CLASS_GLOBAL,         /**< global timer */
        SND_TIMER_CLASS_CARD,           /**< card timer */
        SND_TIMER_CLASS_PCM,            /**< PCM timer */
-       SND_TIMER_CLASS_LAST = SND_TIMER_CLASS_PCM,     /**< last timer */
+       SND_TIMER_CLASS_LAST = SND_TIMER_CLASS_PCM      /**< last timer */
 } snd_timer_class_t;
 
 /** timer slave class */
@@ -73,7 +73,7 @@ typedef enum _snd_timer_slave_class {
        SND_TIMER_SCLASS_APPLICATION,           /**< for internal use */
        SND_TIMER_SCLASS_SEQUENCER,             /**< sequencer timer */
        SND_TIMER_SCLASS_OSS_SEQUENCER,         /**< OSS sequencer timer */
-       SND_TIMER_SCLASS_LAST = SND_TIMER_SCLASS_OSS_SEQUENCER, /**< last slave timer */
+       SND_TIMER_SCLASS_LAST = SND_TIMER_SCLASS_OSS_SEQUENCER  /**< last slave timer */
 } snd_timer_slave_class_t;
 
 /** global timer - system */
@@ -91,7 +91,7 @@ typedef enum _snd_timer_type {
        /** Shared memory client timer (not yet implemented) */
        SND_TIMER_TYPE_SHM,
        /** INET client timer (not yet implemented) */
-       SND_TIMER_TYPE_INET,
+       SND_TIMER_TYPE_INET
 } snd_timer_type_t;
 
 /** timer query handle */