use smaller sound card frame sizes as default for Mac
This commit is contained in:
parent
91b96a2133
commit
2387a49ba0
1 changed files with 9 additions and 2 deletions
|
@ -37,8 +37,15 @@ CClient::CClient ( const quint16 iPortNumber ) :
|
||||||
bOpenChatOnNewMessage ( true ),
|
bOpenChatOnNewMessage ( true ),
|
||||||
eGUIDesign ( GD_STANDARD ),
|
eGUIDesign ( GD_STANDARD ),
|
||||||
bDoAutoSockBufSize ( true ),
|
bDoAutoSockBufSize ( true ),
|
||||||
|
#if defined ( __APPLE__ ) || defined ( __MACOSX )
|
||||||
|
// we assume on Mac always the preferred frame size works fine
|
||||||
|
iSndCrdPrefFrameSizeFactor ( FRAME_SIZE_FACTOR_PREFERRED ),
|
||||||
|
iSndCrdFrameSizeFactor ( FRAME_SIZE_FACTOR_PREFERRED ),
|
||||||
|
#else
|
||||||
|
// if ASIO4All is used, it is safer to use the default value
|
||||||
iSndCrdPrefFrameSizeFactor ( FRAME_SIZE_FACTOR_DEFAULT ),
|
iSndCrdPrefFrameSizeFactor ( FRAME_SIZE_FACTOR_DEFAULT ),
|
||||||
iSndCrdFrameSizeFactor ( FRAME_SIZE_FACTOR_DEFAULT ),
|
iSndCrdFrameSizeFactor ( FRAME_SIZE_FACTOR_DEFAULT ),
|
||||||
|
#endif
|
||||||
bFraSiFactPrefSupported ( false ),
|
bFraSiFactPrefSupported ( false ),
|
||||||
bFraSiFactDefSupported ( false ),
|
bFraSiFactDefSupported ( false ),
|
||||||
bFraSiFactSafeSupported ( false ),
|
bFraSiFactSafeSupported ( false ),
|
||||||
|
|
Loading…
Reference in a new issue