~ubuntu-branches/ubuntu/lucid/mpg123/lucid

« back to all changes in this revision

Viewing changes to control_tk3play.h

Tags: upstream-0.60
ImportĀ upstreamĀ versionĀ 0.60

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
typedef struct 
2
 
{
3
 
        int bitrate;
4
 
        int frequency;
5
 
        int stereo;
6
 
        int type;
7
 
        int sample;
8
 
        int length;
9
 
} AudioInfo;
10
 
 
11
 
enum { MSG_CTRL = 0, MSG_BUFFER = 1, MSG_SONG = 2, MSG_QUIT = 3, MSG_NEXT = 4,
12
 
        MSG_RESPONSE = 5, MSG_FRAMES = 6, MSG_INFO = 7 ,MSG_TIME = 8,
13
 
        MSG_SONGDONE = 9, MSG_JUMPTO = 10, MSG_HALF = 11, MSG_DOUBLE = 12, 
14
 
        MSG_SCALE = 13};
15
 
 
16
 
 
17
 
/* MSG_CTRL */
18
 
enum { PLAY_STOP, PLAY_PAUSE, FORWARD_BEGIN, FORWARD_STEP, FORWARD_END,
19
 
        REWIND_BEGIN, REWIND_STEP, REWIND_END };
20
 
 
21
 
/* Decoder modes */
22
 
enum {MODE_STOPPED, MODE_PLAYING_AND_DECODING, 
23
 
      MODE_PLAYING_OLD_DECODING_NEW, MODE_PLAYING_NOT_DECODING,
24
 
      MODE_PLAYING_OLD_FINISHED_DECODING_NEW, MODE_PAUSED};