Skip to content

Commit

Permalink
LUS Cleanup: Only including the correct audio player header file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenix3 committed Aug 4, 2022
1 parent fd37989 commit 4ce19e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 9 additions & 0 deletions libultraship/libultraship/AudioPlayer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#pragma once
#include "stdint.h"
#ifndef _MSC_VER
#include "SDLAudioPlayer.h"
#endif
#ifdef _MSC_VER
#include "WasapiAudioPlayer.h"
#endif
#ifdef __APPLE__
#include "PulseAudioPlayer.h"
#endif

namespace Ship {
class AudioPlayer {
Expand Down
2 changes: 0 additions & 2 deletions libultraship/libultraship/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#include "AudioPlayer.h"
#include "Hooks.h"
#include "UltraController.h"
#include "WasapiAudioPlayer.h"
#include "PulseAudioPlayer.h"
#include "Lib/Fast3D/gfx_pc.h"
#include "Lib/Fast3D/gfx_sdl.h"
#include "Lib/Fast3D/gfx_opengl.h"
Expand Down

0 comments on commit 4ce19e1

Please sign in to comment.