Add documentation

This commit is contained in:
badaix 2025-02-16 21:42:06 +01:00 committed by Johannes Pohl
parent fcaa2994af
commit efd050a716
25 changed files with 140 additions and 80 deletions

View file

@ -1,6 +1,6 @@
/***
This file is part of snapcast
Copyright (C) 2014-2024 Johannes Pohl
Copyright (C) 2014-2025 Johannes Pohl
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -37,11 +37,13 @@ namespace encoder
class NullEncoder : public Encoder
{
public:
NullEncoder(const std::string& codecOptions = "");
/// c'tor
explicit NullEncoder(std::string codecOptions);
void encode(const msg::PcmChunk& chunk) override;
std::string name() const override;
protected:
private:
void initEncoder() override;
};