yast2-sound
AlsaAudio.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 
20 #ifndef __ALSAAUDIO
21 #define __ALSAAUDIO
22 
23 #include <YCP.h>
24 
25 using std::string;
26 using std::vector;
27 using std::map;
28 
36 YCPBoolean alsaSetVolume(int card, const string& channel_name, int value);
37 
44 YCPValue alsaGetVolume(int card, const string& channel_name);
45 
53 YCPBoolean alsaSetMute(int card, const string& channel_name, bool value);
54 YCPValue alsaGetMute(int card, const string& channel_name);
55 
62 YCPList alsaGetChannels(int card);
63 
69 
74 YCPValue alsaGetCardName(int card_id);
75 
81 YCPValue alsaStore(int card=-1);
82 
88 YCPValue alsaRestore(int card=-1);
89 
90 #endif
YCPBoolean alsaSetMute(int card_id, const string &channel_name, bool value)
Definition: AlsaAudio.cc:224
YCPValue alsaGetMute(int card_id, const string &channel_name)
Definition: AlsaAudio.cc:123
YCPValue alsaRestore(int card)
Definition: AlsaAudio.cc:337
YCPList alsaGetCards()
Definition: AlsaAudio.cc:299
YCPList alsaGetChannels(int card_id)
Definition: AlsaAudio.cc:266
YCPBoolean alsaSetVolume(int card_id, const string &channel_name, int value)
Definition: AlsaAudio.cc:175
YCPValue alsaGetVolume(int card_id, const string &channel_name)
Definition: AlsaAudio.cc:59
YCPValue alsaStore(int card)
Definition: AlsaAudio.cc:315
YCPValue alsaGetCardName(int card_id)
Definition: AlsaAudio.cc:359

Generated on a sunny day for yast2-sound by doxygen 1.8.5