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

Commit b0dfd461 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix type error in AudioTrack::processAudioBuffer

It returned a bool instead of nsecs_t

Change-Id: If0c096dac411afc0a4142ec1e59c1fdd36d4867c
parent 551ababe
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1238,7 +1238,8 @@ nsecs_t AudioTrack::processAudioBuffer(const sp<AudioTrackThread>& thread)
        if (tryCounter < 0) {
        if (tryCounter < 0) {
            ALOGE("did not receive expected priority boost on time");
            ALOGE("did not receive expected priority boost on time");
        }
        }
        return true;
        // Run again immediately
        return 0;
    }
    }


    // Can only reference mCblk while locked
    // Can only reference mCblk while locked