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

GDKAudioImport Class Reference

Public interface for the audio import classes. More...

#include <image_create.h>

Inheritance diagram for GDKAudioImport:

Inheritance graph
[legend]
Collaboration diagram for GDKAudioImport:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~GDKAudioImport ()
virtual void CreateAudio (int16_t **buffer, short int *channels, int *frequency, int *samples)=0

Detailed Description

Public interface for the audio import classes.

This interface provides an additional method to allow the creator to provide audio information as well.

Note that CreateFrame is called before CreateAudio and the channels and frequency returned from here must be specified consistently over all calls and must be 1 or 2 channels and 32000, 44100 or 48000 khz. The number of samples per frame must match the frequency and the PAL/NTSC usage (you can detect this from the height requested in the previous CreateFrame - 576 for PAL, 480 for NTSC). Number of Samples should subsequently be frequency / 25 for PAL or frequency / 30 for NTSC.

Definition at line 93 of file image_create.h.


Constructor & Destructor Documentation

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

Definition at line 96 of file image_create.h.

00096 {}


Member Function Documentation

virtual void GDKAudioImport::CreateAudio int16_t **  buffer,
short int *  channels,
int *  frequency,
int *  samples
[pure virtual]
 

Implemented in ImageCreateColour.


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