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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user