mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 15:03:37 +00:00
Priority given to the transcoding mode. If set to "Direct play" the bitrate of the file will not be changed
This commit is contained in:
@@ -137,6 +137,10 @@ public class MusicUtil {
|
||||
}
|
||||
|
||||
private static String getBitratePreference(Context context, int connectionType) {
|
||||
String audioTranscodeFormat = getTranscodingFormatPreference(context, connectionType);
|
||||
|
||||
if(audioTranscodeFormat.equals("0")) return "0";
|
||||
|
||||
switch (connectionType) {
|
||||
case ConnectivityManager.TYPE_WIFI:
|
||||
return PreferenceUtil.getInstance(context).getMaxBitrateWifi();
|
||||
|
||||
Reference in New Issue
Block a user