Skip to content

Commit

Permalink
Uses correct audio player per platform now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenix3 committed Aug 4, 2022
1 parent 7675309 commit e68fac1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libultraship/libultraship/AudioPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ namespace Ship {
}

#if !_MSC_VER && !__APPLE__
#include "SDLAudioPlayer.h"
#endif
#ifdef _MSC_VER
#ifdef _WIN32
#include "WasapiAudioPlayer.h"
#endif
#ifdef __APPLE__
#elif defined(__linux)
#include "PulseAudioPlayer.h"
#else
#include "SDLAudioPlayer.h"
#endif

0 comments on commit e68fac1

Please sign in to comment.