aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2002-02-05 11:36:20 +0000
committerTakashi Iwai <tiwai@suse.de>2002-02-05 11:36:20 +0000
commit6ce9436b13b9a671e3453a0a6728ae8266d237c5 (patch)
treee59442b09da35d8b564e5c2d1ff81fcbf039e8a0
parent9dd7c93a56502387b108b3aa0892af2a68cb222b (diff)
removed comma from last element of enums.
-rw-r--r--include/conf.h2
-rw-r--r--include/control.h6
-rw-r--r--include/hwdep.h4
-rw-r--r--include/input.h2
-rw-r--r--include/mixer.h2
-rw-r--r--include/output.h2
-rw-r--r--include/pcm.h26
-rw-r--r--include/rawmidi.h4
-rw-r--r--include/seq.h4
-rw-r--r--include/timer.h6
10 files changed, 29 insertions, 29 deletions
diff --git a/include/conf.h b/include/conf.h
index 2479eda9..87ae3f7f 100644
--- a/include/conf.h
+++ b/include/conf.h
@@ -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 */
diff --git a/include/control.h b/include/control.h
index f6810642..56214bb3 100644
--- a/include/control.h
+++ b/include/control.h
@@ -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
diff --git a/include/hwdep.h b/include/hwdep.h
index 31288b2e..7d08edd3 100644
--- a/include/hwdep.h
+++ b/include/hwdep.h
@@ -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 */
diff --git a/include/input.h b/include/input.h
index 7b759477..8d0c5cf8 100644
--- a/include/input.h
+++ b/include/input.h
@@ -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);
diff --git a/include/mixer.h b/include/mixer.h
index 797dfdce..cebdb123 100644
--- a/include/mixer.h
+++ b/include/mixer.h
@@ -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);
diff --git a/include/output.h b/include/output.h
index 365fae23..4ca05345 100644
--- a/include/output.h
+++ b/include/output.h
@@ -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);
diff --git a/include/pcm.h b/include/pcm.h
index a0d2a265..a87a4ad6 100644
--- a/include/pcm.h
+++ b/include/pcm.h
@@ -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 */
diff --git a/include/rawmidi.h b/include/rawmidi.h
index e7093b11..36162241 100644
--- a/include/rawmidi.h
+++ b/include/rawmidi.h
@@ -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,
diff --git a/include/seq.h b/include/seq.h
index 934a2985..1a56e76c 100644
--- a/include/seq.h
+++ b/include/seq.h
@@ -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);
diff --git a/include/timer.h b/include/timer.h
index a33ce317..4dc0acb3 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -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 */