|
yast2-sound
|
#include <YCP.h>Go to the source code of this file.
Functions | |
| YCPBoolean | ossSetVolume (const string card, const string channel, const int value) |
| YCPValue | ossGetVolume (const string card, const string channel) |
Variables | |
| char * | ossChannels [] |
| int | ossChannels_num |
| YCPValue ossGetVolume | ( | const string | card, |
| const string | channel | ||
| ) |
volume reading
| card | card id (default if empty) |
| channel | channel name (Master if empty) |
References ossDevice(), y2debug, y2warning, and YCPError().
Referenced by AudioAgent::Read().
| YCPBoolean ossSetVolume | ( | const string | card, |
| const string | channel, | ||
| const int | value | ||
| ) |
volume setting
| card | card id (default if empty) |
| channel | name eg. "Master" ("Master" if empty) |
| value | volume 0..100 |
References stereovolume::left, ossDevice(), stereovolume::right, y2error, and y2warning.
Referenced by AudioAgent::Write().
| char* ossChannels[] |
Referenced by AudioAgent::Dir().
| int ossChannels_num |
Referenced by AudioAgent::Dir().
1.8.2