~ubuntu-branches/ubuntu/quantal/mupen64plus/quantal

« back to all changes in this revision

Viewing changes to jttl_audio/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Sven Eckelmann, Sven Eckelmann, Piotr Ożarowski
  • Date: 2010-05-06 11:34:46 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100506113446-jfcd6uk7waudel82
Tags: 1.5+dfsg1-10
[ Sven Eckelmann ]
* debian/patches:
  - Add rsp_ucode2_reset.patch, Reset status of specific ucode2 hacks after
    starting again
  - Add rsp_hle_bigendian.patch, Fix wrong high level emulation of rsp on big
    endian systems
  - Add rice-crash-vendorstring.patch, Don't crash on long OpenGL vendor
    string (Closes: #580480, LP: #575968)

[ Piotr Ożarowski ]
* DMUA flag set to yes

Show diffs side-by-side

added added

removed removed

Lines of Context:
713
713
       return;
714
714
    printf("[JttL's SDL Audio plugin] Cleaning up SDL sound plugin...\n");
715
715
    
716
 
    // Pause SDL Audio (Should be done before clean up)
 
716
    // Shut down SDL Audio output
717
717
    SDL_PauseAudio(1);
718
 
    
 
718
    SDL_CloseAudio();
 
719
 
719
720
    // Delete the buffer, as we are done producing sound
720
721
    if (buffer != NULL)
721
722
    {
733
734
    hardware_spec = NULL;
734
735
    buffer = NULL;
735
736
 
736
 
    // Actually close the audio device
737
 
    SDL_CloseAudio();
738
 
 
739
737
    // Shutdown the respective subsystems
740
738
    if(SDL_WasInit(SDL_INIT_AUDIO) != 0) SDL_QuitSubSystem(SDL_INIT_AUDIO);
741
739
    if(SDL_WasInit(SDL_INIT_TIMER) != 0) SDL_QuitSubSystem(SDL_INIT_TIMER);