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