示例#1
0
/*
====================
ModPlug_FetchEnd
====================
*/
static void ModPlug_FetchEnd (void *chfetcherdata)
{
	modplug_stream_perchannel_t* per_ch = (modplug_stream_perchannel_t *)chfetcherdata;

	if (per_ch != NULL)
	{
		// Free the modplug decoder
		qModPlug_Unload (per_ch->mf);

		Mem_Free (per_ch);
	}
}
示例#2
0
/*
====================
ModPlug_StopChannel
====================
*/
static void ModPlug_StopChannel(channel_t *ch)
{
	modplug_stream_perchannel_t *per_ch = (modplug_stream_perchannel_t *)ch->fetcher_data;

	if (per_ch != NULL)
	{
		// Free the modplug decoder
		qModPlug_Unload(per_ch->mf);

		Mem_Free(per_ch);
	}
}