Platform_NULL_Sound_SoundStream.h
Go to the documentation of this file.00001 00011 #ifndef __Platform_NULL_Sound_SoundStream_H__ 00012 #define __Platform_NULL_Sound_SoundStream_H__ 00013 00014 // Includes 00015 #include "Platform_Sound_SoundStream.h" 00016 00017 // Forward declares 00018 00019 00020 // Platform_NULL_Sound_SoundStream 00021 class Platform_NULL_Sound_SoundStream : public Platform_Sound_SoundStream 00022 { 00023 public: 00024 Platform_NULL_Sound_SoundStream( 00025 int channels, 00026 int frequency, 00027 int bitsPerSample, 00028 int size 00029 ); 00030 00031 virtual void Play(); 00032 virtual void Stop(); 00033 00034 virtual int GetPosition(); 00035 virtual void SetPosition(int position); 00036 00037 virtual void CopySoundToBuffer(int bufferOffset, const void* soundData, int bytesToCopy); 00038 virtual void ClearBuffer(int bufferOffset, int bytesToClear); 00039 00040 virtual int GetChannels(); 00041 virtual int GetFrequency(); 00042 virtual int GetBitsPerSample(); 00043 virtual int GetSize(); 00044 00045 virtual void Update(); 00046 00047 virtual void SetVolume(float level); 00048 virtual float GetVolume(); 00049 00050 int channels_; 00051 int frequency_; 00052 int bitsPerSample_; 00053 int size_; 00054 }; 00055 00056 #endif /* __Platform_NULL_Sound_SoundStream_H__ */
Reproduction/republishing of any material on this site without permission is strictly prohibited.
