Mercurial > mplayer.hg
annotate DOCS/tech/realcodecs/audio-codecs.txt @ 27745:a5ed200519dc
Rename stream/netstream.h to stream/stream_netstream.h; netstream.h to make it
clearer that netstream.h belongs to stream_netstream.c.
author | diego |
---|---|
date | Thu, 16 Oct 2008 17:01:40 +0000 |
parents | be35ec0b2ee3 |
children | 0f1b5b68af32 |
rev | line source |
---|---|
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
1 all audio codecs (cook,atrk,14_4,28_8,dnet,sipr) have the same interface, |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
2 but i have only analyzed the cook codec |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
3 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
4 |
6415
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
5 audio properties (hex) |
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
6 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
7 00 short text/description of the format (bitrate, when to use) |
6365 | 8 01 bitrate (bits/s) //avg. bytes/sec output |
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
9 02 ulong: ? |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
10 ulong: samples per second |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
11 ushort: bits/sample |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
12 ushort: number of channels |
6365 | 13 03 same as 02 //constant 2 |
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
14 04 long description |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
15 05 constant 1 (always?) |
6365 | 16 06 ulong: block align (input frame size for RADecode) |
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
17 07 string: minimum player version |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
18 08 n/a |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
19 09 n/a |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
20 0A n/a |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
21 0B n/a |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
22 0C n/a |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
23 0D ? |
6415
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
24 0E ? leaf size |
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
25 0F ? |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
26 10 ? |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
27 11 ? |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
28 12 ? |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
29 13 min. output buffer size? max. number of samples? |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
30 14 ? |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
31 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
32 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
33 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
34 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
35 functions: |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
36 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
37 ulong result=RAOpenCodec2(ra_main_t *raMain); |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
38 |
6415
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
39 ulong result=RAInitDecoder(ra_main_t *raMain, ra_init_struct *raInit); |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
40 struct ra_init_struct { |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
41 ulong sample_rate; |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
42 ushort bits_per_sample; // unused by RAInitDecoder |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
43 ushort number_of_channels; |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
44 ushort unknown1; // 0 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
45 ushort unknown2; // also unused (100) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
46 ulong leaf_size; // leaf size (used for interleaving, but |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
47 // exists in audio stream description header (ASDH)) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
48 ulong block_align; // packet size |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
49 ulong bits_per_sample; // unused (always 16) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
50 char *ext_data; // 16 bytes located at the end of the |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
51 // ASDH |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
52 }; |
6365 | 53 |
6415
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
54 There are some information missing that you usually need for playback, |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
55 like bits per sample (the fileds aren't read by RAInitDecoder()). These |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
56 are hard coded in the "flavors", i.e. the sub formats. A flavor is an entry |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
57 in the list of available format variations like bitrate, number of channels, |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
58 decoding algorithm, and so on.We can get those information with the |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
59 following command: |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
60 |
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
61 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
62 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
63 void *GetRAFlavorProperty(ra_main_t *raMain, ulong flavor, ulong property, |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
64 short *property_length_in_bytes); |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
65 returns property data for a specific data |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
66 |
6415
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
67 This is not important, because it's just a read only function. |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
68 These flavor properties don't seem to exist in |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
69 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
70 |
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
71 ulong RADecode(ra_main_t *raMain, char *input_buffer, |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
72 ulong input_buffer_size, char *output_buffer, |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
73 ulong *decoded_bytes, ulong p6=-1); |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
74 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
75 RAFreeDecoder(ra_main_t *); |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
76 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
77 RACloseCodec(ra_main_t *); |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
78 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
79 |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
80 ulong RASetFlavor(ra_main_t *ra_main, ulong flavor); |
6415
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
81 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
82 Set the flavor of the stream. |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
83 |
6349
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
84 a flavor is an entry in the list of available format variations like |
c09a890e4c8c
initial version from Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
diff
changeset
|
85 bitrate, number of channels, decoding algorithm, and so on |
6415
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
86 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
87 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
88 audio data storage: |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
89 ------------------- |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
90 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
91 With Real Audio V5 (or earlier?), the audio streams can be interleaved, |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
92 i.e. the stream is striped amongst several data packets. The packets |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
93 (which have a fixed size packet_len) are split up into a fixed number |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
94 of num_parts equally sized parts - I call them leaves in lack of |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
95 better name. The leaves have the size leaf_size = packet_len / num_parts. |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
96 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
97 To create a bunch of packets, you need 2*num_parts stream packets. |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
98 The first part of the first stream packet is stored in leaf number 0, |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
99 the first part of the second into leaf number num_parts, the one of the |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
100 next one into leaf number 1 etc. The following part of a stream packet |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
101 is stored 2*num_packets behind the current part of the same stream packet. |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
102 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
103 In short words: when you have a matrix with the leaves as the values, |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
104 it's a transposition in conjunction with a permutation. |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
105 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
106 packet | leaf | stream packet, part no. |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
107 -------+---------------+------------------------ |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
108 0 | 0 | (0,0) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
109 0 | 1 | (2,0) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
110 . | . | . |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
111 . | . | . |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
112 0 | num_parts-1 | (2*num_parts-2,0) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
113 0 | num_parts | (1,0) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
114 0 | num_parts+1 | (3,0) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
115 . | . | . |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
116 . | . | . |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
117 0 | 2*num_parts-1 | (2*num_parts-1,0) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
118 1 | 0 | (0,1) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
119 . | . | . |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
120 . | . | . |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
121 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
122 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
123 sequence of calls: |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
124 ------------------ |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
125 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
126 RAOpenCodec2() |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
127 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
128 RAInitDecoder() |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
129 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
130 RASetFlavor() |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
131 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
132 RAGetFlavorProperty(0xE) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
133 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
134 sequence of RADecode()s |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
135 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
136 once a RAGetFlavorProperty(0xE) after some RADecode()s |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
137 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
138 and occasionally the following sequence: |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
139 RAGetFlavorProperty(0) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
140 RAGetFlavorProperty(7) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
141 which is rather pointless because they only return |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
142 cleartext audio descriptions |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
143 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
144 RAFreeDecoder() |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
145 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
146 RACloseCodec() |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
147 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
148 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
149 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
150 RAFlush(ra_main_t *raMain, char *output_buffer, ulong *retval) |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
151 will be called when seeking |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
152 output_buffer points to the output buffer from the last |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
153 decode operation. |
10069 | 154 retval is unknown, returning always 0x18 in a specific sample |
6415
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
155 -> further investigation needed |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
156 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
157 |
737a277b690c
merged with patch by Florian Schneider <flo-mplayer-dev@gmx.net>
arpi
parents:
6365
diff
changeset
|
158 |