~ubuntu-branches/ubuntu/gutsy/vorbis-tools/gutsy

« back to all changes in this revision

Viewing changes to ogg123/ogg123.h

  • Committer: Bazaar Package Importer
  • Author(s): Jesus Climent
  • Date: 2005-04-10 09:22:24 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050410092224-xtukpa3qghghhjje
Tags: 1.0.1-1.3
* Authorized NMU.
* Modified alsa to mention alsa09 (although the device might be nowadays
  alsa, back, since alsa1.0 has been already released). (Closes: #258286)
* Modified the manpage/help message for vorbiscomment to make it a bit more
  userfiendly: Closes: #252531.
* Added oggdec to the long description field, so that it triggers apt-cache
  searches: Closes: #274894.
* Typos in manpages: Closes: #302150.
* Escaped dashes in manpage: Closes: #264365.
* Quiet option is actually with -Q, not -q (Closes: #211289) Reported
  upstream but patched for Debian.
* Change input.wav with inputfile, since we accept flac-formated files:
  Closes: #262509.
* Translation bits:
  * Updated translation hu.po: Closes: #272037.
  * French translation correction: Encodage -> Codage (Closes: #248431).
  * debian/rules: remove .gmo's to avoid clash with uploaded tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *                                                                  *
12
12
 ********************************************************************
13
13
 
14
 
 last mod: $Id: ogg123.h,v 1.12 2001/12/24 15:58:03 volsung Exp $
 
14
 last mod: $Id: ogg123.h,v 1.15 2003/09/01 23:54:02 volsung Exp $
15
15
 
16
16
 ********************************************************************/
17
17
 
20
20
 
21
21
#include <ogg/os_types.h>
22
22
#include "audio.h"
 
23
#include "playlist.h"
23
24
 
24
25
typedef struct ogg123_options_t {
25
26
  long int verbosity;         /* Verbose output if > 1, quiet if 0 */
29
30
  int nth;                    /* Play every nth chunk */
30
31
  int ntimes;                 /* Play every chunk n times */
31
32
  double seekpos;             /* Position in file to seek to */
 
33
  double endpos;              /* Position in file to play to (greater than seekpos) */
32
34
 
33
35
  long buffer_size;           /* Size of audio buffer */
34
36
  float prebuffer;            /* Percent of buffer to fill before playing */
40
42
  audio_device_t *devices;    /* Audio devices to use */
41
43
 
42
44
  double status_freq;         /* Number of status updates per second */
 
45
 
 
46
  playlist_t *playlist;       /* List of files to play */
43
47
} ogg123_options_t;
44
48
 
45
49
typedef struct signal_request_t {
 
50
  int cancel;
46
51
  int skipfile;
47
52
  int exit;
48
53
  int pause;