#include <AudioAlsa.h>
|
| class | DeviceInfo |
| | Contains the relevant information about available ALSA devices. More...
|
◆ DeviceInfoCollection
◆ AudioAlsa()
| lmms::AudioAlsa::AudioAlsa |
( |
bool & | _success_ful, |
|
|
AudioEngine * | audioEngine ) |
◆ ~AudioAlsa()
| lmms::AudioAlsa::~AudioAlsa |
( |
| ) |
|
|
override |
◆ getAvailableDevices()
Creates a list of all available devices.
Uses the hints API of ALSA to collect all devices. This also includes plug devices. The reason to collect these and not the raw hardware devices (e.g. hw:0,0) is that hardware devices often have a very limited number of supported formats, etc. Plugs on the other hand are software components that map all types of formats and inputs to the hardware and therefore they are much more flexible and more what we want.
Further helpful info http://jan.newmarch.name/LinuxSound/Sampled/Alsa/.
- Returns
- A collection of devices found on the system.
◆ handleError()
| int lmms::AudioAlsa::handleError |
( |
int | _err | ) |
|
|
private |
◆ name()
| QString lmms::AudioAlsa::name |
( |
| ) |
|
|
inlinestatic |
◆ probeDevice()
| QString lmms::AudioAlsa::probeDevice |
( |
| ) |
|
|
static |
◆ run()
| void lmms::AudioAlsa::run |
( |
| ) |
|
|
overrideprivate |
◆ setHWParams()
| int lmms::AudioAlsa::setHWParams |
( |
const ch_cnt_t | _channels, |
|
|
snd_pcm_access_t | _access ) |
|
private |
◆ setSWParams()
| int lmms::AudioAlsa::setSWParams |
( |
| ) |
|
|
private |
◆ startProcessing()
| void lmms::AudioAlsa::startProcessing |
( |
| ) |
|
|
overrideprivatevirtual |
◆ stopProcessing()
| void lmms::AudioAlsa::stopProcessing |
( |
| ) |
|
|
overrideprivatevirtual |
◆ m_bufferSize
| snd_pcm_uframes_t lmms::AudioAlsa::m_bufferSize |
|
private |
◆ m_convertEndian
| bool lmms::AudioAlsa::m_convertEndian |
|
private |
◆ m_handle
| snd_pcm_t* lmms::AudioAlsa::m_handle |
|
private |
◆ m_hwParams
| snd_pcm_hw_params_t* lmms::AudioAlsa::m_hwParams |
|
private |
◆ m_periodSize
| snd_pcm_uframes_t lmms::AudioAlsa::m_periodSize |
|
private |
◆ m_swParams
| snd_pcm_sw_params_t* lmms::AudioAlsa::m_swParams |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/lmms-fork/lmms-fork/include/AudioAlsa.h
- /home/runner/work/lmms-fork/lmms-fork/src/core/audio/AudioAlsa.cpp