mirror of
https://github.com/mpv-player/mpv
synced 2025-01-29 11:12:56 +00:00
ao_alsa: remove log message on pausing
This was annoying.
This commit is contained in:
parent
1d2d649281
commit
3fb161ecd2
@ -713,6 +713,8 @@ static int init_device(struct ao *ao, bool second_try)
|
||||
/* end setting sw-params */
|
||||
|
||||
p->can_pause = snd_pcm_hw_params_can_pause(alsa_hwparams);
|
||||
if (p->can_pause)
|
||||
MP_VERBOSE(ao, "pausing supported by device\n");
|
||||
|
||||
return INIT_OK;
|
||||
|
||||
@ -795,7 +797,6 @@ static void audio_pause(struct ao *ao)
|
||||
CHECK_ALSA_ERROR("pcm pause error");
|
||||
}
|
||||
} else {
|
||||
MP_VERBOSE(ao, "pause not supported by hardware\n");
|
||||
if (snd_pcm_delay(p->alsa, &p->prepause_frames) < 0
|
||||
|| p->prepause_frames < 0)
|
||||
p->prepause_frames = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user