From 6b26cb02b486bc55c35e158cb39d06d28d17e602 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Wed, 1 Apr 2020 21:47:49 +0200 Subject: [PATCH] use 3 seconds audio fade-in at the server instead of just 2 seconds --- ChangeLog | 7 +++++-- src/channel.h | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 93f9ba20..832b6821 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,12 +1,15 @@ + + + 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 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 diff --git a/src/channel.h b/src/channel.h index 1f855877..98160756 100755 --- a/src/channel.h +++ b/src/channel.h @@ -43,11 +43,11 @@ // number of frames for audio fade-in #if ( SYSTEM_FRAME_SIZE_SAMPLES == 64 ) -// 48 kHz, 64 samples: 2 seconds / ( 64 samples / 48 kHz ) = 2250 -# define FADE_IN_NUM_FRAMES 1500 +// 48 kHz, 64 samples: 3 seconds / ( 64 samples / 48 kHz ) = 2250 +# define FADE_IN_NUM_FRAMES 2250 #else -// 48 kHz, 128 samples: 2 seconds / ( 128 samples / 48 kHz ) = 1125 -# define FADE_IN_NUM_FRAMES 750 +// 48 kHz, 128 samples: 3 seconds / ( 128 samples / 48 kHz ) = 1125 +# define FADE_IN_NUM_FRAMES 1125 #endif