summaryrefslogtreecommitdiff
path: root/Servers/AudioServer/ASMixer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Servers/AudioServer/ASMixer.h')
-rw-r--r--Servers/AudioServer/ASMixer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Servers/AudioServer/ASMixer.h b/Servers/AudioServer/ASMixer.h
index 8f39f42668..253f3dfc8e 100644
--- a/Servers/AudioServer/ASMixer.h
+++ b/Servers/AudioServer/ASMixer.h
@@ -14,16 +14,15 @@ class ASMixer : public RefCounted<ASMixer> {
public:
ASMixer();
- void queue(ASClientConnection&, const ABuffer&, int buffer_id);
+ void queue(ASClientConnection&, const ABuffer&);
private:
struct ASMixerBuffer {
- ASMixerBuffer(const NonnullRefPtr<ABuffer>&, ASClientConnection&, int buffer_id = -1);
+ ASMixerBuffer(const NonnullRefPtr<ABuffer>&, ASClientConnection&);
NonnullRefPtr<ABuffer> buffer;
int pos { 0 };
bool done { false };
WeakPtr<ASClientConnection> m_client;
- int m_buffer_id { -1 };
};
Vector<ASMixerBuffer> m_pending_mixing;