Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::PcmCapabilities Struct Reference

What one direction (playback or capture) of a device can do. More...

#include <pcm_capabilities.hpp>

Public Attributes

unsigned rate_min = 0
unsigned rate_max = 0
std::vector< unsigned > accepted_rates
 Rates the driver confirmed one by one.
bool rates_tested = false
unsigned channels_min = 0
unsigned channels_max = 0
unsigned long period_min = 0
 Frames per callback the driver will accept.
unsigned long period_max = 0
unsigned long buffer_max = 0
 Largest total buffer in frames; 0 when the driver gives no bound.

Detailed Description

What one direction (playback or capture) of a device can do.

Member Data Documentation

◆ accepted_rates

std::vector<unsigned> pulp::audio::PcmCapabilities::accepted_rates

Rates the driver confirmed one by one.

Only meaningful when rates_tested is true.

◆ buffer_max

unsigned long pulp::audio::PcmCapabilities::buffer_max = 0

Largest total buffer in frames; 0 when the driver gives no bound.

◆ channels_max

unsigned pulp::audio::PcmCapabilities::channels_max = 0

◆ channels_min

unsigned pulp::audio::PcmCapabilities::channels_min = 0

◆ period_max

unsigned long pulp::audio::PcmCapabilities::period_max = 0

◆ period_min

unsigned long pulp::audio::PcmCapabilities::period_min = 0

Frames per callback the driver will accept.

◆ rate_max

unsigned pulp::audio::PcmCapabilities::rate_max = 0

◆ rate_min

unsigned pulp::audio::PcmCapabilities::rate_min = 0

◆ rates_tested

bool pulp::audio::PcmCapabilities::rates_tested = false

The documentation for this struct was generated from the following file: