Lines Matching refs:ToneGenerator
29 class ToneGenerator {
33 // This enum must be kept consistant with constants in ToneGenerator JAVA class
155 ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava = false);
156 ~ToneGenerator();
163 // returns the audio session this ToneGenerator belongs to or 0 if an error occured.
169 TONE_IDLE, // ToneGenerator is being initialized or initialization failed
170 TONE_INIT, // ToneGenerator has been successfully initialized and is not playing
171 TONE_STARTING, // ToneGenerator is starting playing
172 TONE_PLAYING, // ToneGenerator is playing
173 TONE_STOPPING, // ToneGenerator is stoping
174 TONE_STOPPED, // ToneGenerator is stopped: the AudioTrack will be stopped
263 volatile unsigned short mState; // ToneGenerator state (tone_state)
272 Mutex mLock; // Mutex to control concurent access to ToneGenerator object from audio callback and application API