- Oct 01, 2012
-
-
Ralph Giles authored
We use scripts like these with jenkins to do automatic build and test runs on every commit. Keeping the build instructions in the source repository itself makes it easier to track changes, and easier to make atomic updates when something is moved in the build system which breaks the jenkins runs.
-
Ralph Giles authored
-
Ralph Giles authored
This matches what the opus package does, and is consistent with what the pkg-config files were already doing.
-
Ralph Giles authored
This is redundant now that we have PROJECT_NUMBER substitution implemented. The file version is for displaying per-file versioning from CVS, etc.
-
Ralph Giles authored
-
Ralph Giles authored
Saves an indent stop. Thanks to Tim for the suggestion.
-
Ralph Giles authored
This almost, but doesn't quite, copy the layout the opus configure script uses.
-
Timothy B. Terriberry authored
* Tags were being freed even if not initialized if op_fetch_headers() failed on the first link. The logic for handling completely empty links would leak, also. * Ignore fragment identifiers in http URLs instead of rejecting them. * Get the current link in seeking_example's verify_seek when op_read_native() fails to return it for us.
-
Timothy B. Terriberry authored
Most of these were dead code left around from rewriting things and things llvm doesn't have enough global information to prove by itself. The one real error was the missing NULL check in opus_tags_parse_impl().
-
Timothy B. Terriberry authored
Also use Libs.private for libm.
-
Timothy B. Terriberry authored
-
Timothy B. Terriberry authored
This displays the current raw position, PCM position, and instantaneous bitrate once per second of output. This is useful when testing against long-running streams.
-
Timothy B. Terriberry authored
This makes it more useful for testing invalid files, where the goal is merely not to crash, assert, or trip valgrind warnings.
-
Timothy B. Terriberry authored
* Add Opus logo. * Use @VERSION@ consistently. * Fix some warnings/formatting exposed by a newer Doxygen versions.
-
Timothy B. Terriberry authored
The warning was correct, as far as it goes, but the use was actually harmless.
-
Timothy B. Terriberry authored
The previous comparison would have succeeded on things like "localhost123" instead of just "localhost".
-
Timothy B. Terriberry authored
* Guarantee pcm_start and pcm_end stay in range (not just move in the right direction). * When we fail to find a page in the interval, back up by increasing chunk sizes just like op_get_prev_page_serial(). * Eliminate the special case for the last page in the interval. * Force a straight bisection if we're backing up, but not decreasing the interval size rapidly enough, to limit the worst-case. This is guaranteed not to affect the first two iterations, so it has minimal impact on seeking in the normal case.
-
- Sep 30, 2012
-
-
Ralph Giles authored
The autoconf build replaced the static Doxyfile with a Doxyfile.in template. In the autoconf build, the config.status script applies substitutions to generate the actual Doxyfile. This made the generic doc/Makefile non-functional. Apply similar substitutions directly with the makefile so we can still build documentation outside the context of the autoconf build. Also add a 'distclean' target to remove the generated Doxyfile.
-
- Sep 29, 2012
-
-
Timothy B. Terriberry authored
We have to call op_collect_audio_packets() again to drain any buffered packets from the page.
-
Includes - A make debug target that disables optimizations and enables assertions, - Proper ./configure switches for the optional features, - A configuration summary, - libtool versioning information, - Visibility and warning flags, - API documentation, and - Support for out-of-tree builds. Signed-off-by:
Diego Elio Pettenò <flameeyes@flameeyes.eu>
-
Timothy B. Terriberry authored
* s/op_read_stereo_float/op_read_float_stereo/ for the fixed-point API. * Fix compiler warnings exposed when optimizations are enabled. * Fix opusfile_example to work with --enable-fixed-point --disable-float * Fix seeking_example to not re-define OP_FIXED_POINT if it's already been defined.
-
Gregory Maxwell authored
-
- Sep 24, 2012
-
-
Ralph Giles authored
GNU make provides a default definition for this variable. I've no idea what's special about mingw32-ar vs native ar, but it seems to be required.
-
Timothy B. Terriberry authored
The most important for the https backend: - Implement RFC 6066 Server Name Indication. - Implement SSL session resumption. This gives less of a speed improvement than you might think.
-
Timothy B. Terriberry authored
-
Timothy B. Terriberry authored
-
Timothy B. Terriberry authored
-
Timothy B. Terriberry authored
-
- Sep 23, 2012
-
-
Timothy B. Terriberry authored
It's served its purpose, and isn't worth the time it takes now. Leaving the code around to make it easy to re-enable if necessary.
-
Timothy B. Terriberry authored
Splits the documentation into sections and provides an overview. Also explicitly document which functions can and cannot be called on partially-open streams, and fix-up a few things to behave as documented.
-
Timothy B. Terriberry authored
There are now a couple of places where we need to know the actual stream position indicator, not just the offset of the data we've read out of the ogg_sync_state. Make a function to compute this, document it, and use it.
-
Timothy B. Terriberry authored
end_offset should be the _start_ of the last Opus page in a link, to guarantee we seek before it to have enough information to do end-trimming. After the changes in 007ec4e4, it would be set to the start of the next link if we cached the last page granule position. Also add more comments.
-
Timothy B. Terriberry authored
-
Timothy B. Terriberry authored
1) Remember the granule position of the last page we've seen from the current link and save the first page of the next link as long as we're scanning forward. This knocks almost 10% off the number of seeks for large links. For smaller links the improvement is much larger. 2) Only use pairs of close-by serial numbers to estimate link start locations (assuming they're above our start threshold). This gives a minor (<2%) improvement, which might be in the noise, but as it doesn't appear to hurt and is faster, might as well. 3) Eliminate a redundant check in op_pcm_seek_page_impl().
-
Timothy B. Terriberry authored
If we encounter the first page after the target while scanning forward, we no longer seek back and read it again after we exit the bisection search, but just hold on to the copy we already have.
-
Timothy B. Terriberry authored
Teach me to change something right before committing.
-
Timothy B. Terriberry authored
This gives us a better idea when to re-use a connection.
-
Timothy B. Terriberry authored
This uses two sightings of a valid granule position from the same future stream to extrapolate where the start of that stream is during link enumeration. This can cut out more than 20% of the seeks required to open large files with lots of long links.
-
Timothy B. Terriberry authored
-
Timothy B. Terriberry authored
2df5f786 did not quite save enough. The ogg_stream_state and initial ogg_packet list also need to be saved, and the starting granule position and pre-skip need to be restored. Otherwise, if the stream has more than one link, the first packets decoded will come from the wrong one.
-