24#ifndef COIN_SOVRMLAUDIOCLIP_H
25#define COIN_SOVRMLAUDIOCLIP_H
27#include <Inventor/nodes/SoSubNode.h>
28#include <Inventor/nodes/SoNode.h>
29#include <Inventor/fields/SoSFString.h>
30#include <Inventor/fields/SoMFString.h>
31#include <Inventor/fields/SoSFBool.h>
32#include <Inventor/fields/SoSFFloat.h>
33#include <Inventor/fields/SoSFTime.h>
34#include <Inventor/lists/SbStringList.h>
35#include <Inventor/SbTime.h>
37class SoVRMLAudioClipP;
47 typedef size_t read_func(
void *datasource,
48 void *buffer,
int numframes,
int &channels,
50 typedef int seek_func(
void *datasource,
long offset,
int whence,
52 typedef long tell_func(
void *datasource,
54 typedef int close_func(
void *datasource,
57 static void initClass(
void);
69 static void setDefaultPauseBetweenTracks(
SbTime pause);
70 static SbTime getDefaultPauseBetweenTracks();
71 static void setDefaultIntroPause(
SbTime pause);
72 static SbTime getDefaultIntroPause();
73 static void setDefaultSampleRate(
int samplerate);
74 static int getDefaultSampleRate();
75 static void setDefaultTimerInterval(
SbTime interval);
76 static SbTime getDefaultTimerInterval();
81 size_t read(
void *datasource,
void *buffer,
int numframes,
int &channels);
82 int seek(
void *datasource,
long offset,
int whence);
83 long tell(
void *datasource);
84 int close(
void *datasource);
86 void setCallbacks(open_func *opencb, read_func *readcb, seek_func *seekcb,
87 tell_func *tellcb, close_func *closecb,
void *userdataptr);
95 SoVRMLAudioClipP *pimpl;
96 friend class SoVRMLAudioClipP;
The SbList class is a template container class for lists.
Definition SbList.h:61
The SbStringList class is a container for arrays of SbString pointers.
Definition SbStringList.h:31
The SbTime class instances represents time values.
Definition SbTime.h:41
static SbBool read(SoInput *input, SoBase *&base, SoType expectedtype)
Definition SoBase.cpp:1015
The SoMFString class is a container for SbString values.
Definition SoMFString.h:31
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoSFBool class is a container for an SbBool value.
Definition SoSFBool.h:30
The SoSFFloat class is a container for a floating point value.
Definition SoSFFloat.h:30
The SoSFString class is a container for an SbString.
Definition SoSFString.h:31
The SoSFTime class is a container for an SbTime value.
Definition SoSFTime.h:31
The SoVRMLAudioClip class is used to load and store audio data.
Definition SoVRMLAudioClip.h:40
SoMFString url
Definition SoVRMLAudioClip.h:65
SoSFBool loop
Definition SoVRMLAudioClip.h:61
SoSFTime duration_changed
Definition SoVRMLAudioClip.h:91
SoSFFloat pitch
Definition SoVRMLAudioClip.h:62
SoSFBool isActive
Definition SoVRMLAudioClip.h:92
SoSFString description
Definition SoVRMLAudioClip.h:60
SoSFTime stopTime
Definition SoVRMLAudioClip.h:64
SoSFTime startTime
Definition SoVRMLAudioClip.h:63
#define SO_NODE_HEADER(classname)
Definition macros.dox:43