41 #ifndef YOCTO_AUDIOOUT_H 42 #define YOCTO_AUDIOOUT_H 63 #define Y_VOLUME_INVALID (YAPI_INVALID_UINT) 64 #define Y_VOLUMERANGE_INVALID (YAPI_INVALID_STRING) 65 #define Y_SIGNAL_INVALID (YAPI_INVALID_INT) 66 #define Y_NOSIGNALFOR_INVALID (YAPI_INVALID_INT) 77 #pragma option push -w-8022 119 int get_volume(
void);
122 {
return this->get_volume(); }
133 int set_volume(
int newval);
135 {
return this->set_volume(newval); }
147 {
return this->get_mute(); }
161 {
return this->set_mute(newval); }
173 string get_volumeRange(
void);
176 {
return this->get_volumeRange(); }
185 int get_signal(
void);
188 {
return this->get_signal(); }
197 int get_noSignalFor(
void);
200 {
return this->get_noSignalFor(); }
229 static YAudioOut* FindAudioOut(
string func);
260 {
return this->nextAudioOut();}
YAudioOut * yFindAudioOut(const string &func)
int setMute(Y_MUTE_enum newval)
#define YAPI_INVALID_UINT
YAudioOutValueCallback _valueCallbackAudioOut
virtual int _parseAttr(YJSONObject *json_val)
static const string VOLUMERANGE_INVALID
YAudioOut * yFirstAudioOut(void)
static YAudioOut * First(void)
int setVolume(int newval)
virtual int registerValueCallback(YFunctionValueCallback callback)
static YAudioOut * FirstAudioOut(void)
#define YOCTO_CLASS_EXPORT
static YAudioOut * Find(string func)
static YAudioOut * FindAudioOut(string func)
void(* YAudioOutValueCallback)(YAudioOut *func, const string &functionValue)
virtual int _invokeValueCallback(string value)