Commit 6b968bee authored by Max Kellermann's avatar Max Kellermann

output/alsa: convert to class, make attributes private

parent f68dd1bf
......@@ -50,7 +50,9 @@ static constexpr unsigned MPD_ALSA_BUFFER_TIME_US = 500000;
static constexpr unsigned MPD_ALSA_RETRY_NR = 5;
struct AlsaOutput {
class AlsaOutput {
friend struct AudioOutputWrapper<AlsaOutput>;
AudioOutput base;
Manual<PcmExport> pcm_export;
......@@ -121,6 +123,7 @@ struct AlsaOutput {
*/
uint8_t *silence;
public:
AlsaOutput(const ConfigBlock &block);
~AlsaOutput() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment