summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-22 20:49:43 +0100
committerJohns <johns98@gmx.net>2012-01-22 20:49:43 +0100
commit95462331757b001e45b4e5c9f9d31c0e63c0f2db (patch)
treead519f26d9ff278eb010bd03e7dbf47bf5a0c4fd /audio.c
parent98d2e0f7285c07aef879cd667eb54f68f7234a2b (diff)
downloadvdr-plugin-softhddevice-95462331757b001e45b4e5c9f9d31c0e63c0f2db.tar.gz
vdr-plugin-softhddevice-95462331757b001e45b4e5c9f9d31c0e63c0f2db.tar.bz2
Suspend can close and open video and audio device.
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio.c b/audio.c
index 77f95a5..a9f4251 100644
--- a/audio.c
+++ b/audio.c
@@ -1932,6 +1932,7 @@ static void AudioExitThread(void)
}
pthread_cond_destroy(&AudioStartCond);
pthread_mutex_destroy(&AudioMutex);
+ AudioThread = 0;
}
}
@@ -2187,6 +2188,7 @@ void AudioExit(void)
#ifdef USE_AUDIORING
AudioRingExit();
#endif
+ AudioRunning = 0;
}
#ifdef AUDIO_TEST