#include <ALSAPlugin.H>
|
| | ALSAPlugin () |
| |
| virtual | ~ALSAPlugin () |
| |
| virtual int | parseConfig (const char *name, snd_config_t *conf, snd_pcm_stream_t stream, int mode) |
| |
| virtual int | start () |
| | start method More...
|
| |
| virtual int | stop () |
| | stop method More...
|
| |
| virtual snd_pcm_sframes_t | pointer ()=0 |
| | virtual pointer method More...
|
| |
| int | create (const char *name, snd_pcm_stream_t stream, int mode) |
| |
| virtual snd_pcm_sframes_t | transfer (const snd_pcm_channel_area_t *areas, snd_pcm_uframes_t offset, snd_pcm_uframes_t size) |
| |
| virtual snd_pcm_t * | getPCM () |
| |
| snd_pcm_t ** | getPCMP () |
| |
| int | getHWParams () |
| |
| int | fillParams () |
| |
| int | resetParams () |
| |
| | Hardware () |
| |
| virtual | ~Hardware () |
| |
| void | copyFrom (snd_pcm_hw_params_t *hParamsIn) |
| |
| int | rateResample (unsigned int state) |
| |
| int | setAccess (snd_pcm_access_t access) |
| |
| int | getAccess (void) |
| |
| int | setFormat (snd_pcm_format_t format) |
| |
| int | getFormat (snd_pcm_format_t &format) |
| |
| int | getFormatPhysicalWidth () |
| |
| int | setChannels (unsigned int cnt) |
| |
| int | getChannels () |
| |
| int | getMaxChannels () |
| |
| int | setSampleRate (unsigned int rrate, int dir=0) |
| |
| int | getSampleRate (int dir=0) |
| |
| int | getPeriodSize (snd_pcm_uframes_t *p, int *dir=NULL) |
| |
| int | getPeriodSize (int *dir=NULL) |
| |
| int | setPeriodSize (snd_pcm_uframes_t *p, int *dir=0) |
| |
| int | setBufSize (snd_pcm_uframes_t bufSize) |
| |
| const char * | formatDescription (const snd_pcm_format_t format) const |
| |
| const char * | getDeviceName () |
| |
| int | dumpHWParams () |
| |
| | PCM () |
| |
| virtual | ~PCM () |
| |
| snd_pcm_t ** | getPCMP () |
| |
| int | open (const char *device, snd_pcm_stream_t streamType, const int block) |
| |
| int | close () |
| |
| int | drop () |
| |
| int | drain () |
| |
| int | reset () |
| |
| void | enableLog () |
| |
| int | logEnabled () |
| |
| int | dumpStatus () |
| |
| int | dumpPCM () |
| |
| int | dumpSetup () |
| |
| int | dumpHWSetup () |
| |
| int | dumpSWSetup () |
| |
| int | start () |
| |
| snd_pcm_state_t | getState () |
| |
| const char * | getStateName () |
| |
| bool | prepared () |
| |
| bool | opened () |
| |
| bool | isSetup () |
| |
| bool | running () |
| |
| bool | hasXrun () |
| |
| bool | draining () |
| |
| bool | paused () |
| |
| bool | suspended () |
| |
| bool | disconnected () |
| |
Definition at line 33 of file ALSAPlugin.H.
◆ ALSAPlugin()
| ALSA::ALSAPlugin::ALSAPlugin |
( |
| ) |
|
|
inline |
◆ ~ALSAPlugin()
| virtual ALSA::ALSAPlugin::~ALSAPlugin |
( |
| ) |
|
|
inlinevirtual |
◆ create()
| int ALSA::ALSAPlugin::create |
( |
const char * |
name, |
|
|
snd_pcm_stream_t |
stream, |
|
|
int |
mode |
|
) |
| |
|
inline |
This method creates the ioplug
Definition at line 119 of file ALSAPlugin.H.
◆ getPCM()
| virtual snd_pcm_t* ALSA::ALSAPlugin::getPCM |
( |
| ) |
|
|
inlinevirtual |
◆ getPCMP()
| snd_pcm_t** ALSA::ALSAPlugin::getPCMP |
( |
| ) |
|
|
inline |
This method returns a pointer to the pcm struct
Definition at line 137 of file ALSAPlugin.H.
◆ HWParams()
| virtual int ALSA::ALSAPlugin::HWParams |
( |
snd_pcm_hw_params_t * |
params | ) |
|
|
inlineprivatevirtual |
◆ HWParams_static()
| static int ALSA::ALSAPlugin::HWParams_static |
( |
snd_pcm_ioplug_t * |
io, |
|
|
snd_pcm_hw_params_t * |
params |
|
) |
| |
|
inlinestaticprivate |
◆ parseConfig()
| virtual int ALSA::ALSAPlugin::parseConfig |
( |
const char * |
name, |
|
|
snd_config_t * |
conf, |
|
|
snd_pcm_stream_t |
stream, |
|
|
int |
mode |
|
) |
| |
|
inlinevirtual |
Parse the snd_config_t passed to the plugin
- Returns
- 0 on success, < 0 on failure
Definition at line 91 of file ALSAPlugin.H.
◆ pointer()
| virtual snd_pcm_sframes_t ALSA::ALSAPlugin::pointer |
( |
| ) |
|
|
pure virtual |
◆ setName()
| void ALSA::ALSAPlugin::setName |
( |
const char * |
name | ) |
|
|
inlineprotected |
◆ start()
| virtual int ALSA::ALSAPlugin::start |
( |
| ) |
|
|
inlinevirtual |
◆ static_cast()
◆ STATICFN() [1/2]
| ALSA::ALSAPlugin::STATICFN |
( |
int |
, |
|
|
start |
|
|
) |
| |
|
private |
◆ STATICFN() [2/2]
| stop ALSA::ALSAPlugin::STATICFN |
( |
snd_pcm_sframes_t |
, |
|
|
pointer |
|
|
) |
| |
|
private |
◆ stop()
| virtual int ALSA::ALSAPlugin::stop |
( |
| ) |
|
|
inlinevirtual |
◆ transfer()
| virtual snd_pcm_sframes_t ALSA::ALSAPlugin::transfer |
( |
const snd_pcm_channel_area_t * |
areas, |
|
|
snd_pcm_uframes_t |
offset, |
|
|
snd_pcm_uframes_t |
size |
|
) |
| |
|
inlinevirtual |
◆ areas
| stop const snd_pcm_channel_area_t* ALSA::ALSAPlugin::areas |
|
private |
◆ io
| snd_pcm_ioplug_t ALSA::ALSAPlugin::io |
|
private |
◆ ioplugCallback
| snd_pcm_ioplug_callback_t ALSA::ALSAPlugin::ioplugCallback |
|
private |
◆ offset
| stop const snd_pcm_channel_area_t snd_pcm_uframes_t ALSA::ALSAPlugin::offset |
|
private |
◆ size
| stop const snd_pcm_channel_area_t snd_pcm_uframes_t snd_pcm_uframes_t ALSA::ALSAPlugin::size |
|
private |
Initial value:{
std::cout<<__func__<<std::endl
Definition at line 42 of file ALSAPlugin.H.
◆ slave
| snd_pcm_t* ALSA::ALSAPlugin::slave |
|
protected |
The documentation for this class was generated from the following file: