[vlc-commits] oss: use SNDCTL_DSP_HALT in Flush() as in Stop() (fixes #9760)
Rémi Denis-Courmont
git at videolan.org
Mon Nov 4 22:10:37 CET 2013
vlc/vlc-2.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 4 23:09:06 2013 +0200| [b8ea5f71789911800b5cdb69ec072e1eb1ac4e8e] | committer: 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.)
(cherry picked from commit cafdd029a182779f8e93aeece0406d5a689f9612)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=b8ea5f71789911800b5cdb69ec072e1eb1ac4e8e
---
modules/audio_output/oss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index 69c6b60..940718f 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -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)
More information about the vlc-commits
mailing list