summaryrefslogtreecommitdiff
path: root/ac3dec
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2001-11-25 18:00:00 +0100
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2001-11-25 18:00:00 +0100
commitb420457467ad0c8ae71f8b985914e85b7a0ff5aa (patch)
tree6d5b949efc2de0e0a5b27272fa92581e133c7fe3 /ac3dec
parent6e1fd835558b4e70ad94a280a209f050ec0f7a75 (diff)
downloadvdr-patch-lnbsharing-b420457467ad0c8ae71f8b985914e85b7a0ff5aa.tar.gz
vdr-patch-lnbsharing-b420457467ad0c8ae71f8b985914e85b7a0ff5aa.tar.bz2
Version 0.99pre1vdr-0.99pre1
- Fixed several channel definitions in 'channels.conf' (thanks to Thilo Wunderlich). - Added MPEG audio support for DVD (thanks to Andreas Schultz). - Implemented DVB-T support (thanks to Dave Chapman). This currently works only for UK channels. - Removed the range limits for the Frequency and Srate parameters of channel definitions. - Changed the maximum value for PIDs in channels.conf from 0xFFFE to 0x1FFF. - Fixed DVD audio sync problems (thanks to Andreas Schultz). - Fixed external AC3 replay for DVDs (thanks to Andreas Schultz).
Diffstat (limited to 'ac3dec')
-rw-r--r--ac3dec/ac3.h6
-rw-r--r--ac3dec/decode.c8
2 files changed, 14 insertions, 0 deletions
diff --git a/ac3dec/ac3.h b/ac3dec/ac3.h
index d325f3b..8f268fb 100644
--- a/ac3dec/ac3.h
+++ b/ac3dec/ac3.h
@@ -19,7 +19,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
+ *------------------------------------------------------------
*
+ * 24 Nov 2001
+ * Andreas Schultz <aschultz@cs.uni-magdeburg.de>
+ * Added ac3_buffersize()
*/
#define AC3_BUFFER_SIZE (6*1024*16)
@@ -55,4 +59,6 @@ size_t ac3dec_decode_data (plugin_output_audio_t *output, uint8_t *data_start, u
size_t ac3dec_decode_data (uint8_t *data_start ,uint8_t *data_end, int ac3reset, int *input_pointer, int *output_pointer, char *ac3_data);
#endif
+uint32_t ac3_buffersize();
+
#endif
diff --git a/ac3dec/decode.c b/ac3dec/decode.c
index fb85205..1ff517c 100644
--- a/ac3dec/decode.c
+++ b/ac3dec/decode.c
@@ -31,6 +31,9 @@
* Matjaz Thaler <matjaz.thaler@rd.iskraemeco.si>
* Added support for DVB-s PCI card
*
+ * 24 Nov 2001
+ * Andreas Schultz <aschultz@cs.uni-magdeburg.de>
+ * Added ac3_buffersize()
*/
#ifdef HAVE_CONFIG_H
@@ -96,6 +99,11 @@ static uint32_t buffer_size = 0;;
// for error handling
jmp_buf error_jmp_mark;
+uint32_t ac3_buffersize()
+{
+ return buffer_size;
+}
+
static uint32_t decode_buffer_syncframe (syncinfo_t *syncinfo, uint8_t **start, uint8_t *end)
{
uint8_t *cur = *start;