summaryrefslogtreecommitdiff
path: root/Libraries/LibAudio/AClientConnection.h
blob: 312b8a22b55cdd404069189cd3a93dfe805cb848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <LibCore/CLocalSocket.h>
#include <LibCore/CNotifier.h>
#include <LibCore/CoreIPCClient.h>
#include <LibAudio/ASAPI.h>

class ABuffer;

class AClientConnection : public IPC::Client::Connection<ASAPI_ServerMessage, ASAPI_ClientMessage> {
public:
    AClientConnection();

    void handshake() override;
    void play(const ABuffer& buffer);
};