]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_sdl.c
- Removed Con_SafePrint and Con_SafePrintf since they now does the same things as...
[xonotic/darkplaces.git] / snd_sdl.c
index 5dcaf529bea0a4f489e1d0bca2d63b008cd02a36..de0f3dc9a2cc222d1ecf8289f8dadf92f841440b 100644 (file)
--- a/snd_sdl.c
+++ b/snd_sdl.c
@@ -17,6 +17,7 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 #include "quakedef.h"
+#include "snd_main.h"
 #include <SDL.h>
 
 /*
@@ -86,7 +87,7 @@ qboolean SNDDMA_Init(void)
 
        // Init the SDL Audio subsystem
        if( SDL_InitSubSystem( SDL_INIT_AUDIO ) ) {
-               Con_SafePrint( "Initializing the SDL Audio subsystem failed!\n" );
+               Con_Print( "Initializing the SDL Audio subsystem failed!\n" );
                return false;
        }
 
@@ -123,7 +124,7 @@ qboolean SNDDMA_Init(void)
        spec.samples = AUDIO_SDL_SAMPLES; 
        
        if( SDL_OpenAudio( &spec, NULL ) ) {
-               Con_SafePrint( "Failed to open the audio device!\n" );
+               Con_Print( "Failed to open the audio device!\n" );
                Con_DPrintf( 
                        "Audio Specification:\n"
                        "\tChannels  : %i\n"