#include <H3DSoundStreamNode.h>
Inheritance diagram for H3D::H3DSoundStreamNode:

Public Member Functions | |
| virtual void | reset ()=0 |
| Reset the stream to the beginning of the sound stream. | |
| virtual unsigned int | read (char *buffer, unsigned int size)=0 |
| Read PCM data from the stream into the buffer. | |
| virtual unsigned int | bitsPerSample ()=0 |
| Returns the number of bits for a sample. | |
| virtual unsigned int | samplesPerSecond ()=0 |
| Returns the number of samples per second for the current PCM data stream. | |
| virtual unsigned int | nrChannels ()=0 |
| Returns the number of channels per second for the current PCM data stream. | |
| virtual unsigned int | totalDataSize ()=0 |
| Returns the total size of the PCM data of the current stream. | |
| virtual H3DTime | duration ()=0 |
| The duration in seconds for the the PCM data. | |
|
||||||||||||
|
Read PCM data from the stream into the buffer.
|
1.4.5