[vlc-commits] adummy: implement dummy pause
Rémi Denis-Courmont
git at videolan.org
Sat May 5 17:46:01 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 5 18:26:07 2018 +0300| [76fb292965f02339abae83864da9bd1d0996b3bc] | committer: Rémi Denis-Courmont
adummy: implement dummy pause
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=76fb292965f02339abae83864da9bd1d0996b3bc
---
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 ac1ea71110..07b72f15d1 100644
--- a/modules/audio_output/adummy.c
+++ b/modules/audio_output/adummy.c
@@ -48,6 +48,11 @@ static void Play(audio_output_t *aout, block_t *block, mtime_t date)
(void) aout; (void) date;
}
+static void Pause(audio_output_t *aout, bool paused, mtime_t date)
+{
+ (void) aout; (void) paused; (void) date;
+}
+
static void Flush(audio_output_t *aout, bool wait)
{
(void) aout; (void) wait;
@@ -91,7 +96,7 @@ static int Open(vlc_object_t *obj)
aout->start = Start;
aout->time_get = aout_TimeGetDefault;
aout->play = Play;
- aout->pause = NULL;
+ aout->pause = Pause;
aout->flush = Flush;
aout->stop = NULL;
aout->volume_set = NULL;
More information about the vlc-commits
mailing list