mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02:00
Another use of type AudioTrack
This commit is contained in:
parent
a9879bddf0
commit
a936aed643
@ -616,16 +616,9 @@ SyncLockedTracksIterator::SyncLockedTracksIterator(TrackList * val)
|
||||
}
|
||||
|
||||
namespace {
|
||||
bool IsSyncLockableNonLabelTrack( const Track *pTrack )
|
||||
inline bool IsSyncLockableNonLabelTrack( const Track *pTrack )
|
||||
{
|
||||
if ( pTrack->GetKind() == Track::Wave )
|
||||
return true;
|
||||
#ifdef USE_MIDI
|
||||
else if ( pTrack->GetKind() == Track::Note )
|
||||
return true;
|
||||
#endif
|
||||
else
|
||||
return false;
|
||||
return nullptr != dynamic_cast< const AudioTrack * >( pTrack );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user