tested the numbers and they work fine
This commit is contained in:
parent
fbef9556a4
commit
beb3255b26
1 changed files with 6 additions and 6 deletions
12
src/client.h
12
src/client.h
|
@ -84,13 +84,13 @@
|
|||
// L: number of samples per packet (SYSTEM_FRAME_SIZE_SAMPLES)
|
||||
// N: number of bytes per packet (values below)
|
||||
#if ( SYSTEM_FRAME_SIZE_SAMPLES == 64 )
|
||||
# define OPUS_NUM_BYTES_MONO_LOW_QUALITY 12 // TODO to be adjusted, most probably higher value needed!
|
||||
# define OPUS_NUM_BYTES_MONO_NORMAL_QUALITY 22 // TODO to be adjusted, most probably higher value needed!
|
||||
# define OPUS_NUM_BYTES_MONO_HIGH_QUALITY 35 // TODO to be adjusted, most probably higher value needed!
|
||||
# define OPUS_NUM_BYTES_MONO_LOW_QUALITY 12
|
||||
# define OPUS_NUM_BYTES_MONO_NORMAL_QUALITY 22
|
||||
# define OPUS_NUM_BYTES_MONO_HIGH_QUALITY 35
|
||||
|
||||
# define OPUS_NUM_BYTES_STEREO_LOW_QUALITY 43 // TODO to be adjusted, most probably higher value needed!
|
||||
# define OPUS_NUM_BYTES_STEREO_NORMAL_QUALITY 35 // TODO to be adjusted, most probably higher value needed!
|
||||
# define OPUS_NUM_BYTES_STEREO_HIGH_QUALITY 71 // TODO to be adjusted, most probably higher value needed!
|
||||
# define OPUS_NUM_BYTES_STEREO_LOW_QUALITY 24
|
||||
# define OPUS_NUM_BYTES_STEREO_NORMAL_QUALITY 35
|
||||
# define OPUS_NUM_BYTES_STEREO_HIGH_QUALITY 71
|
||||
#else
|
||||
# define OPUS_NUM_BYTES_MONO_LOW_QUALITY 25
|
||||
# define OPUS_NUM_BYTES_MONO_NORMAL_QUALITY 45
|
||||
|
|
Loading…
Reference in a new issue