ordigi/elodie/media/audio.py

26 lines
546 B
Python
Raw Normal View History

"""
2016-01-08 23:49:06 +01:00
The audio module contains classes specifically for dealing with audio files.
The :class:`Audio` class inherits from the :class:`~elodie.media.video.Video`
class.
.. moduleauthor:: Jaisen Mathai <jaisen@jmathai.com>
"""
from video import Video
class Audio(Video):
2016-01-08 23:49:06 +01:00
"""An audio object.
:param str source: The fully qualified path to the audio file.
"""
__name__ = 'Audio'
2016-01-08 23:49:06 +01:00
#: Valid extensions for audio files.
extensions = ('m4a',)
def __init__(self, source=None):
super(Audio, self).__init__(source)