Пример #1
0
blargg_err_t Vgm_Emu::start_track_( int track )
{
	RETURN_ERR( Classic_Emu::start_track_( track ) );
	
	core.start_track();

	mute_voices_(muted_voices);
	
	if ( core.uses_fm() )
		resampler.clear();
	
	return (blargg_err_t)blargg_ok;
}
Пример #2
0
void Music_Emu::mute_voices( int mask )
{
	require( sample_rate() ); // sample rate must be set first
	mute_mask_ = mask;
	mute_voices_( mask );
}