Searched refs:max_payload_bytes (Results 1 – 1 of 1) sorted by relevance
232 int max_payload_bytes; in main() local339 max_payload_bytes = MAX_PACKET; in main()394 max_payload_bytes = atoi( argv[ args + 1 ] ); in main()487 if (max_payload_bytes < 0 || max_payload_bytes > MAX_PACKET) in main()596 data[0] = (unsigned char*)calloc(max_payload_bytes,sizeof(unsigned char)); in main()598 data[1] = (unsigned char*)calloc(max_payload_bytes,sizeof(unsigned char)); in main()659 if (len[toggle]>max_payload_bytes || len[toggle]<0) in main()700 len[toggle] = opus_encode(enc, in, frame_size, data[toggle], max_payload_bytes); in main()739 int new_len = len[toggle]+rand()%(max_payload_bytes-len[toggle]); in main()