Пример #1
0
void S_MusicShutdown(void)
{
    S_StopMusic();

    if (MUSIC_Shutdown() != MUSIC_Ok)
        initprintf("%s\n", MUSIC_ErrorString(MUSIC_ErrorCode));
}
Пример #2
0
void MusicShutdown( void )
{
    int32 status;

    // if they chose None lets return
    if ((MusicDevice == NumSoundCards) || (eightytwofifty && numplayers > 1) ) {
        return;
    }

    status = MUSIC_Shutdown();
    if ( status != MUSIC_Ok ) {
        //Error( MUSIC_ErrorString( MUSIC_ErrorCode ));
    }
}
Пример #3
0
void MusicShutdown( void )
   {
   int32 status;

   // if they chose None lets return
   if (MusicDevice < 0)
      return;
   
   stopmusic();
   
   status = MUSIC_Shutdown();
   if ( status != MUSIC_Ok )
      {
      Error( MUSIC_ErrorString( MUSIC_ErrorCode ));
      }
   }
Пример #4
0
void
MusicShutdown(void)
{
    int32_t status;

    // if they chose None lets return
    if (MusicDevice < 0)
        return;

    if (!MusicInitialized)
        return;

    StopSong();

    status = MUSIC_Shutdown();
    if (status != MUSIC_Ok)
    {
        buildprintf("Music error: %s\n",MUSIC_ErrorString(MUSIC_ErrorCode));
    }
}