mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
pcm_share plugin: fix pcm->monotonic setup in open() function
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
a55e1ded99
commit
7a2cdb33c4
1 changed files with 1 additions and 1 deletions
|
|
@ -1529,7 +1529,7 @@ int snd_pcm_share_open(snd_pcm_t **pcmp, const char *name, const char *sname,
|
|||
pcm->private_data = share;
|
||||
pcm->poll_fd = share->client_socket;
|
||||
pcm->poll_events = stream == SND_PCM_STREAM_PLAYBACK ? POLLOUT : POLLIN;
|
||||
pcm->monotonic = pcm->monotonic;
|
||||
pcm->monotonic = slave->pcm->monotonic;
|
||||
snd_pcm_set_hw_ptr(pcm, &share->hw_ptr, -1, 0);
|
||||
snd_pcm_set_appl_ptr(pcm, &share->appl_ptr, -1, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue