mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
compilation fix
This commit is contained in:
parent
0c468bf109
commit
509e30494f
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ static int snd_pcm_hw_status(snd_pcm_t *pcm, snd_pcm_status_t * status)
|
|||
static snd_pcm_state_t snd_pcm_hw_state(snd_pcm_t *pcm)
|
||||
{
|
||||
snd_pcm_hw_t *hw = pcm->private_data;
|
||||
int err = sync_ptr_lite(hw, 0);
|
||||
int err = sync_ptr(hw, 0);
|
||||
if (err < 0)
|
||||
return err;
|
||||
return (snd_pcm_state_t) hw->mmap_status->state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue