yast2-sound
|
00001 // -*- c++ -*- 00002 00022 #ifndef __ALSAAUDIO 00023 #define __ALSAAUDIO 00024 00025 #include <YCP.h> 00026 00027 using std::string; 00028 using std::vector; 00029 using std::map; 00030 00038 YCPBoolean alsaSetVolume(int card, const string& channel_name, int value); 00039 00046 YCPValue alsaGetVolume(int card, const string& channel_name); 00047 00055 YCPBoolean alsaSetMute(int card, const string& channel_name, bool value); 00056 YCPValue alsaGetMute(int card, const string& channel_name); 00057 00064 YCPList alsaGetChannels(int card); 00065 00070 YCPList alsaGetCards(); 00071 00076 YCPValue alsaGetCardName(int card_id); 00077 00083 YCPValue alsaStore(int card=-1); 00084 00090 YCPValue alsaRestore(int card=-1); 00091 00092 #endif