From dbb7927a1e8ceeff959500591e9e57d08d85baeb Mon Sep 17 00:00:00 2001
From: wm4 <wm4@nowhere>
Date: Wed, 6 Nov 2013 22:27:14 +0100
Subject: [PATCH] ao_oss: fix previous ao_oss commit

Basically I introduced an inverted condition, and the line removed was
inactive before commit ce72aaa.
---
 audio/out/ao_oss.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/audio/out/ao_oss.c b/audio/out/ao_oss.c
index 0461bdcac1..283b960255 100644
--- a/audio/out/ao_oss.c
+++ b/audio/out/ao_oss.c
@@ -407,7 +407,6 @@ static void uninit(struct ao *ao, bool immed)
 static void close_device(struct ao *ao)
 {
     struct priv *p = ao->priv;
-    ioctl(p->audio_fd, SNDCTL_DSP_RESET, NULL);
     close(p->audio_fd);
     p->audio_fd = -1;
 }