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