We will now review a very simple example demonstrating various playback control techniques. The same example will be used in the next few sections. This exercise will be an ideal preparation while working on the project 'Extract Audio Using Playback Controls'. So let's get started!
Download the file
PlaybackControlExamples.py
from the Packt website. This file has all the necessary code that illustrates various playback controls. The overall class and its methods are illustrated below for reference. See the source file to know more about each of these methods.class AudioPlayer: def __init__(self): pass def constructPipeline(self): pass def connectSignals(self): pass def decodebin_pad_added(self, decodebin, pad ): pass def play(self): pass def runExamples(self): pass def runPauseExample(self): pass def runStopExample(self): pass def runSeekExample...