AlsaAudio.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 
00022 #ifndef __ALSAAUDIO
00023 #define __ALSAAUDIO
00024 
00025 #include <Y2.h>
00026 #include <scr/SCRAgent.h>
00027 
00028 using std::string;
00029 using std::vector;
00030 using std::map;
00031 
00039 YCPBoolean alsaSetVolume(int card, const string& channel, int value);
00040 
00047 YCPValue alsaGetVolume(int card, const string& channel);
00048 
00056 YCPBoolean alsaSetMute(int card, const string& channel, bool value);
00057 YCPValue alsaGetMute(int card, const string& channel);
00058 
00065 YCPList alsaGetChannels(int card);
00066 
00071 YCPList alsaGetCards();
00072 
00077 YCPValue alsaGetCardName(int card_id);
00078 
00084 YCPValue alsaStore(int card=-1);
00085 
00091 YCPValue alsaRestore(int card=-1);
00092 
00093 #endif

Generated on Thu Jul 6 00:28:51 2006 for yast2-sound by  doxygen 1.4.6