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

Commit 09e1ef28 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Use audio_policy_output_flags_t consistently

Change-Id: I425cfd442257560dcf141d3d8599ddc7d21c1d13
parent 8162c1a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -537,7 +537,7 @@ status_t VideoEditorAudioPlayer::start(bool sourceAlreadyStarted) {
                (numChannels == 2)
                    ? AUDIO_CHANNEL_OUT_STEREO
                    : AUDIO_CHANNEL_OUT_MONO,
                0, 0, &AudioCallback, this, 0);
                0, AUDIO_POLICY_OUTPUT_FLAG_NONE, &AudioCallback, this, 0);

        if ((err = mAudioTrack->initCheck()) != OK) {
            delete mAudioTrack;
+1 −1
Original line number Diff line number Diff line
@@ -435,7 +435,7 @@ status_t VideoEditorPlayer::VeAudioOutput::open(
                format,
                channelMask,
                frameCount,
                0 /* flags */,
                AUDIO_POLICY_OUTPUT_FLAG_NONE,
                CallbackWrapper,
                this);
    } else {