Package timeside :: Module api :: Class IDecoder
[hide private]
[frames] | no frames]

Class IDecoder

source code

         object --+        
                  |        
component.Interface --+    
                      |    
             IProcessor --+
                          |
                         IDecoder

Decoder driver interface. Decoders are different of encoders in that a given driver may support several input formats, hence this interface doesn't export any static method, all informations are dynamic.

Instance Methods [hide private]
 
__init__(self, filename)
Create a new decoder for filename.
source code
 
format()
Return a user-friendly file format string
source code
 
encoding()
Return a user-friendly encoding string
source code
 
resolution()
Return the sample width (8, 16, etc..) of original audio file/stream, or None if not applicable/known
source code
 
metadata(self)
Return the metadata embedded into the encoded stream, if any.
source code

Inherited from IProcessor: blocksize, channels, mediainfo, post_process, process, release, samplerate, setup, totalframes

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from IProcessor: id, uuid

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename)
(Constructor)

source code 

Create a new decoder for filename.

Overrides: object.__init__