HomeSort by relevance Sort by last modified time
    Searched refs:SoundPoolMsg (Results 1 - 2 of 2) sorted by null

  /frameworks/base/media/jni/soundpool/
SoundPoolThread.h 28 class SoundPoolMsg {
31 SoundPoolMsg() : mMessageType(INVALID), mData(0) {}
32 SoundPoolMsg(MessageType MessageType, int data) :
47 void write(SoundPoolMsg msg);
55 const SoundPoolMsg read();
59 Vector<SoundPoolMsg> mMsgQueue;
SoundPoolThread.cpp 25 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::LOAD_SAMPLE, sampleID))
    [all...]

Completed in 51 milliseconds