mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-14 22:42:52 +01:00
beginning of documentation
This commit is contained in:
parent
2676190d3a
commit
961cd3f133
@ -86,7 +86,19 @@ public:
|
||||
class StreamManager {
|
||||
friend AudioStream;
|
||||
public:
|
||||
/**
|
||||
* Register an audio stream.
|
||||
* @param name Name of the stream.
|
||||
* @param stream DSP stream that outputs the audio.
|
||||
* @param samplerate Samplerate of the audio data.
|
||||
* @return Audio stream instance.
|
||||
*/
|
||||
std::shared_ptr<AudioStream> registerStream(const std::string& name, dsp::stream<dsp::stereo_t>* stream, double samplerate);
|
||||
|
||||
/**
|
||||
* Unregister an audio stream.
|
||||
*
|
||||
*/
|
||||
void unregisterStream(const std::string& name);
|
||||
|
||||
void registerSinkProvider(const std::string& name, SinkProvider* provider);
|
||||
|
Loading…
Reference in New Issue
Block a user