diff options
| -rw-r--r-- | media/java/android/media/AudioRecord.java | 2 | ||||
| -rw-r--r-- | media/java/android/media/AudioTrack.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/media/java/android/media/AudioRecord.java b/media/java/android/media/AudioRecord.java index 2346abec81e9..201a7962db0e 100644 --- a/media/java/android/media/AudioRecord.java +++ b/media/java/android/media/AudioRecord.java @@ -59,7 +59,7 @@ public class AudioRecord /** Minimum value for sample rate */ private static final int SAMPLE_RATE_HZ_MIN = 4000; /** Maximum value for sample rate */ - private static final int SAMPLE_RATE_HZ_MAX = 96000; + private static final int SAMPLE_RATE_HZ_MAX = 192000; /** * indicates AudioRecord state is not successfully initialized. diff --git a/media/java/android/media/AudioTrack.java b/media/java/android/media/AudioTrack.java index 847bdc290219..701a960df947 100644 --- a/media/java/android/media/AudioTrack.java +++ b/media/java/android/media/AudioTrack.java @@ -96,7 +96,7 @@ public class AudioTrack /** Minimum value for sample rate */ private static final int SAMPLE_RATE_HZ_MIN = 4000; /** Maximum value for sample rate */ - private static final int SAMPLE_RATE_HZ_MAX = 96000; + private static final int SAMPLE_RATE_HZ_MAX = 192000; /** Maximum value for AudioTrack channel count */ private static final int CHANNEL_COUNT_MAX = 8; |