Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AudioTransition Class Reference

Public interface for all audio transition classes. More...

#include <audio_transitions.h>

Inheritance diagram for AudioTransition:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~AudioTransition ()
virtual char * GetDescription () const =0
virtual void GetFrame (int16_t **aframe, int16_t **bframe, int frequency, int channels, int &samples, double position, double frame_delta)=0
virtual bool IsUsable ()
virtual bool IsBFrameConsumer () const

Detailed Description

Public interface for all audio transition classes.

This contains 2 methods:

The aframes and bframes are those samples determined from the left and right part of a transition respectively. Confusingly, the bframes may be a duplicate of the aframes (in all cases other than when 'Image Transitions to frames' is selected...), and in many of the implemented cases, the bframes aren't even used... (the Dub option for example uses neither... the reason for this is that the Dub is incomplete... it should allow more than just overwrite from a wav, and should mix and introduce at start and end... in which case, the bframes are important).

It should also be noted that any audio obtained from alternative sources (such as wavs) should resample to the input sample provided... no functionality is exposed from kino to do this in the plugin mechanism in this release.

In effect, the audio transitions and filters are poorly implemented, but the interface shouldn't restrict the creation of comprehensive plugins.

Definition at line 59 of file audio_transitions.h.


Constructor & Destructor Documentation

virtual AudioTransition::~AudioTransition  )  [inline, virtual]
 

Definition at line 62 of file audio_transitions.h.

00062 {}


Member Function Documentation

virtual char* AudioTransition::GetDescription  )  const [pure virtual]
 

Implemented in AudioNone, AudioSwitch, and GDKAudioTransitionAdapter.

Referenced by GDKAudioTransitionAdapter::GetDescription(), and GDKAudioTransitionRepository::Register().

virtual void AudioTransition::GetFrame int16_t **  aframe,
int16_t **  bframe,
int  frequency,
int  channels,
int &  samples,
double  position,
double  frame_delta
[pure virtual]
 

Implemented in AudioNone, AudioSwitch, and GDKAudioTransitionAdapter.

Referenced by PageMagickAudioTransition::GetFrame(), and GDKAudioTransitionAdapter::GetFrame().

virtual bool AudioTransition::IsBFrameConsumer  )  const [inline, virtual]
 

Definition at line 66 of file audio_transitions.h.

Referenced by PageMagickAudioTransition::GetFrame().

00066 { return true; }

virtual bool AudioTransition::IsUsable  )  [inline, virtual]
 

Definition at line 65 of file audio_transitions.h.

Referenced by PluginAudioTransitionRepository::InstallPlugins().

00065 { return true; }


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 22:12:46 2007 for Kino by  doxygen 1.4.2