Shutdown the NTP Player when the application exits
This commit is contained in:
parent
d2951e11fb
commit
2148d93ab6
|
@ -90,7 +90,7 @@ syssnd_init(void)
|
||||||
printf("Decompress samerica\n");
|
printf("Decompress samerica\n");
|
||||||
LZ4_Unpack(pNtpSong, &samerica_lz4);
|
LZ4_Unpack(pNtpSong, &samerica_lz4);
|
||||||
|
|
||||||
printf("SetAudioBank\n");
|
printf("NTPSetAudioBank\n");
|
||||||
SetAudioBank( (*handle)>>16 );
|
SetAudioBank( (*handle)>>16 );
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -115,7 +115,12 @@ syssnd_init(void)
|
||||||
void
|
void
|
||||||
syssnd_shutdown(void)
|
syssnd_shutdown(void)
|
||||||
{
|
{
|
||||||
printf("syssnd_shutdown\n");
|
// If the driver has been loaded
|
||||||
|
if (pNtpDriver)
|
||||||
|
{
|
||||||
|
printf("syssnd_shutdown\n");
|
||||||
|
NTPstop();
|
||||||
|
}
|
||||||
//if (!isAudioActive) return;
|
//if (!isAudioActive) return;
|
||||||
//isAudioActive = FALSE;
|
//isAudioActive = FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -322,6 +322,8 @@ void IIGShutdown()
|
||||||
EMShutDown();
|
EMShutDown();
|
||||||
MTShutDown();
|
MTShutDown();
|
||||||
|
|
||||||
|
syssnd_shutdown(); // Shutdown the NTP player
|
||||||
|
|
||||||
DisposeAll(userid());
|
DisposeAll(userid());
|
||||||
|
|
||||||
//SystemMMShutDown();
|
//SystemMMShutDown();
|
||||||
|
|
Loading…
Reference in New Issue