Home
last modified time | relevance | path

Searched refs:SoundPoolMsg (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/soundpool/
DSoundPoolThread.cpp25 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()
DSoundPoolThread.h28 class SoundPoolMsg {
31 SoundPoolMsg() : mMessageType(INVALID), mData(0) {} in SoundPoolMsg() function
32 SoundPoolMsg(MessageType MessageType, int data) : in SoundPoolMsg() function
47 void write(SoundPoolMsg msg);
55 const SoundPoolMsg read();
59 Vector<SoundPoolMsg> mMsgQueue;