mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05: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
|
|
@ -72,7 +72,9 @@ typedef struct {
|
|||
} u;
|
||||
} snd_pcm_direct_share_t;
|
||||
|
||||
typedef struct {
|
||||
typedef struct snd_pcm_direct snd_pcm_direct_t;
|
||||
|
||||
struct snd_pcm_direct {
|
||||
snd_pcm_type_t type; /* type (dmix, dsnoop, dshare) */
|
||||
key_t ipc_key; /* IPC key for semaphore and memory */
|
||||
int semid; /* IPC global semaphore identification */
|
||||
|
|
@ -109,7 +111,8 @@ typedef struct {
|
|||
unsigned long long chn_mask;
|
||||
} dshare;
|
||||
} u;
|
||||
} snd_pcm_direct_t;
|
||||
void (*server_free)(snd_pcm_direct_t *direct);
|
||||
};
|
||||
|
||||
int snd_pcm_direct_semaphore_create_or_connect(snd_pcm_direct_t *dmix);
|
||||
int snd_pcm_direct_semaphore_discard(snd_pcm_direct_t *dmix);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue