use 3 seconds audio fade-in at the server instead of just 2 seconds

This commit is contained in:
Volker Fischer 2020-04-01 21:47:49 +02:00
parent ee48000b34
commit 6b26cb02b4
2 changed files with 9 additions and 6 deletions

View file

@ -1,12 +1,15 @@
3.4.5git 3.4.5git
- audio fade-in at the server if new a client connects
- added a scroll bar to the mixer board to support large numbers of - added a scroll bar to the mixer board to support large numbers of
mixer faders (a thank you to doloopuntil for his help) mixer faders (a thank you to doloopuntil for his help)
- audio fade-in at the server if new a client connects
- changed the maximum number of clients supported by the server from 20 to 50 - changed the maximum number of clients supported by the server from 20 to 50

View file

@ -43,11 +43,11 @@
// number of frames for audio fade-in // number of frames for audio fade-in
#if ( SYSTEM_FRAME_SIZE_SAMPLES == 64 ) #if ( SYSTEM_FRAME_SIZE_SAMPLES == 64 )
// 48 kHz, 64 samples: 2 seconds / ( 64 samples / 48 kHz ) = 2250 // 48 kHz, 64 samples: 3 seconds / ( 64 samples / 48 kHz ) = 2250
# define FADE_IN_NUM_FRAMES 1500 # define FADE_IN_NUM_FRAMES 2250
#else #else
// 48 kHz, 128 samples: 2 seconds / ( 128 samples / 48 kHz ) = 1125 // 48 kHz, 128 samples: 3 seconds / ( 128 samples / 48 kHz ) = 1125
# define FADE_IN_NUM_FRAMES 750 # define FADE_IN_NUM_FRAMES 1125
#endif #endif