view playogg.h @ 0:4d04dc4239b4

Simple demo programs for libao and libvorbisfile.
author Eris Caffee <discordia@eldalin.com>
date Tue, 22 Jul 2014 14:42:26 -0500
parents
children 3617357a1b90
line source
1 #ifndef PLAYOGG_H_
2 #define PLAYOGG_H_
4 #define PCM_BUFFER_SIZE 4096
6 void err_exit ( char *msg );
7 void init ( void );
8 int min ( int a, int b );
9 void parse_command_line (int argc, char **argv );
10 void show_help ( void );
11 void shutdown ( void );
12 void sig_handler( int sig );
13 int sound_list_devices ( void );
14 int sound_init ( void );
15 int sound_play_file ( char *file );
16 void sound_print_comments ( OggVorbis_File *vf);
17 void sound_shutdown ( void );
20 #endif