41 #ifndef YOCTO_AUDIOIN_H 42 #define YOCTO_AUDIOIN_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 YAudioIn* FindAudioIn(
string func);
260 {
return this->nextAudioIn();}
271 static YAudioIn* FirstAudioIn(
void);
YAudioIn * yFirstAudioIn(void)
YAudioInValueCallback _valueCallbackAudioIn
int setVolume(int newval)
static YAudioIn * FirstAudioIn(void)
#define YAPI_INVALID_UINT
virtual int _parseAttr(YJSONObject *json_val)
static YAudioIn * FindAudioIn(string func)
void(* YAudioInValueCallback)(YAudioIn *func, const string &functionValue)
int setMute(Y_MUTE_enum newval)
static const string VOLUMERANGE_INVALID
YAudioIn * yFindAudioIn(const string &func)
virtual int registerValueCallback(YFunctionValueCallback callback)
#define YOCTO_CLASS_EXPORT
static YAudioIn * Find(string func)
static YAudioIn * First(void)
virtual int _invokeValueCallback(string value)