diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-03-20 11:26:16 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2006-03-20 11:26:16 +0000 |
commit | 5c0674aee33d8672ced5f990f505bc543cddc8c5 (patch) | |
tree | b16d72392a850dfa72c74370c868f4407b298779 /include | |
parent | 38a3aa096c173ccd2020794c0ba6e68d32f0b337 (diff) | |
download | alsa-lib-5c0674aee33d8672ced5f990f505bc543cddc8c5.tar.gz |
Add init callback to extplug
- Fix the hw constraints of extplug
- Add init callback to extplug
Diffstat (limited to 'include')
-rw-r--r-- | include/pcm_extplug.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/pcm_extplug.h b/include/pcm_extplug.h index 7a822d8f..b14c5be4 100644 --- a/include/pcm_extplug.h +++ b/include/pcm_extplug.h @@ -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); }; |