Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b06a68b9 authored by Steve Howard's avatar Steve Howard Committed by Android (Google) Code Review
Browse files

Merge "Add a name to the previously-unnamed thread created by SoundPoolThread."

parents fc2ece4a 09468dbb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ void SoundPool::quit()

bool SoundPool::startThreads()
{
    createThreadEtc(beginThread, this, "SoundPoolThread");
    createThreadEtc(beginThread, this, "SoundPool");
    if (mDecodeThread == NULL)
        mDecodeThread = new SoundPoolThread(this);
    return mDecodeThread != NULL;
@@ -827,4 +827,3 @@ void SoundEvent::set(const sp<Sample>& sample, int channelID, float leftVolume,
}

} // end namespace android
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ SoundPoolThread::SoundPoolThread(SoundPool* soundPool) :
    mSoundPool(soundPool)
{
    mMsgQueue.setCapacity(maxMessages);
    if (createThread(beginThread, this)) {
    if (createThreadEtc(beginThread, this, "SoundPoolThread")) {
        mRunning = true;
    }
}