AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ASoundResampler Class Referencefinal

Implements audio mixing and resampling. More...

#include <AUI/Audio/ASoundResampler.h>

Detailed Description

Warning
This API is experimental. Experimental APIs are likely to contain bugs, might be changed or removed in the future.

Member Function Documentation

> All members, including inherited

◆ info()

AAudioFormat ASoundResampler::info ( )
overridevirtual
Returns
AAudioFormat containing info about sound stream

Implements ISoundInputStream.

◆ read() [1/2]

size_t ASoundResampler::read ( char * dst,
size_t size )
overridevirtual
Sneaky exceptions
An implementation can throw any exception that subclasses AIOException.
Parameters
dstdestination buffer
sizedestination buffer's size. > 0
Returns
number of read bytes (including 0)

Implements IInputStream.

◆ read() [2/2]

size_t IInputStream::read ( std::span< std::byte > destination)
inline
Sneaky exceptions
An implementation can throw any exception that subclasses AIOException.
Parameters
destinationdestination buffer
Returns
number of read bytes (including 0)