diff options
Diffstat (limited to 'include/pcm_extplug.h')
-rw-r--r-- | include/pcm_extplug.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/pcm_extplug.h b/include/pcm_extplug.h index b14c5be4..4d2543fe 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 1 /**< Protocol tiny version */ +#define SND_PCM_EXTPLUG_VERSION_TINY 2 /**< Protocol tiny version */ /** * Filter-plugin protocol version */ @@ -151,6 +151,18 @@ struct snd_pcm_extplug_callback { * init; optional initialization called at prepare or reset */ int (*init)(snd_pcm_extplug_t *ext); + /** + * query the channel maps; optional; since v1.0.2 + */ + int **(*query_chmaps)(snd_pcm_extplug_t *ext); + /** + * get the channel map; optional; since v1.0.2 + */ + int *(*get_chmap)(snd_pcm_extplug_t *ext); + /** + * set the channel map; optional; since v1.0.2 + */ + int (*set_chmap)(snd_pcm_extplug_t *ext, const int *map); }; |