PortAudio information.
More...
#include <PortAudioStream.h>
◆ PortAudioConfig() [1/3]
◆ PortAudioConfig() [2/3]
◆ PortAudioConfig() [3/3]
◆ clear()
◆ copyFrom()
◆ equals()
Returns true if alt values are the same like the current values.
◆ equalsExSampleRate()
Checks if only the sample rate is different.
◆ logInfo()
| virtual void logInfo |
( |
const char * |
source = "" | ) |
|
|
inlinevirtualinherited |
◆ operator bool()
Returns true if all components are defined (no component is 0)
◆ operator!=()
Returns true if alt values are the different from the current values.
◆ operator==()
Returns true if alt values are the same like the current values.
◆ set()
Copies the values from info.
◆ setAudioInfo()
◆ bits_per_sample
Number of bits per sample (int16_t = 16 bits)
◆ buffer_count
◆ buffer_size
Size of a single buffer in bytes and the number of buffers - same buffer_size/buffer_count pattern used by I2SConfig/MiniAudioConfig. Together they define PortAudio's total internal buffering (buffer_size * buffer_count bytes, converted to frames per buffer internally) - a larger total adds latency but absorbs more jitter from a slow/bursty producer (e.g. this project's synchronous demux+decode+write loops), reducing "output underflowed" warnings. buffer_size 0 (default) leaves it to PortAudio's own default (paFramesPerBufferUnspecified).
◆ channels
Number of channels: 2=stereo, 1=mono.
◆ is_input
◆ is_output
◆ sample_rate
The documentation for this class was generated from the following file: