Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_demo.c226 int max_payload_bytes; in main() local
336 max_payload_bytes = MAX_PACKET; in main()
397 max_payload_bytes = atoi( argv[ args + 1 ] ); in main()
486 if (max_payload_bytes < 0 || max_payload_bytes > MAX_PACKET) in main()
590 data[0] = (unsigned char*)calloc(max_payload_bytes,sizeof(unsigned char)); in main()
592 data[1] = (unsigned char*)calloc(max_payload_bytes,sizeof(unsigned char)); in main()
656 if (len[toggle]>max_payload_bytes || len[toggle]<0) in main()
699 len[toggle] = opus_encode(enc, in, frame_size, data[toggle], max_payload_bytes); in main()
736 int new_len = len[toggle]+rand()%(max_payload_bytes-len[toggle]); in main()