Re: [flac-dev] C API: How to get a seektable for very long files?

2024-10-13 Thread Stefan Oltmanns
Hi Martijn, Am 13.10.24 um 21:00 schrieb Martijn van Beurden: There's actually quite a lot of documentation for this. Please review https://xiph.org/flac/api/group__flac__stream__encoder.html#ga80d57f9069e354cbf1a15a3e3ad9ca78 I quote: SEEKTABLE blocks are handled specially. Since you will

Re: [flac-dev] C API: How to get a seektable for very long files?

2024-10-13 Thread Stefan Oltmanns
I think there is another major issue for me: In METADATA_BLOCK_STREAMINFO the field for the length is only 36 bit, that's not even half an hour at 40 MHz sample rate, resulting in that the encoder sets it to 0 for longer captures. In the seekpoint the sample number is 64 bit, which is more than en

Re: [flac-dev] C API: How to get a seektable for very long files?

2024-10-13 Thread Martijn van Beurden
Op zo 13 okt 2024 om 02:16 schreef Stefan Oltmanns : > > I cannot find any clues in the documentation how to write a > seektable/reserve space for it. > Can someone help me out? > There's actually quite a lot of documentation for this. Please review https://xiph.org/flac/api/group__flac__stream_