Lines Matching refs:streamType
238 * @param streamType the type of the audio stream. See
262 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat,
265 this(streamType, sampleRateInHz, channelConfig, audioFormat,
281 * @param streamType the type of the audio stream. See
303 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat,
315 audioParamCheck(streamType, sampleRateInHz, channelConfig, audioFormat, mode);
362 private void audioParamCheck(int streamType, int sampleRateInHz,
367 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC)
368 && (streamType != AudioManager.STREAM_RING) && (streamType != AudioManager.STREAM_SYSTEM)
369 && (streamType != AudioManager.STREAM_VOICE_CALL)
370 && (streamType != AudioManager.STREAM_NOTIFICATION)
371 && (streamType != AudioManager.STREAM_BLUETOOTH_SCO)
372 && (streamType != AudioManager.STREAM_DTMF)) {
375 mStreamType = streamType;
660 static public int getNativeOutputSampleRate(int streamType) {
661 return native_get_output_sample_rate(streamType);
1322 int streamType, int sampleRate, int nbChannels, int audioFormat,
1370 static private native final int native_get_output_sample_rate(int streamType);