mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 02:26:31 +01:00
Modified according the power management update
This commit is contained in:
parent
bfa0a061ed
commit
edf18fe4f3
1 changed files with 1 additions and 1 deletions
|
@ -875,7 +875,7 @@ static void suspend(void)
|
|||
|
||||
if (!quiet_mode)
|
||||
fprintf(stderr, "Suspended... Trying resume..."); fflush(stderr);
|
||||
while ((res = snd_pcm_resume(handle)) == -EBUSY)
|
||||
while ((res = snd_pcm_resume(handle)) == -EAGAIN)
|
||||
sleep(1); /* wait until suspend flag is not released */
|
||||
if (res < 0) {
|
||||
if (!quiet_mode)
|
||||
|
|
Loading…
Reference in a new issue