Increase AudioTrack and AudioRecord max sample rate to 192kHz

For pro-audio purposes.

Change-Id: Ie5de6736175879c074ed393a14ca88720de083c7
This commit is contained in:
Andy Hung
2015-04-23 18:13:15 -07:00
parent 88d109d2c5
commit 8fd0928cdb
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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;