}
shared_ptr<AudioContent> ac = dynamic_pointer_cast<AudioContent> (*i);
- if (ac && !ac->audio_mapping().mapped_dcp_channels().empty ()) {
+ if (ac && !ac->audio_mapping().mapped_output_channels().empty ()) {
_views.push_back (shared_ptr<TimelineView> (new TimelineAudioContentView (*this, *i)));
}
setup_pixels_per_second ();
}
Refresh ();
- } else if (property == AudioContentProperty::AUDIO_MAPPING) {
+ } else if (property == AudioContentProperty::AUDIO_STREAMS) {
recreate_views ();
}
}