Hi, I had some succes with inline c reading and writing the gain.
... but don't know, if or how I can put the content 'GAIN_TWO' into a string. Do I need to write an inline for every gain, or can I call ads_gain_set with different strings? Should be something like "(o->toString())" ?
thanks
Code:
void ads_gain_get (B4R::Object* o) {
b4r_main::_ads_gain = (int)ads.getGain();
}
void ads_gain_set (B4R::Object* o) {
ads.setGain(GAIN_TWO);
}
... but don't know, if or how I can put the content 'GAIN_TWO' into a string. Do I need to write an inline for every gain, or can I call ads_gain_set with different strings? Should be something like "(o->toString())" ?
thanks
Last edited: