[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3439 - trunk/pingus/src/sound
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3439 - trunk/pingus/src/sound |
Date: |
Thu, 1 Nov 2007 04:06:51 +0100 |
Author: grumbel
Date: 2007-11-01 04:06:50 +0100 (Thu, 01 Nov 2007)
New Revision: 3439
Modified:
trunk/pingus/src/sound/sound_real.cpp
Log:
- fixed soundcard issue
Modified: trunk/pingus/src/sound/sound_real.cpp
===================================================================
--- trunk/pingus/src/sound/sound_real.cpp 2007-10-31 13:39:31 UTC (rev
3438)
+++ trunk/pingus/src/sound/sound_real.cpp 2007-11-01 03:06:50 UTC (rev
3439)
@@ -34,7 +34,7 @@
if (SDL_Init(SDL_INIT_AUDIO) == -1)
{
std::cout << "Unable to initialize SDL: " << SDL_GetError() << std::endl;
- throw SDL_GetError();
+ throw std::string(SDL_GetError());
}
pout(PINGUS_DEBUG_SOUND) << "Initializing SDL_Mixer" << std::endl;
@@ -42,7 +42,7 @@
if (Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 4096) == -1)
{
std::cout << "Unable to initialize SDL_Mixer: " << Mix_GetError() <<
std::endl;
- throw Mix_GetError();
+ throw std::string(Mix_GetError());
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3439 - trunk/pingus/src/sound,
grumbel at BerliOS <=