¡@

Home 

2014/10/16 ¤W¤È 08:11:08

android Programming Glossary: channelconfig

AudioRecord object not initializing

http://stackoverflow.com/questions/4843739/audiorecord-object-not-initializing

AudioFormat.ENCODING_PCM_16BIT for short channelConfig new short AudioFormat.CHANNEL_IN_MONO AudioFormat.CHANNEL_IN_STEREO.. C.TAG Attempting rate rate Hz bits audioFormat channel channelConfig int bufferSize AudioRecord.getMinBufferSize rate channelConfig.. int bufferSize AudioRecord.getMinBufferSize rate channelConfig audioFormat if bufferSize AudioRecord.ERROR_BAD_VALUE check..

Playing back sound coming from microphone in real-time

http://stackoverflow.com/questions/5728454/playing-back-sound-coming-from-microphone-in-real-time

private int samplingRate 44100 in Hz private int channelConfig AudioFormat.CHANNEL_CONFIGURATION_MONO private int audioFormat.. int bufferSize AudioRecord.getMinBufferSize samplingRate channelConfig audioFormat private int sampleNumBits 16 private int numChannels.. recorder new AudioRecord audioSource samplingRate channelConfig audioFormat bufferSize recorder.startRecording isRecording..

Live Audio Recording and Playing in Android and Thread & callback handling

http://stackoverflow.com/questions/9413998/live-audio-recording-and-playing-in-android-and-thread-callback-handling

bufrSize Log.e LOG_TAG Returning.. rate channelConfig audioFormat recorderBufSize this.recordingSampleRate AudioFormat.CHANNEL_IN_MONO..

AudioRecord object not initializing

http://stackoverflow.com/questions/4843739/audiorecord-object-not-initializing

mSampleRates for short audioFormat new short AudioFormat.ENCODING_PCM_8BIT AudioFormat.ENCODING_PCM_16BIT for short channelConfig new short AudioFormat.CHANNEL_IN_MONO AudioFormat.CHANNEL_IN_STEREO try Log.d C.TAG Attempting rate rate Hz bits audioFormat.. AudioFormat.CHANNEL_IN_STEREO try Log.d C.TAG Attempting rate rate Hz bits audioFormat channel channelConfig int bufferSize AudioRecord.getMinBufferSize rate channelConfig audioFormat if bufferSize AudioRecord.ERROR_BAD_VALUE .. Attempting rate rate Hz bits audioFormat channel channelConfig int bufferSize AudioRecord.getMinBufferSize rate channelConfig audioFormat if bufferSize AudioRecord.ERROR_BAD_VALUE check if we can instantiate and have a success AudioRecord recorder..

Playing back sound coming from microphone in real-time

http://stackoverflow.com/questions/5728454/playing-back-sound-coming-from-microphone-in-real-time

code variables private int audioSource MediaRecorder.AudioSource.MIC private int samplingRate 44100 in Hz private int channelConfig AudioFormat.CHANNEL_CONFIGURATION_MONO private int audioFormat AudioFormat.ENCODING_PCM_16BIT private int bufferSize AudioRecord.getMinBufferSize.. int audioFormat AudioFormat.ENCODING_PCM_16BIT private int bufferSize AudioRecord.getMinBufferSize samplingRate channelConfig audioFormat private int sampleNumBits 16 private int numChannels 1 AudioRecord recorder new AudioRecord audioSource samplingRate.. private int sampleNumBits 16 private int numChannels 1 AudioRecord recorder new AudioRecord audioSource samplingRate channelConfig audioFormat bufferSize recorder.startRecording isRecording true AudioTrack audioPlayer new AudioTrack AudioManager.STREAM_MUSIC..

Live Audio Recording and Playing in Android and Thread & callback handling

http://stackoverflow.com/questions/9413998/live-audio-recording-and-playing-in-android-and-thread-callback-handling

for future use . . . this.recordingSampleRate rate this.recorderBufSize bufrSize Log.e LOG_TAG Returning.. rate channelConfig audioFormat recorderBufSize this.recordingSampleRate AudioFormat.CHANNEL_IN_MONO audioFormat this.recorderBufSize Now..