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

/frameworks/av/media/libmedia/
H A DSoundPoolThread.h28 class SoundPoolMsg { class in namespace:android
31 SoundPoolMsg() : mMessageType(INVALID), mData(0) {} function in class:android::SoundPoolMsg
32 SoundPoolMsg(MessageType MessageType, int data) : function in class:android::SoundPoolMsg
47 void write(SoundPoolMsg msg);
55 const SoundPoolMsg read();
59 Vector<SoundPoolMsg> mMsgQueue;
H A DSoundPoolThread.cpp25 void SoundPoolThread::write(SoundPoolMsg msg) {
38 const SoundPoolMsg SoundPoolThread::read() {
43 SoundPoolMsg msg = mMsgQueue[0];
54 mMsgQueue.push(SoundPoolMsg(SoundPoolMsg::KILL, 0));
84 SoundPoolMsg msg = read();
87 case SoundPoolMsg::KILL:
90 case SoundPoolMsg::LOAD_SAMPLE:
102 write(SoundPoolMsg(SoundPoolMsg
[all...]

Completed in 51 milliseconds