summaryrefslogtreecommitdiffstats
path: root/src/engine/enginemaster.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/enginemaster.h')
-rw-r--r--src/engine/enginemaster.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/enginemaster.h b/src/engine/enginemaster.h
index 9bcdffc0ea..20beb81685 100644
--- a/src/engine/enginemaster.h
+++ b/src/engine/enginemaster.h
@@ -64,7 +64,7 @@ class EngineMaster : public QObject, public AudioSource {
// Get access to the sample buffers. None of these are thread safe. Only to
// be called by SoundManager.
- const CSAMPLE* buffer(AudioOutput output) const;
+ const CSAMPLE* buffer(const AudioOutput& output) const;
ChannelHandleAndGroup registerChannelGroup(const QString& group) {
return ChannelHandleAndGroup(
@@ -79,10 +79,10 @@ class EngineMaster : public QObject, public AudioSource {
// these methods are called the callback is guaranteed to be inactive
// (SoundManager closes all devices before calling these). This may change
// in the future.
- virtual void onOutputConnected(AudioOutput output);
- virtual void onOutputDisconnected(AudioOutput output);
- void onInputConnected(AudioInput input);
- void onInputDisconnected(AudioInput input);
+ virtual void onOutputConnected(const AudioOutput& output);
+ virtual void onOutputDisconnected(const AudioOutput& output);
+ void onInputConnected(const AudioInput& input);
+ void onInputDisconnected(const AudioInput& input);
void process(const int iBufferSize);
@@ -116,7 +116,7 @@ class EngineMaster : public QObject, public AudioSource {
const CSAMPLE* getHeadphoneBuffer() const;
const CSAMPLE* getOutputBusBuffer(unsigned int i) const;
const CSAMPLE* getDeckBuffer(unsigned int i) const;
- const CSAMPLE* getChannelBuffer(QString name) const;
+ const CSAMPLE* getChannelBuffer(const QString& name) const;
const CSAMPLE* getSidechainBuffer() const;
EngineSideChain* getSideChain() const {