• Home
  • Raw
  • Download

Lines Matching refs:sampleRateInHz

487     public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat,  in AudioTrack()  argument
490 this(streamType, sampleRateInHz, channelConfig, audioFormat, in AudioTrack()
545 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
555 .setSampleRate(sampleRateInHz) in AudioTrack()
1237 private void audioParamCheck(int sampleRateInHz, int channelConfig, int channelIndexMask, in audioParamCheck() argument
1241 if ((sampleRateInHz < AudioFormat.SAMPLE_RATE_HZ_MIN || in audioParamCheck()
1242 sampleRateInHz > AudioFormat.SAMPLE_RATE_HZ_MAX) && in audioParamCheck()
1243 sampleRateInHz != AudioFormat.SAMPLE_RATE_UNSPECIFIED) { in audioParamCheck()
1244 throw new IllegalArgumentException(sampleRateInHz in audioParamCheck()
1247 mSampleRate = sampleRateInHz; in audioParamCheck()
1783 static public int getMinBufferSize(int sampleRateInHz, int channelConfig, int audioFormat) { in getMinBufferSize() argument
1810 if ( (sampleRateInHz < AudioFormat.SAMPLE_RATE_HZ_MIN) || in getMinBufferSize()
1811 (sampleRateInHz > AudioFormat.SAMPLE_RATE_HZ_MAX) ) { in getMinBufferSize()
1812 loge("getMinBufferSize(): " + sampleRateInHz + " Hz is not a supported sample rate."); in getMinBufferSize()
1816 int size = native_get_min_buff_size(sampleRateInHz, channelCount, audioFormat); in getMinBufferSize()
2080 public int setPlaybackRate(int sampleRateInHz) { in setPlaybackRate() argument
2084 if (sampleRateInHz <= 0) { in setPlaybackRate()
2087 return native_set_playback_rate(sampleRateInHz); in setPlaybackRate()
3632 private native final int native_set_playback_rate(int sampleRateInHz); in native_set_playback_rate() argument
3662 int sampleRateInHz, int channelConfig, int audioFormat); in native_get_min_buff_size() argument