[vlc-commits] adummy: implement stop callback

Thomas Guillem git at videolan.org
Tue Mar 19 16:03:12 CET 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 19 15:52:14 2019 +0100| [f507898b57c3f891ec1f249c99d442f9f120c626] | committer: Thomas Guillem

adummy: implement stop callback

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f507898b57c3f891ec1f249c99d442f9f120c626
---

 modules/audio_output/adummy.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/modules/audio_output/adummy.c b/modules/audio_output/adummy.c
index d0889b8c08..657aed2bc9 100644
--- a/modules/audio_output/adummy.c
+++ b/modules/audio_output/adummy.c
@@ -88,6 +88,11 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
     return VLC_SUCCESS;
 }
 
+static void Stop(audio_output_t *aout)
+{
+    (void) aout;
+}
+
 static int Open(vlc_object_t *obj)
 {
     audio_output_t *aout = (audio_output_t *)obj;
@@ -97,7 +102,7 @@ static int Open(vlc_object_t *obj)
     aout->play = Play;
     aout->pause = Pause;
     aout->flush = Flush;
-    aout->stop = NULL;
+    aout->stop = Stop;
     aout->volume_set = NULL;
     aout->mute_set = NULL;
     return VLC_SUCCESS;



More information about the vlc-commits mailing list