view playogg.h @ 2:3617357a1b90

Added keyboard commands: p play/pause q quit n next file v previous file f fast forward b fast backward
author Eris Caffee <discordia@eldalin.com>
date Tue, 05 Aug 2014 12:15:46 -0500
parents 4d04dc4239b4
children
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 int sound_play_section ( OggVorbis_File *vf );
17 void sound_print_comments ( OggVorbis_File *vf );
18 int sound_skip_ahead ( OggVorbis_File *vf );
19 int sound_skip_back ( OggVorbis_File *vf );
20 void sound_shutdown ( void );
21 void term_init ( void );
22 void term_reset ( void );
24 #endif