sequence: made divider a sequence parameter rather than a viewer parameter

Doing this makes the preview resolution an explicit project setting rather
than a temporary UI setting. This will allow more consistency when caching.
This commit is contained in:
itsmattkc
2020-06-08 14:41:35 +10:00
parent ee3fa529cb
commit 430561e2ac
81 changed files with 549 additions and 508 deletions
+2 -2
View File
@@ -139,7 +139,7 @@ bool WaveInput::open()
}
// We're good to go!
params_ = AudioRenderingParams(sample_rate, channel_layout, format);
params_ = AudioParams(sample_rate, channel_layout, format);
if (!find_str(&file_, "data")) {
close();
@@ -197,7 +197,7 @@ bool WaveInput::at_end() const
return file_.pos() == (data_position_ + data_size_);
}
const AudioRenderingParams &WaveInput::params() const
const AudioParams &WaveInput::params() const
{
return params_;
}