waveformview: show in/out points in waveformview

Moved drawing routines to the base class that is used by both TimeRuler
and WaveformView
This commit is contained in:
itsmattkc
2020-03-15 18:21:14 +11:00
parent a6fb0c7e2b
commit 50061e4e55
10 changed files with 146 additions and 97 deletions
+5
View File
@@ -26,6 +26,11 @@ const uint64_t &AudioParams::channel_layout() const
return channel_layout_;
}
rational AudioParams::time_base() const
{
return rational(1, sample_rate());
}
AudioRenderingParams::AudioRenderingParams() :
format_(SampleFormat::SAMPLE_FMT_INVALID)
{