mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Add init callback to extplug
- Fix the hw constraints of extplug - Add init callback to extplug
This commit is contained in:
parent
38a3aa096c
commit
5c0674aee3
2 changed files with 50 additions and 24 deletions
|
|
@ -55,7 +55,7 @@ typedef struct snd_pcm_extplug_callback snd_pcm_extplug_callback_t;
|
|||
*/
|
||||
#define SND_PCM_EXTPLUG_VERSION_MAJOR 1 /**< Protocol major version */
|
||||
#define SND_PCM_EXTPLUG_VERSION_MINOR 0 /**< Protocol minor version */
|
||||
#define SND_PCM_EXTPLUG_VERSION_TINY 0 /**< Protocol tiny version */
|
||||
#define SND_PCM_EXTPLUG_VERSION_TINY 1 /**< Protocol tiny version */
|
||||
/**
|
||||
* Filter-plugin protocol version
|
||||
*/
|
||||
|
|
@ -147,6 +147,10 @@ struct snd_pcm_extplug_callback {
|
|||
* dump; optional
|
||||
*/
|
||||
void (*dump)(snd_pcm_extplug_t *ext, snd_output_t *out);
|
||||
/**
|
||||
* init; optional initialization called at prepare or reset
|
||||
*/
|
||||
int (*init)(snd_pcm_extplug_t *ext);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue