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:
@@ -148,7 +148,7 @@ void AudioManager::SetOutputDevice(const QAudioDeviceInfo &info)
|
||||
}
|
||||
}
|
||||
|
||||
void AudioManager::SetOutputParams(const AudioRenderingParams ¶ms)
|
||||
void AudioManager::SetOutputParams(const AudioParams ¶ms)
|
||||
{
|
||||
if (output_params_ != params) {
|
||||
output_params_ = params;
|
||||
@@ -156,7 +156,7 @@ void AudioManager::SetOutputParams(const AudioRenderingParams ¶ms)
|
||||
QMetaObject::invokeMethod(&output_manager_,
|
||||
"SetParameters",
|
||||
Qt::QueuedConnection,
|
||||
OLIVE_NS_ARG(AudioRenderingParams, params));
|
||||
OLIVE_NS_ARG(AudioParams, params));
|
||||
|
||||
// Refresh output device
|
||||
SetOutputDevice(output_device_info_);
|
||||
|
||||
Reference in New Issue
Block a user