[Summary] Added file info on Region ( Sample rate , channel config: ST, M )

This commit is contained in:
GZharun 2014-12-15 13:25:22 +02:00
parent 75a26bead0
commit 276630e59e
7 changed files with 375 additions and 21 deletions

View file

@ -121,7 +121,10 @@ AudioStreamView::create_region_view (boost::shared_ptr<Region> r, bool wait_for_
region_view->init (wait_for_waves);
region_view->set_amplitude_above_axis(_amplitude_above_axis);
region_view->set_height (child_height ());
region_view->set_io_channels_config_for_label (region->get_related_audio_file_channel_count() );
region_view->set_sample_rate_for_label(region->audio_source()->sample_rate() );
/* if its the special single-sample length that we use for rec-regions, make it
insensitive to events
*/