|
AUI Framework
master
Cross-platform base for C++ UI apps
|
Base interface for representing sound input streams of different formats. More...
#include <AUI/Audio/ISoundInputStream.h>
Public Member Functions# | |
| 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> | |
| T | deserialize () |
| template<typename T> | |
| IInputStream & | operator>> (T &dst) |
| template<typename T> | |
| IInputStream & | operator>> (T &&dst) |
Static Public Member Functions# | |
| static _< ISoundInputStream > | fromUrl (const AUrl &url) |
|
pure virtual |
Implemented in AOggSoundStream, AOpusSoundPipe, ARawSoundStream, ASoundResampler, AVorbisSoundPipe, and AWavSoundStream.