mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00

Fork the IPC Connection classes into Server:: and Client::ConnectionNG. The new IPC messages are serialized very snugly instead of using the same generic data structure for all messages. Remove ASAPI.h since we now generate all of it from AudioServer.ipc :^)
18 lines
402 B
C++
18 lines
402 B
C++
#pragma once
|
|
|
|
#include <AudioServer/AudioServerEndpoint.h>
|
|
#include <LibCore/CoreIPCClient.h>
|
|
|
|
class ABuffer;
|
|
|
|
class AClientConnection : public IPC::Client::ConnectionNG<AudioServerEndpoint> {
|
|
C_OBJECT(AClientConnection)
|
|
public:
|
|
AClientConnection();
|
|
|
|
virtual void handshake() override;
|
|
void enqueue(const ABuffer&);
|
|
|
|
int get_main_mix_volume();
|
|
void set_main_mix_volume(int);
|
|
};
|