equal
deleted
inserted
replaced
30 #pragma pack(1) |
30 #pragma pack(1) |
31 typedef struct _al_sound_t { |
31 typedef struct _al_sound_t { |
32 const char *filename; // name of the sound file |
32 const char *filename; // name of the sound file |
33 ALuint buffer; // actual sound content |
33 ALuint buffer; // actual sound content |
34 uint32_t source_index; // index of the associated source |
34 uint32_t source_index; // index of the associated source |
35 uint32_t stats; // number of times the sound has been played |
35 ALboolean is_used; // tells if the element can be overwritten |
36 } al_sound_t; |
36 } al_sound_t; |
37 #pragma pack() |
37 #pragma pack() |
38 |
38 |
39 |
39 |
40 // data type for passing data between threads |
40 // data type for passing data between threads |