mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
SoundStream: Internally construct the mixer
Instead of creating the mixer externally and then passing it in, it can just be made within the class.
This commit is contained in:
@ -33,10 +33,6 @@ class AOSound final : public SoundStream
|
||||
short realtimeBuffer[1024 * 1024];
|
||||
|
||||
public:
|
||||
AOSound(CMixer *mixer) : SoundStream(mixer) {}
|
||||
|
||||
virtual ~AOSound();
|
||||
|
||||
virtual bool Start() override;
|
||||
|
||||
virtual void SoundLoop() override;
|
||||
@ -49,9 +45,5 @@ public:
|
||||
}
|
||||
|
||||
virtual void Update() override;
|
||||
|
||||
#else
|
||||
public:
|
||||
AOSound(CMixer *mixer) : SoundStream(mixer) {}
|
||||
#endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user