示例#1
0
void Classic_Emu::set_equalizer_( equalizer_t const& eq )
{
	Music_Emu::set_equalizer_( eq );
	update_eq( eq.treble );
	if ( buf )
		buf->bass_freq( (int) equalizer().bass );
}
示例#2
0
blargg_err_t Classic_Emu::setup_buffer( long rate )
{
	change_clock_rate( rate );
	RETURN_ERR( buf->set_channel_count( voice_count() ) );
	set_equalizer( equalizer() );
	buf_changed_count = buf->channels_changed_count();
	return 0;
}
示例#3
0
blargg_err_t Classic_Emu::setup_buffer( int rate )
{
	change_clock_rate( rate );
	RETURN_ERR( buf->set_channel_count( voice_count(), voice_types ) );
	set_equalizer( equalizer() );
	buf_changed_count = buf->channels_changed_count();
	return (blargg_err_t)blargg_ok;
}