paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Macros | Variables
oss_mix.c File Reference

The OSS mixer plugin. More...

#include <sys/soundcard.h>
#include <sys/ioctl.h>
#include <regex.h>
#include "para.h"
#include "error.h"
#include "mix.h"
#include "fd.h"
#include "string.h"

Macros

#define FOR_EACH_CHANNEL(i)   for ((i) = 0; (i) < ARRAY_SIZE(channels); (i)++)
 Iterate over all defined mixer channels. More...
 

Variables

const struct mixer oss_mixer
 The mixer operations for the OSS mixer. More...
 

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.