SND_CTL_TYPE_INET
} snd_ctl_type_t;
-/** Non blocking mode \hideinitializer */
+/** Non blocking mode (flag for open mode) \hideinitializer */
#define SND_CTL_NONBLOCK 0x0001
-/** Async notification \hideinitializer */
+/** Async notification (flag for open mode) \hideinitializer */
#define SND_CTL_ASYNC 0x0002
/** CTL handle */
#define SND_HWDEP_OPEN_WRITE (O_WRONLY)
/** open for reading and writing */
#define SND_HWDEP_OPEN_DUPLEX (O_RDWR)
-/** flag: open in nonblock mode */
+/** open mode flag: open in nonblock mode */
#define SND_HWDEP_OPEN_NONBLOCK (O_NONBLOCK)
/** HwDep handle type */
/** Timestamp */
typedef struct timeval snd_timestamp_t;
-/** Non blocking mode \hideinitializer */
+/** Non blocking mode (flag for open mode) \hideinitializer */
#define SND_PCM_NONBLOCK 0x0001
-/** Async notification \hideinitializer */
+/** Async notification (flag for open mode) \hideinitializer */
#define SND_PCM_ASYNC 0x0002
/** PCM handle */
SND_RAWMIDI_STREAM_LAST = SND_RAWMIDI_STREAM_INPUT,
} snd_rawmidi_stream_t;
-/** Append \hideinitializer */
-#define SND_RAWMIDI_APPEND 1
-/** Non blocking mode \hideinitializer */
-#define SND_RAWMIDI_NONBLOCK 2
-/** Write sync mode \hideinitializer */
-#define SND_RAWMIDI_SYNC 4
+/** Append (flag to open mode) \hideinitializer */
+#define SND_RAWMIDI_APPEND 0x0001
+/** Non blocking mode (flag to open mode) \hideinitializer */
+#define SND_RAWMIDI_NONBLOCK 0x0002
+/** Write sync mode (Flag to open mode) \hideinitializer */
+#define SND_RAWMIDI_SYNC 0x0004
/** RawMidi handle */
typedef struct _snd_rawmidi snd_rawmidi_t;
/**
* sequencer opening mode
*/
-#define SND_SEQ_NONBLOCK 1 /**< non-blocking mode */
+#define SND_SEQ_NONBLOCK 0x0001 /**< non-blocking mode (flag to open mode) */
/** sequencer handle type */
typedef enum _snd_seq_type {
/** global timer - RTC */
#define SND_TIMER_GLOBAL_RTC 1
-/** timer open mode flag - nonblock */
-#define SND_TIMER_OPEN_NONBLOCK 1
+/** timer open mode flag - nonblocking behaviour */
+#define SND_TIMER_OPEN_NONBLOCK 0x0001
/** timer handle type */
typedef enum _snd_timer_type {