More enhancements:

- added getopt_long to parse the command line options
  - added -D (--device) option
  - added -q (--quiet) option
  - added -I (--iec958) option
  - added AC3 to IEC958 encapsulation code (not tested)
  - addec xrun detection and restart
This commit is contained in:
Jaroslav Kysela 2001-04-22 12:04:00 +00:00
parent 3f541f6ba8
commit 97a55787e6
13 changed files with 425 additions and 120 deletions

View file

@ -38,7 +38,7 @@ static uint_8 *chunk_start, *chunk_end;
uint_32 bits_left;
uint_32 current_word;
void (*bitstream_fill_buffer)(uint_8**,uint_8**);
ssize_t (*bitstream_fill_buffer)(uint_8**,uint_8**);
uint_8 bitstream_get_byte(void)
{
@ -122,7 +122,7 @@ bitstream_get_bh(uint_32 num_bits)
}
void
bitstream_init(void(*fill_function)(uint_8**,uint_8**))
bitstream_init(ssize_t(*fill_function)(uint_8**,uint_8**))
{
// Setup the buffer fill callback
bitstream_fill_buffer = fill_function;