diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-12-02 21:11:43 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-12-02 21:11:43 +0100 |
commit | b207bd38e1574cb75315a2c66e7a598c22fc55ca (patch) | |
tree | 05b3a58ac8261e1f43a944018e48c15171032052 /src/engine/channels/enginemicrophone.h | |
parent | 8e18359de7cfc2521045671007ec6115c150dd55 (diff) | |
parent | 532b713e0e570083c8ecd5708942cacb66835838 (diff) |
Merge branch '2.3' of github.com:mixxxdj/mixxx into cleanup-headers
Diffstat (limited to 'src/engine/channels/enginemicrophone.h')
-rw-r--r-- | src/engine/channels/enginemicrophone.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/engine/channels/enginemicrophone.h b/src/engine/channels/enginemicrophone.h index e5190dc72f..b9611e7cb8 100644 --- a/src/engine/channels/enginemicrophone.h +++ b/src/engine/channels/enginemicrophone.h @@ -34,16 +34,17 @@ class EngineMicrophone : public EngineChannel, public AudioDestination { // the soundcard this AudioDestination was registered for! Beware, in the // case of multiple soundcards, this method is not re-entrant but it may be // concurrent with EngineMaster processing. - virtual void receiveBuffer(AudioInput input, const CSAMPLE* pBuffer, - unsigned int iNumSamples); + virtual void receiveBuffer(const AudioInput& input, + const CSAMPLE* pBuffer, + unsigned int iNumSamples); // Called by SoundManager whenever the microphone input is connected to a // soundcard input. - virtual void onInputConfigured(AudioInput input); + virtual void onInputConfigured(const AudioInput& input); // Called by SoundManager whenever the microphone input is disconnected from // a soundcard input. - virtual void onInputUnconfigured(AudioInput input); + virtual void onInputUnconfigured(const AudioInput& input); bool isSolo(); double getSoloDamping(); |