mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
Add some documentation
This commit is contained in:
parent
30a5ed7389
commit
2b6ad6b90b
1 changed files with 8 additions and 0 deletions
|
@ -124,15 +124,23 @@ public:
|
|||
PcmStream(PcmStream::Listener* pcmListener, boost::asio::io_context& ioc, const ServerSettings& server_settings, const StreamUri& uri);
|
||||
virtual ~PcmStream();
|
||||
|
||||
/// Start the stream reader, init the encoder and optionally the stream control
|
||||
virtual void start();
|
||||
/// Stop the stream reader
|
||||
virtual void stop();
|
||||
|
||||
/// @return the codec header of the stream
|
||||
virtual std::shared_ptr<msg::CodecHeader> getHeader();
|
||||
|
||||
/// @return the uri of the stream, as configured in snapserver.conf
|
||||
virtual const StreamUri& getUri() const;
|
||||
/// @return the name of the stream
|
||||
virtual const std::string& getName() const;
|
||||
/// @return the id of the stream
|
||||
virtual const std::string& getId() const;
|
||||
/// @return the sample format of the stream
|
||||
virtual const SampleFormat& getSampleFormat() const;
|
||||
/// @return the codec of the stream
|
||||
virtual std::string getCodec() const;
|
||||
|
||||
const Properties& getProperties() const;
|
||||
|
|
Loading…
Add table
Reference in a new issue