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:
1 parent
5d5a0eb653
commit
93d6aafbcc
2 files changed
+22
-18
No files matched your search
@@ -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