From 660f4d5705b764c92cef14e24878bfdd4e901c7d Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 13 Jul 2008 17:55:14 +0000 Subject: [PATCH] some fixes for ASIO, new version number --- src/global.h | 6 +----- windows/sound.h | 8 ++++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/global.h b/src/global.h index cfa8187d..a889b1b0 100755 --- a/src/global.h +++ b/src/global.h @@ -43,7 +43,7 @@ // version and application name (always use this version) #undef VERSION -#define VERSION "2.0.1cvs" +#define VERSION "2.1.0cvs" #define APP_NAME "llcon" // file name for logging file @@ -79,11 +79,7 @@ #define DEF_NET_BUF_SIZE_NUM_BL 5 // number of blocks // number of ticks of audio in/out buffer sliders -#ifdef _WIN32 -# define AUD_SLIDER_LENGTH 30 -#else # define AUD_SLIDER_LENGTH 6 -#endif // maximum number of internet connections (channels) // if you want to change this paramter, there has to be done code modifications diff --git a/windows/sound.h b/windows/sound.h index 9a6b453e..bf312559 100755 --- a/windows/sound.h +++ b/windows/sound.h @@ -44,11 +44,11 @@ #define BITS_PER_SAMPLE 16 // use all bits of the D/A-converter #define BYTES_PER_SAMPLE 2 // number of bytes per sample -#define MAX_SND_BUF_IN 200 -#define MAX_SND_BUF_OUT 200 +#define MAX_SND_BUF_IN 100 +#define MAX_SND_BUF_OUT 100 -#define NUM_SOUND_BUFFERS_IN ( 70 / MIN_BLOCK_DURATION_MS ) -#define NUM_SOUND_BUFFERS_OUT ( 80 / MIN_BLOCK_DURATION_MS ) +#define NUM_SOUND_BUFFERS_IN 2 +#define NUM_SOUND_BUFFERS_OUT 2 // maximum number of recognized sound cards installed in the system #define MAX_NUMBER_SOUND_CARDS 10