Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_demo.c232 int max_payload_bytes; in main() local
340 max_payload_bytes = MAX_PACKET; in main()
397 max_payload_bytes = atoi( argv[ args + 1 ] ); in main()
490 if (max_payload_bytes < 0 || max_payload_bytes > MAX_PACKET) in main()
598 data[0] = (unsigned char*)calloc(max_payload_bytes,sizeof(char)); in main()
600 data[1] = (unsigned char*)calloc(max_payload_bytes,sizeof(char)); in main()
661 if (len[toggle]>max_payload_bytes || len[toggle]<0) in main()
702 len[toggle] = opus_encode(enc, in, frame_size, data[toggle], max_payload_bytes); in main()
741 int new_len = len[toggle]+rand()%(max_payload_bytes-len[toggle]); in main()