Loading services/audioflinger/AudioFlinger.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -3243,7 +3243,7 @@ AudioFlinger::ThreadBase::TrackBase::TrackBase( } } else { mCblk = (audio_track_cblk_t *)(new uint8_t[size]); if (mCblk) { // construct the shared structure in-place. // construct the shared structure in-place. new(mCblk) audio_track_cblk_t(); // clear all buffers mCblk->frameCount = frameCount; Loading @@ -3258,7 +3258,6 @@ AudioFlinger::ThreadBase::TrackBase::TrackBase( mBufferEnd = (uint8_t *)mBuffer + bufferSize; } } } AudioFlinger::ThreadBase::TrackBase::~TrackBase() { Loading Loading
services/audioflinger/AudioFlinger.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -3243,7 +3243,7 @@ AudioFlinger::ThreadBase::TrackBase::TrackBase( } } else { mCblk = (audio_track_cblk_t *)(new uint8_t[size]); if (mCblk) { // construct the shared structure in-place. // construct the shared structure in-place. new(mCblk) audio_track_cblk_t(); // clear all buffers mCblk->frameCount = frameCount; Loading @@ -3258,7 +3258,6 @@ AudioFlinger::ThreadBase::TrackBase::TrackBase( mBufferEnd = (uint8_t *)mBuffer + bufferSize; } } } AudioFlinger::ThreadBase::TrackBase::~TrackBase() { Loading