Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Platform_NULL_Sound Class Reference

Inheritance diagram for Platform_NULL_Sound:

Platform_Sound

List of all members.


Public Member Functions

 Platform_NULL_Sound ()
virtual
Platform_Sound_SoundStream
CreateSoundStream (int channels, int frequency, int bitsPerSample, int size)

Detailed Description

Author:
Mattias Gustavsson

Definition at line 19 of file Platform_NULL_Sound.h.


Constructor & Destructor Documentation

Platform_NULL_Sound::Platform_NULL_Sound (  ) 

Definition at line 9 of file Platform_NULL_Sound.cpp.


Member Function Documentation

Platform_Sound_SoundStream * Platform_NULL_Sound::CreateSoundStream ( int  channels,
int  frequency,
int  bitsPerSample,
int  size 
) [virtual]

Creates a Platform_Sound_SoundStream instance, with the specified number of channels (1=mono, 2=stereo), frequency (number of samples per second) and bits per sample (8 or 16), and of the specified size in bytes. A sound stream provides basic functionality for streaming sound data to the sound card, and works by having the calling application fill and refill the sound-stream buffer with new sound data as needed. The returned instance should be destroyed by the caller (using the delete keyword). when it is no longer needed.

See the documentation for Platform_Sound_SoundStream for further information.

Returns:
A new sound stream object, or 0 if no more sound streams could be created.

Implements Platform_Sound.

Definition at line 16 of file Platform_NULL_Sound.cpp.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.