MCPcopy Create free account
hub / github.com/audacity/audacity / DataEvent

Method DataEvent

libraries/lib-track/Track.cpp:418–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418void TrackList::DataEvent(
419 const std::shared_ptr<Track> &pTrack, bool allChannels, int code)
420{
421 auto doQueueEvent = [this, code](const std::shared_ptr<Track> &theTrack){
422 QueueEvent({ TrackListEvent::TRACK_DATA_CHANGE, theTrack, code });
423 };
424 if (allChannels)
425 for (auto channel : Channels(pTrack.get()))
426 doQueueEvent(channel->shared_from_this());
427 else
428 doQueueEvent(pTrack);
429}
430
431void TrackList::PermutationEvent(TrackNodePointer node)
432{

Callers 1

NotifyMethod · 0.80

Calls 2

ChannelsFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected