AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ISoundPipe Class Reference

ISoundPipe accepts sound data and outputs sound samples, useful for decoded audio passed in packets. More...

#include <AUI/Audio/ISoundPipe.h>

Additional Inherited Members#

- Public Member Functions inherited from ISoundInputStream
virtual AAudioFormat info ()=0
 Get general info about sound stream.
 
- Public Member Functions inherited from IInputStream
virtual size_t read (char *dst, size_t size)=0
 Reads up to size bytes from stream. Blocking (waiting for new data) is allowed.
 
size_t read (std::span< std::byte > destination)
 Reads up to destination.size() bytes from stream. Blocking (waiting for new data) is allowed.
 
void readExact (char *dst, size_t size)
 Reads exact size bytes from stream. Blocking (waiting for new data) is allowed.
 
template<typename T>
deserialize ()
 
template<typename T>
IInputStreamoperator>> (T &dst)
 
template<typename T>
IInputStreamoperator>> (T &&dst)
 
- Public Member Functions inherited from IOutputStream
virtual void write (const char *src, size_t size)=0
 Writes exact size bytes to stream. Blocking (waiting for write all data) is allowed.
 
template<typename T>
void write (const T &t)
 
template<typename T>
IOutputStreamoperator<< (const T &t)
 
- Static Public Member Functions inherited from ISoundInputStream
static _< ISoundInputStreamfromUrl (const AUrl &url)
 

Detailed Description#

Note
Pipe should decode audio on write() and give ready samples on read()