mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Add snd_pcm_hw_params_get/set_export_buffer()
Add snd_pcm_hw_params_get/set_export_buffer() API functions. They control to ensure the buffer export to other processes. If this flag is set, the local buffer of a plugin is exported over IPC shm. Otherwise the buffer can be handled only locally (no shm). Also fixed Version file for 1.0.9.
This commit is contained in:
parent
18053076e2
commit
4d7c53d280
7 changed files with 65 additions and 12 deletions
|
|
@ -344,6 +344,7 @@ enum sndrv_pcm_hw_param {
|
|||
};
|
||||
|
||||
#define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1<<0) /* avoid rate resampling */
|
||||
#define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1<<1) /* export buffer */
|
||||
|
||||
struct sndrv_interval {
|
||||
unsigned int min, max;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue