Remove #INSTRUMENTTRACK. It's guitar only.
This commit is contained in:
@@ -132,15 +132,6 @@ void AutoKeysounds::LoadTracks( const Song *pSong, RageSoundReader *&pShared, Ra
|
||||
if( !sMusicPath.empty() )
|
||||
vsMusicFile.push_back( sMusicPath );
|
||||
|
||||
FOREACH_ENUM( InstrumentTrack, it )
|
||||
{
|
||||
if( it == InstrumentTrack_Guitar )
|
||||
continue;
|
||||
if( pSong->HasInstrumentTrack(it) )
|
||||
vsMusicFile.push_back( pSong->GetInstrumentTrackPath(it) );
|
||||
}
|
||||
|
||||
|
||||
vector<RageSoundReader *> vpSounds;
|
||||
FOREACH( RString, vsMusicFile, s )
|
||||
{
|
||||
@@ -174,17 +165,6 @@ void AutoKeysounds::LoadTracks( const Song *pSong, RageSoundReader *&pShared, Ra
|
||||
pShared = pSongReader;
|
||||
}
|
||||
|
||||
|
||||
if( pSong->HasInstrumentTrack(InstrumentTrack_Guitar) )
|
||||
{
|
||||
RString sError;
|
||||
RageSoundReader *pGuitarTrackReader = RageSoundReader_FileReader::OpenFile( pSong->GetInstrumentTrackPath(InstrumentTrack_Guitar), sError );
|
||||
// Load the buffering filter before the effects filters, so effects aren't delayed.
|
||||
pGuitarTrackReader = new RageSoundReader_Extend( pGuitarTrackReader );
|
||||
pGuitarTrackReader = new RageSoundReader_ThreadedBuffer( pGuitarTrackReader );
|
||||
pPlayer1 = pGuitarTrackReader;
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
//if( pSongReader->GetNumChannels() <= 2 )
|
||||
|
||||
Reference in New Issue
Block a user