Home | History | Annotate | Download | only in doc

Lines Matching defs:CHANNELS

41 #define CHANNELS 2
54 opus_int16 in[FRAME_SIZE*CHANNELS];
55 opus_int16 out[MAX_FRAME_SIZE*CHANNELS];
71 encoder = opus_encoder_create(SAMPLE_RATE, CHANNELS, APPLICATION, &err);
97 decoder = opus_decoder_create(SAMPLE_RATE, CHANNELS, &err);
114 unsigned char pcm_bytes[MAX_FRAME_SIZE*CHANNELS*2];
118 fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin);
122 for (i=0;i<CHANNELS*FRAME_SIZE;i++)
146 for(i=0;i<CHANNELS*frame_size;i++)
152 fwrite(pcm_bytes, sizeof(short), frame_size*CHANNELS, fout);