/usr/include/logg.h is in liblogg4-dev 2:4.4.2-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #ifndef LOGG_H
#define LOGG_H
#ifdef __cplusplus
extern "C" {
#endif
#include <allegro.h>
#include <vorbis/vorbisfile.h>
#define OGG_PAGES_TO_BUFFER 2
typedef struct {
char *buf[OGG_PAGES_TO_BUFFER];
int current_page;
int playing_page;
AUDIOSTREAM* audio_stream;
OggVorbis_File ovf;
int bits;
int stereo;
int freq;
int len;
char* filename;
int loop;
int volume;
int pan;
} LOGG_Stream;
extern SAMPLE* logg_load(const char* filename);
extern int logg_get_buffer_size();
extern void logg_set_buffer_size(int size);
extern LOGG_Stream* logg_get_stream(const char* filename,
int volume, int pan, int loop);
extern int logg_update_stream(LOGG_Stream* s);
extern void logg_destroy_stream(LOGG_Stream* s);
extern void logg_stop_stream(LOGG_Stream* s);
extern int logg_restart_stream(LOGG_Stream* s);
#ifdef __cplusplus
}
#endif
#endif
|