Platform_NULL_Sound_SoundStream.cpp
Go to the documentation of this file.00001 //*** Platform_NULL_Sound_SoundStream.cpp *** 00002 00003 #include "Platform_NULL_Sound_SoundStream.h" 00004 00005 00006 //*** Constructor *** 00007 00008 Platform_NULL_Sound_SoundStream::Platform_NULL_Sound_SoundStream(int channels, int frequency, int bitsPerSample, int size): 00009 channels_(channels), 00010 frequency_(frequency), 00011 bitsPerSample_(bitsPerSample), 00012 size_(size) 00013 { 00014 } 00015 00016 00017 00018 void Platform_NULL_Sound_SoundStream::Play() 00019 { 00020 } 00021 00022 00023 //*** Stop *** 00024 00025 void Platform_NULL_Sound_SoundStream::Stop() 00026 { 00027 } 00028 00029 00030 //*** GetPosition *** 00031 00032 int Platform_NULL_Sound_SoundStream::GetPosition() 00033 { 00034 return 0; 00035 } 00036 00037 00038 //*** SetPosition *** 00039 00040 void Platform_NULL_Sound_SoundStream::SetPosition(int position) 00041 { 00042 } 00043 00044 00045 //*** CopySoundToBuffer *** 00046 00047 void Platform_NULL_Sound_SoundStream::CopySoundToBuffer(int bufferOffset, const void* soundData, int bytesToCopy) 00048 { 00049 } 00050 00051 00052 //*** ClearBuffer *** 00053 00054 void Platform_NULL_Sound_SoundStream::ClearBuffer(int bufferOffset, int bytesToClear) 00055 { 00056 } 00057 00058 00059 //*** GetChannels *** 00060 00061 int Platform_NULL_Sound_SoundStream::GetChannels() 00062 { 00063 return channels_; 00064 } 00065 00066 00067 //*** GetFrequency *** 00068 00069 int Platform_NULL_Sound_SoundStream::GetFrequency() 00070 { 00071 return frequency_; 00072 } 00073 00074 00075 //*** GetBitsPerSample *** 00076 00077 int Platform_NULL_Sound_SoundStream::GetBitsPerSample() 00078 { 00079 return bitsPerSample_; 00080 } 00081 00082 00083 //*** GetSize *** 00084 00085 int Platform_NULL_Sound_SoundStream::GetSize() 00086 { 00087 return size_; 00088 } 00089 00090 00091 //*** SetVolume *** 00092 00093 void Platform_NULL_Sound_SoundStream::SetVolume(float level) 00094 { 00095 } 00096 00097 00098 //*** GetVolume *** 00099 00100 float Platform_NULL_Sound_SoundStream::GetVolume() 00101 { 00102 return 0; 00103 }
Reproduction/republishing of any material on this site without permission is strictly prohibited.
