misc/libopenalbridge/openalbridge_t.h
changeset 3529 0e968ba12a84
parent 3514 59dbd31e9953
child 3690 c247dee9e1c0
equal deleted inserted replaced
3516:a8c673657b79 3529:0e968ba12a84
    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