src/sdl/audio_player.cc
/*
 * Closes the audio device and frees the audio buffer.
 */
Closes the audio device and frees the audio buffer.
Closes the audio device and frees the audio buffer .
AudioPlayer::~AudioPlayer(void) {
  SDL_CloseAudioDevice(audio_device_);
  delete[] audio_buffer_;
  return;
}
AudioPlayer :: ~ AudioPlayer ( void ) { SDL_CloseAudioDevice ( audio_device_ ) ; delete [ ] audio_buffer_ ; return ; }
Closes the audio device and frees the audio buffer.
Closes the audio device and frees the audio buffer .
// Close the open device and free the buffer.