paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Macros | Variables
oss_mix.c File Reference

Macros

#define FOR_EACH_CHANNEL(i)   for ((i) = 0; (i) < ARRAY_SIZE(channels); (i)++)
 

Variables

const struct mixer oss_mixer
 

Detailed Description

The OSS mixer plugin.

Macro Definition Documentation

◆ FOR_EACH_CHANNEL

#define FOR_EACH_CHANNEL (   i)    for ((i) = 0; (i) < ARRAY_SIZE(channels); (i)++)

Iterate over all defined mixer channels.

Variable Documentation

◆ oss_mixer

const struct mixer oss_mixer
Initial value:
= {
.name = "oss",
.open = oss_mix_open,
.get_channels = oss_mix_get_channels,
.set_channel = oss_mix_set_channel,
.close = oss_mix_close,
.get = oss_mix_get,
.set = oss_mix_set
}

The mixer operations for the OSS mixer.

Declared even if unsupported because it does not hurt and avoids ifdefs.