Searched refs:SoundPoolMsg (Results 1 – 2 of 2) sorted by relevance
25 void SoundPoolThread::write(SoundPoolMsg msg) { in write()38 const SoundPoolMsg SoundPoolThread::read() { in read()43 SoundPoolMsg msg = mMsgQueue[0]; in read()54 mMsgQueue.push(SoundPoolMsg(SoundPoolMsg::KILL, 0)); in quit()84 SoundPoolMsg msg = read(); in run()87 case SoundPoolMsg::KILL: in run()90 case SoundPoolMsg::LOAD_SAMPLE: in run()102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID)); in loadSample()
28 class SoundPoolMsg {31 SoundPoolMsg() : mMessageType(INVALID), mData(0) {} in SoundPoolMsg() function32 SoundPoolMsg(MessageType MessageType, int data) : in SoundPoolMsg() function47 void write(SoundPoolMsg msg);55 const SoundPoolMsg read();59 Vector<SoundPoolMsg> mMsgQueue;