Commit cafdd029 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

oss: use SNDCTL_DSP_HALT in Flush() as in Stop() (fixes #9760)

(There does not appear to be much logic there, this might be a driver
issue or confusing documentation.)
parent 74bb926b
......@@ -282,7 +282,7 @@ static void Flush (audio_output_t *aout, bool wait)
if (wait)
return; /* drain is implicit with OSS */
ioctl (fd, SNDCTL_DSP_HALT_OUTPUT, NULL);
ioctl (fd, SNDCTL_DSP_HALT, NULL);
}
static int VolumeSync (audio_output_t *aout)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment