Skip to content

Commit 965eea2

Browse files
authored
Merge pull request #12676 from thonsi/dev
2 parents 3a2d427 + 59dfdda commit 965eea2

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

app/src/main/java/org/schabi/newpipe/player/helper/AudioReactor.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ public void onAudioSessionIdChanged(@NonNull final EventTime eventTime,
154154
notifyAudioSessionUpdate(true, audioSessionId);
155155
}
156156
private void notifyAudioSessionUpdate(final boolean active, final int audioSessionId) {
157-
if (!PlayerHelper.isUsingDSP()) {
158-
return;
159-
}
160157
final Intent intent = new Intent(active
161158
? AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION
162159
: AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION);

app/src/main/java/org/schabi/newpipe/player/helper/PlayerHelper.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,6 @@ public static ExoTrackSelection.Factory getQualitySelector() {
296296
AdaptiveTrackSelection.DEFAULT_BANDWIDTH_FRACTION);
297297
}
298298

299-
public static boolean isUsingDSP() {
300-
return true;
301-
}
302-
303299
@NonNull
304300
public static CaptionStyleCompat getCaptionStyle(@NonNull final Context context) {
305301
final CaptioningManager captioningManager = ContextCompat.getSystemService(context,

0 commit comments

Comments
 (0)