mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-20 02:58:45 +00:00
Add Mi 9T Pro to the voice note sample rate special handling.
Fixes #14452
This commit is contained in:
committed by
jeffrey-signal
parent
5ea5279fbb
commit
37f67f9717
@@ -74,7 +74,7 @@ public class MediaRecorderWrapper implements Recorder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static int getSampleRate() {
|
private static int getSampleRate() {
|
||||||
if ("Xiaomi".equals(Build.MANUFACTURER) && "Mi 9T".equals(Build.MODEL)) {
|
if ("Xiaomi".equals(Build.MANUFACTURER) && ("Mi 9T".equals(Build.MODEL) || "Mi 9T Pro".equals(Build.MODEL))) {
|
||||||
// Recordings sound robotic with the standard sample rate.
|
// Recordings sound robotic with the standard sample rate.
|
||||||
return 44000;
|
return 44000;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user