mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -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
|
|
@ -936,8 +936,8 @@ int _snd_pcm_dsnoop_open(snd_pcm_t **pcmp, const char *name,
|
|||
SND_PCM_HW_PARAM_CHANNELS, 0, ¶ms.channels,
|
||||
SND_PCM_HW_PARAM_PERIOD_TIME, 0, ¶ms.period_time,
|
||||
SND_PCM_HW_PARAM_BUFFER_TIME, 0, ¶ms.buffer_time,
|
||||
SND_PCM_HW_PARAM_PERIOD_SIZE, 0, &bsize,
|
||||
SND_PCM_HW_PARAM_BUFFER_SIZE, 0, &psize,
|
||||
SND_PCM_HW_PARAM_PERIOD_SIZE, 0, &psize,
|
||||
SND_PCM_HW_PARAM_BUFFER_SIZE, 0, &bsize,
|
||||
SND_PCM_HW_PARAM_PERIODS, 0, ¶ms.periods);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue