mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
- added shm area manager code
- fixed parsing of period_size/buffer_size options for dmix, dsnoop and dshare plugins
This commit is contained in:
parent
7340d20729
commit
573f85dc1d
11 changed files with 67 additions and 58 deletions
|
|
@ -114,6 +114,13 @@ int snd_async_handler_get_fd(snd_async_handler_t *handler);
|
|||
int snd_async_handler_get_signo(snd_async_handler_t *handler);
|
||||
void *snd_async_handler_get_callback_private(snd_async_handler_t *handler);
|
||||
|
||||
/**
|
||||
* \brief Internal structure for an IPC shm area manager.
|
||||
*/
|
||||
struct snd_shm_area *snd_shm_area_create(int shmid, void *ptr);
|
||||
struct snd_shm_area *snd_shm_area_share(struct snd_shm_area *area);
|
||||
int snd_shm_area_destroy(struct snd_shm_area *area);
|
||||
|
||||
/** Timestamp */
|
||||
typedef struct timeval snd_timestamp_t;
|
||||
/** Hi-res timestamp */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue