2016-01-04 07:10:56 +01:00
|
|
|
"""
|
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>
|
2016-01-04 07:10:56 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
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.
|
|
|
|
"""
|
|
|
|
|
2016-01-04 07:10:56 +01:00
|
|
|
__name__ = 'Audio'
|
2016-01-08 23:49:06 +01:00
|
|
|
|
|
|
|
#: Valid extensions for audio files.
|
2016-01-08 02:10:55 +01:00
|
|
|
extensions = ('m4a',)
|
2016-01-04 07:10:56 +01:00
|
|
|
|
|
|
|
def __init__(self, source=None):
|
|
|
|
super(Audio, self).__init__(source)
|