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

Commit caa77efe authored by Ray Essick's avatar Ray Essick
Browse files

Mark WAV extractor for single buffers

Change WAV extractor so it doesn't try to generate multiple buffers
to return more per readMultiple() transaction. Working around an
apparent buffer management problem when trying to do more than 1 buffer.

Bug: 128249893
Test: play wav file before/after
parent e6e98e77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ struct WAVSource : public MediaTrackHelper {
    virtual media_status_t read(
            MediaBufferHelper **buffer, const ReadOptions *options = NULL);

    bool supportsNonBlockingRead() override { return true; }
    bool supportsNonBlockingRead() override { return false; }

protected:
    virtual ~WAVSource();