diff options
Diffstat (limited to 'lib/rbcodec/codecs/librm/rm.h')
-rw-r--r-- | lib/rbcodec/codecs/librm/rm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/librm/rm.h b/lib/rbcodec/codecs/librm/rm.h index c4a4e3a77e..47ea559f2e 100644 --- a/lib/rbcodec/codecs/librm/rm.h +++ b/lib/rbcodec/codecs/librm/rm.h | |||
@@ -25,6 +25,9 @@ | |||
25 | #include <inttypes.h> | 25 | #include <inttypes.h> |
26 | #include "bytestream.h" | 26 | #include "bytestream.h" |
27 | 27 | ||
28 | #define RM_RAW_DATASTREAM 0x0100 | ||
29 | #define RM_PKT_V1 0x0200 | ||
30 | |||
28 | #define MAX_EXTRADATA_SIZE 16 | 31 | #define MAX_EXTRADATA_SIZE 16 |
29 | #define DATA_HEADER_SIZE 18 | 32 | #define DATA_HEADER_SIZE 18 |
30 | #define PACKET_HEADER_SIZE 12 | 33 | #define PACKET_HEADER_SIZE 12 |
@@ -86,6 +89,8 @@ typedef struct rm_context | |||
86 | 89 | ||
87 | int real_parse_header(int fd, RMContext *rmctx); | 90 | int real_parse_header(int fd, RMContext *rmctx); |
88 | 91 | ||
92 | void rm_ac3_swap_bytes(uint8_t *buf, int bufsize); | ||
93 | |||
89 | /* Get a (sub_packet_h*frames_per_packet) number of audio frames from a memory buffer */ | 94 | /* Get a (sub_packet_h*frames_per_packet) number of audio frames from a memory buffer */ |
90 | int rm_get_packet(uint8_t **src,RMContext *rmctx, RMPacket *pkt); | 95 | int rm_get_packet(uint8_t **src,RMContext *rmctx, RMPacket *pkt); |
91 | 96 | ||