#include <AudioAgent.h>
Public Member Functions | |
AudioAgent () | |
virtual | ~AudioAgent () |
virtual YCPValue | Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull()) |
virtual YCPBoolean | Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull()) |
virtual YCPList | Dir (const YCPPath &path) |
virtual YCPValue | Execute (const YCPPath &path, const YCPValue &value=YCPNull(), const YCPValue &arg=YCPNull()) |
virtual YCPValue | otherCommand (const YCPTerm &term) |
AudioAgent::AudioAgent | ( | ) |
AudioAgent::~AudioAgent | ( | ) | [virtual] |
~AudioAgent
Dir
Implements SCRAgent.
References YCPList::add(), alsaGetCards(), alsaGetChannels(), ossChannels, ossChannels_num, YCPList::push_back(), y2debug, and y2error.
Referenced by Read().
YCPValue AudioAgent::Execute | ( | const YCPPath & | path, | |
const YCPValue & | value = YCPNull() , |
|||
const YCPValue & | arg = YCPNull() | |||
) | [virtual] |
Reimplemented from SCRAgent.
References alsaRestore(), and alsaStore().
YCPValue AudioAgent::Read | ( | const YCPPath & | path, | |
const YCPValue & | arg = YCPNull() , |
|||
const YCPValue & | opt = YCPNull() | |||
) | [virtual] |
Read
Implements SCRAgent.
References alsaGetCardName(), alsaGetMute(), alsaGetVolume(), Dir(), ossGetVolume(), y2debug, and YCPError().
YCPBoolean AudioAgent::Write | ( | const YCPPath & | path, | |
const YCPValue & | value, | |||
const YCPValue & | arg = YCPNull() | |||
) | [virtual] |
Write
Implements SCRAgent.
References alsaSetMute(), alsaSetVolume(), ossSetVolume(), y2debug, and y2error.