1 /********************************************************************
3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5 * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. *
6 * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 *
9 * by Stan Seibert <volsung@xiph.org> AND OTHER CONTRIBUTORS *
10 * http://www.xiph.org/ *
12 ********************************************************************
16 ********************************************************************/
21 #include <ogg/os_types.h>
25 typedef struct ogg123_options_t
{
26 int verbosity
; /* Verbose output if > 1, quiet if 0 */
28 int shuffle
; /* Should we shuffle playing? */
29 int repeat
; /* Repeat playlist indefinitely? */
30 ogg_int64_t delay
; /* delay (in millisecs) for skip to next song */
31 int nth
; /* Play every nth chunk */
32 int ntimes
; /* Play every chunk n times */
33 double seekoff
; /* Offset to seek to */
34 double endpos
; /* Position in file to play to (greater than seekpos) */
35 int seekmode
; /* DECODER_SEEK_[NONE | START | CUR */
37 long buffer_size
; /* Size of audio buffer */
38 float prebuffer
; /* Percent of buffer to fill before playing */
39 long input_buffer_size
; /* Size of input audio buffer */
40 float input_prebuffer
;
42 char *default_device
; /* Name of default driver to use */
44 audio_device_t
*devices
; /* Audio devices to use */
46 double status_freq
; /* Number of status updates per second */
48 int remote
; /* Remotely controlled */
50 playlist_t
*playlist
; /* List of files to play */
54 typedef struct signal_request_t
{
59 ogg_int64_t last_ctrl_c
;
62 #endif /* __OGG123_H__ */