#include <Software.H>
Definition at line 23 of file Software.H.
◆ Software()
ALSA::Software::Software |
( |
void |
| ) |
|
|
inline |
◆ ~Software()
virtual ALSA::Software::~Software |
( |
void |
| ) |
|
|
inlinevirtual |
◆ dumpSWParams()
int ALSA::Software::dumpSWParams |
( |
| ) |
|
|
inline |
◆ getAddress()
void* ALSA::Software::getAddress |
( |
const snd_pcm_channel_area_t * |
areas, |
|
|
snd_pcm_uframes_t |
offset |
|
) |
| const |
|
inline |
Return the address to start reading/writing to give an ALSA areas type
- Parameters
-
areas | The ALSA provided snd_pcm_channel_area_t type |
- Returns
- The pointer to start reading or writing to/from
Definition at line 78 of file Software.H.
◆ getChannelCount()
template<typename SAMPLE_TYPE >
int ALSA::Software::getChannelCount |
( |
const snd_pcm_channel_area_t * |
areas | ) |
const |
|
inline |
Return the number of channels in an ALSA provided areas type
- Parameters
-
areas | The ALSA provided snd_pcm_channel_area_t type |
- Template Parameters
-
SAMPLE_TYPE | The type of the samples to derive the channel count for |
- Returns
- The number of channels
Definition at line 88 of file Software.H.
◆ getSWParams()
int ALSA::Software::getSWParams |
( |
| ) |
|
|
inline |
Get the software params
- Returns
- >= 0 on success
Definition at line 43 of file Software.H.
◆ setAvailMin()
int ALSA::Software::setAvailMin |
( |
snd_pcm_uframes_t |
cnt | ) |
|
|
inline |
Set avail min inside a software configuration container
- Parameters
-
cnt | Minimum avail frames to consider PCM ready |
- Returns
- >= 0 on success
Definition at line 69 of file Software.H.
◆ setSWParams()
int ALSA::Software::setSWParams |
( |
| ) |
|
|
inline |
Set the software params
- Returns
- >= 0 on success
Definition at line 51 of file Software.H.
◆ setSWThreshold()
int ALSA::Software::setSWThreshold |
( |
snd_pcm_uframes_t |
thresh | ) |
|
|
inline |
Set the start threshold
- Parameters
-
thresh | Start threshold in frames |
- Returns
- >= 0 on success
Definition at line 60 of file Software.H.
◆ sParams
snd_pcm_sw_params_t* ALSA::Software::sParams |
|
private |
The documentation for this class was generated from the following file: