Searched refs:CHANNELS (Results 1 – 2 of 2) sorted by relevance
/external/libopus/doc/ |
D | trivial_example.c | 41 #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/ |
D | test_opus_padding.c | 39 #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()
|