Theora Playback Library
1.0.0
Main Page
Classes
Files
File List
File Members
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
theoraplayer
include
theoraplayer
TheoraAudioInterface.h
Go to the documentation of this file.
1
/************************************************************************************
2
This source file is part of the Theora Video Playback Library
3
For latest info, see http://libtheoraplayer.sourceforge.net/
4
*************************************************************************************
5
Copyright (c) 2008-2013 Kresimir Spes (kspes@cateia.com)
6
This program is free software; you can redistribute it and/or modify it under
7
the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php
8
*************************************************************************************/
9
#ifndef _TheoraAudioInterface_h
10
#define _TheoraAudioInterface_h
11
12
#include "
TheoraExport.h
"
13
14
class
TheoraVideoClip
;
15
16
22
class
TheoraPlayerExport
TheoraAudioInterface
23
{
24
public
:
26
int
mFreq
;
28
int
mNumChannels
;
30
TheoraVideoClip
*
mClip
;
31
32
TheoraAudioInterface
(
TheoraVideoClip
* owner,
int
nChannels,
int
freq);
33
virtual
~
TheoraAudioInterface
();
35
39
virtual
void
insertData(
float
* data,
int
nSamples)=0;
40
};
41
42
class
TheoraPlayerExport
TheoraAudioInterfaceFactory
43
{
44
public
:
46
virtual
TheoraAudioInterface
* createInstance(
TheoraVideoClip
* owner,
int
nChannels,
int
freq) = 0;
47
};
48
49
50
#endif
51
Generated by
1.8.3.1