Skip to content

Commit

Permalink
Probably don't quit al of SDL when the audio shuts down
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom committed Dec 17, 2024
1 parent 3669ab1 commit a847be8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/emulator/Speaker.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

class Speaker {
public:
virtual ~Speaker() = default;
virtual void play() = 0;
virtual void stop() = 0;
};
Expand Down
1 change: 0 additions & 1 deletion src/sdl/emulator/SdlSpeaker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ SdlSpeaker::~SdlSpeaker() {
if (this->audioStream != nullptr) {
SDL_DestroyAudioStream(this->audioStream);
}
SDL_Quit();
}

void SdlSpeaker::play() {
Expand Down

0 comments on commit a847be8

Please sign in to comment.