Home
last modified time | relevance | path

Searched refs:CHANNELS (Results 1 – 4 of 4) sorted by relevance

/external/libopus/doc/
Dtrivial_example.c41 #define CHANNELS 2 macro
54 opus_int16 in[FRAME_SIZE*CHANNELS]; in main()
55 opus_int16 out[MAX_FRAME_SIZE*CHANNELS]; in main()
71 encoder = opus_encoder_create(SAMPLE_RATE, CHANNELS, APPLICATION, &err); in main()
97 decoder = opus_decoder_create(SAMPLE_RATE, CHANNELS, &err); in main()
114 unsigned char pcm_bytes[MAX_FRAME_SIZE*CHANNELS*2]; in main()
118 fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin); in main()
122 for (i=0;i<CHANNELS*FRAME_SIZE;i++) in main()
146 for(i=0;i<CHANNELS*frame_size;i++) in main()
152 fwrite(pcm_bytes, sizeof(short), frame_size*CHANNELS, fout); in main()
/external/libopus/tests/
Dtest_opus_padding.c39 #define CHANNELS 2 macro
49 opus_int16 *out = malloc(FRAMESIZE*CHANNELS*sizeof(*out)); in test_overflow()
61 decoder = opus_decoder_create(48000, CHANNELS, &error); in test_overflow()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java62 private static final int CHANNELS = 1; field in WebRtcAudioManager
139 channels = CHANNELS; in storeAudioParameters()
269 assertTrue(numChannels == CHANNELS); in getMinInputFrameSize()
/external/walt/android/WALT/app/src/main/jni/
Dplayer.c58 #define CHANNELS 1 // 1 for mono, 2 for stereo macro
406 format_pcm.numChannels = CHANNELS; in Java_org_chromium_latency_walt_AudioTest_createAudioRecorder()