sipxmedialib  Version 3.3
StreamDefs.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2006 SIPez LLC.
3 // Licensed to SIPfoundry under a Contributor Agreement.
4 //
5 // Copyright (C) 2004-2006 SIPfoundry Inc.
6 // Licensed by SIPfoundry under the LGPL license.
7 //
8 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
9 // Licensed to SIPfoundry under a Contributor Agreement.
10 //
11 // $$
13 
14 
15 #ifndef _StreamDefs_h_
16 #define _StreamDefs_h_
17 
18 // SYSTEM INCLUDES
19 // APPLICATION INCLUDES
20 
21 // DEFINES
22 #define STREAM_SOUND_LOCAL 0x00000002
23 #define STREAM_SOUND_REMOTE 0x00000004
24 
25 #define STREAM_FORMAT_AUTO 0x00010000
26 #define STREAM_FORMAT_RAW 0x00020000
27 #define STREAM_FORMAT_WAV 0x00040000
28 #define STREAM_FORMAT_AU 0x00080000
29 #define STREAM_FORMAT_MP3 0x00100000
30 
31 #define STREAM_HINT_CACHE 0x10000000
32 
33 #undef MP_STREAM_DEBUG
34 //#define MP_STREAM_DEBUG
35 
36 // MACROS
37 // CONSTANTS
38 // FORWARD DECLARATIONS
39 // STRUCTS
40 // TYPEDEFS
42 typedef void * StreamHandle ;
43 
44 typedef enum
45 {
51 
57 
58 } FeederEvent ;
59 
60 // EXTERNAL VARIABLES
61 // EXTERNAL FUNCTIONS
62 // FUNCTIONS
63 
64 
65 #endif // _StreamDefs_h_
66 
Data has been prefetched.
Definition: StreamDefs.h:47
Resource has been destroyed.
Definition: StreamDefs.h:55
Rendering has failed.
Definition: StreamDefs.h:50
void * StreamHandle
Handles used by the renderer.
Definition: StreamDefs.h:42
Data has been realized.
Definition: StreamDefs.h:46
Playing has completed.
Definition: StreamDefs.h:54
Rendering has begun.
Definition: StreamDefs.h:48
Playing has begun.
Definition: StreamDefs.h:52
Rendering has stopped.
Definition: StreamDefs.h:49
FeederEvent
Definition: StreamDefs.h:44
Playing has paused.
Definition: StreamDefs.h:53
Aborted by User.
Definition: StreamDefs.h:56