Mercurial > hg > svapp
diff audio/AudioGenerator.cpp @ 686:610fa108fbcc by-id
Update for changes to PlayParameters
author | Chris Cannam |
---|---|
date | Thu, 04 Jul 2019 18:04:59 +0100 |
parents | 161063152ddd |
children | 3c5dc95bea91 |
line wrap: on
line diff
--- a/audio/AudioGenerator.cpp Thu Jul 04 14:31:22 2019 +0100 +++ b/audio/AudioGenerator.cpp Thu Jul 04 18:04:59 2019 +0100 @@ -131,7 +131,7 @@ } } - PlayParameters *parameters = + auto parameters = PlayParameterRepository::getInstance()->getPlayParameters (modelId.untyped); @@ -222,7 +222,7 @@ { QString clipId; - PlayParameters *parameters = + auto parameters = PlayParameterRepository::getInstance()->getPlayParameters (modelId.untyped); if (parameters) { @@ -374,7 +374,7 @@ auto model = ModelById::get(modelId); if (!model || !model->canPlay()) return frameCount; - PlayParameters *parameters = + auto parameters = PlayParameterRepository::getInstance()->getPlayParameters (modelId.untyped); if (!parameters) return frameCount;