#include <image_create.h>
Inheritance diagram for GDKAudioImport:


Public Member Functions | |
| virtual | ~GDKAudioImport () |
| virtual void | CreateAudio (int16_t **buffer, short int *channels, int *frequency, int *samples)=0 |
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.
|
|
Definition at line 96 of file image_create.h. 00096 {}
|
|
||||||||||||||||||||
|
Implemented in ImageCreateColour. |
1.4.2