diff options
| author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-05-27 23:48:12 +0000 |
|---|---|---|
| committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-05-27 23:48:12 +0000 |
| commit | e0dafdff5dc592fb47151894a6db3ce0ae045e26 (patch) | |
| tree | 93b4a43ccfde5b0e7b3582ea176ca0b961cdb12f /src/libac3/ac3.h | |
| parent | 62386077f664574c0c2193bf0a9b408c1d55ee1a (diff) | |
| download | xine-lib-e0dafdff5dc592fb47151894a6db3ce0ae045e26.tar.gz xine-lib-e0dafdff5dc592fb47151894a6db3ce0ae045e26.tar.bz2 | |
mpg123 decoder plugin, 4/5-channel surround, ac3 pass-through (untested) and minor bugfixes
CVS patchset: 86
CVS date: 2001/05/27 23:48:12
Diffstat (limited to 'src/libac3/ac3.h')
| -rw-r--r-- | src/libac3/ac3.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libac3/ac3.h b/src/libac3/ac3.h index 07f41c0a0..69c11b9ed 100644 --- a/src/libac3/ac3.h +++ b/src/libac3/ac3.h @@ -40,10 +40,12 @@ typedef struct ac3_config_s typedef struct ac3_frame_s { - uint32_t sampling_rate; + uint32_t sampling_rate; int16_t * audio_data; + int num_channels; } ac3_frame_t; void ac3_init(void); int ac3_frame_length(uint8_t * buf); -ac3_frame_t* ac3_decode_frame(uint8_t * buf); +int ac3_sampling_rate(uint8_t * buf); +ac3_frame_t* ac3_decode_frame(uint8_t * buf, int max_num_channels); |
