aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-01-11 18:06:15 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-01-11 18:06:15 +0000
commitfa4f747ca8b83247981e89ec83b21d8f6a7ffa84 (patch)
tree3fe8ec2dd983e21d1df560504f1a8e6189a425a9 /Game/Code
parentff1dc556936cef441e105a19aa9d1d3b9e0cc833 (diff)
downloadusdx-fa4f747ca8b83247981e89ec83b21d8f6a7ffa84.tar.gz
usdx-fa4f747ca8b83247981e89ec83b21d8f6a7ffa84.tar.xz
usdx-fa4f747ca8b83247981e89ec83b21d8f6a7ffa84.zip
SDL_Init(SDL_INIT_AUDIO) prevents Portaudio from acquiring the soundcard (no sound).
Use SDL_Init_Subsystem(SDL_INIT_AUDIO) if SDL is used instead of Portaudio for audio output. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@787 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UMain.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas
index 7c3ad9d4..e2e0eaa0 100644
--- a/Game/Code/Classes/UMain.pas
+++ b/Game/Code/Classes/UMain.pas
@@ -174,7 +174,7 @@ begin
// SDL
Log.BenchmarkStart(1);
Log.LogStatus('Initialize SDL', 'Initialization');
- SDL_Init(SDL_INIT_VIDEO or SDL_INIT_AUDIO);
+ SDL_Init(SDL_INIT_VIDEO);
Log.BenchmarkEnd(1);
Log.LogBenchmark('Initializing SDL', 1);