Last change
on this file since 608 was
80,
checked in by Sam Hocevar, 15 years ago
|
- Adding the Golgotha source code. Not sure what's going to be interesting
in there, but since it's all public domain, there's certainly stuff to
pick up.
|
File size:
1.0 KB
|
Line | |
---|
1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #ifndef WAV_LOAD_HH
|
---|
10 | #define WAV_LOAD_HH
|
---|
11 |
|
---|
12 | #include "arch.hh"
|
---|
13 |
|
---|
14 | class i4_file_class;
|
---|
15 |
|
---|
16 | // structure used to describe a sound
|
---|
17 | class i4_sound_info
|
---|
18 | {
|
---|
19 | public:
|
---|
20 | w32 size; // size of sound data in bytes
|
---|
21 | w32 sample_rate; // anything i.e. 22000
|
---|
22 | w32 channels; // 1 or 2
|
---|
23 | w32 sample_size; // 1 or 2
|
---|
24 | };
|
---|
25 |
|
---|
26 |
|
---|
27 | // fills in the info field and advances file pointer to where sound data start
|
---|
28 | // returns false if something screwy is detected in the wav file
|
---|
29 | i4_bool i4_load_wav_info(i4_file_class *f, i4_sound_info &info);
|
---|
30 |
|
---|
31 |
|
---|
32 |
|
---|
33 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.