|
yast2-sound
|
#include <unistd.h>#include <errno.h>#include <fcntl.h>#include <sys/ioctl.h>#include <linux/soundcard.h>#include <y2util/y2log.h>#include "OSSAudio.h"Classes | |
| struct | stereovolume |
Functions | |
| int | ossDevice (const string channel) |
| YCPBoolean | ossSetVolume (const string card, const string channel, const int value) |
| YCPValue | ossGetVolume (const string card, const string channel) |
Variables | |
| const char * | ossChannels [] = SOUND_DEVICE_LABELS |
| int | ossChannels_num = SOUND_MIXER_NRDEVICES |
| int ossDevice | ( | const string | channel | ) |
convert channel string to oss device number FIXME: use ossChannels for convertion [make a map in constructor -> search]
Referenced by ossGetVolume(), and ossSetVolume().
| YCPValue ossGetVolume | ( | const string | card, |
| const string | channel | ||
| ) |
References ossDevice(), y2debug, y2warning, and YCPError().
Referenced by AudioAgent::Read().
| YCPBoolean ossSetVolume | ( | const string | card, |
| const string | channel, | ||
| const int | value | ||
| ) |
References stereovolume::left, ossDevice(), stereovolume::right, y2error, and y2warning.
Referenced by AudioAgent::Write().
| const char* ossChannels[] = SOUND_DEVICE_LABELS |
Referenced by AudioAgent::Dir().
| int ossChannels_num = SOUND_MIXER_NRDEVICES |
Referenced by AudioAgent::Dir().
1.8.5