search for: seking

Displaying 2 results from an estimated 2 matches for "seking".

Did you mean: seeing
2018 Nov 15
2
Question about libopusfile downloading the last 64K when duration is not needed
...le to jump between many files quickly, or seek quickly. This means I am priming the pump by downloading the first chunk of many files that are likely to be started soon. I was trying to maximize the number of files that could be primed, while keeping the download size as small as I could. Having seking enabled meant I needed to prime an extra 64K for each file, which may end up doubling or tripling the priming size. I think I will work around this by playing the .opus file with seeking disabled, then in the case where the user triggers a seek operation, closing and reopening the stream with s...
2018 Nov 15
2
Question about libopusfile downloading the last 64K when duration is not needed
I am writing a program that retrieves and plays .opus files over the network. I am using the C# PInvoke wrapper OpusFileSharp, which calls into libopusfile and passes callbacks for read, seek, and tell. I want to enable seeking via the seek callback by not returning -1, but I find that as soon as I do libopusfile requests the last 64K of the .opus file, probably so it can calculate the