File tree 2 files changed +22
-7
lines changed
2 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 1
- namespace SoundBuffer {
1
+ # include " SoundBuffer.h "
2
2
3
- class trkSoundBuffer {
4
- public:
5
- int GetSizeInBytes (int param_1);
6
- int GetFrequency (int param_1);
7
- int GetData (int param_1);
8
- };
3
+ namespace SoundBuffer {
9
4
10
5
int trkSoundBuffer::GetSizeInBytes (int param_1) {
11
6
return *(int *)(param_1 + 0x10 );
Original file line number Diff line number Diff line change
1
+ #ifndef SOUNDBUFFER_H
2
+ #define SOUNDBUFFER_H
3
+
4
+ namespace SoundBuffer {
5
+
6
+ class trkSoundBuffer {
7
+ public:
8
+ // Returns the size of the sound buffer in bytes
9
+ int GetSizeInBytes (int param_1);
10
+
11
+ // Returns the frequency of the sound buffer
12
+ int GetFrequency (int param_1);
13
+
14
+ // Returns the data associated with the sound buffer
15
+ int GetData (int param_1);
16
+ };
17
+
18
+ } // namespace SoundBuffer
19
+
20
+ #endif // SOUNDBUFFER_H
You can’t perform that action at this time.
0 commit comments