diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-11 18:06:15 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-11 18:06:15 +0000 |
commit | fa4f747ca8b83247981e89ec83b21d8f6a7ffa84 (patch) | |
tree | 3fe8ec2dd983e21d1df560504f1a8e6189a425a9 | |
parent | ff1dc556936cef441e105a19aa9d1d3b9e0cc833 (diff) | |
download | usdx-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.pas | 2 |
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); |