- Aug 24, 2013
-
-
Timothy B. Terriberry authored
It seems somewhat silly to have to write your own strcasecmp to satisfy the usage pattern found in opusfile_example: scanning the whole tags list and handling certain tags specially (as opposed to searching for specific tags, as opus_tags_query() does). Given that we were already using an equivalent function internally to implement opus_tags_query, just expose it directly.
-
Timothy B. Terriberry authored
OP_INT32_MIN and OP_INT32_MAX were added in commit 97917914. This fixes at least one bug, since one of the (extremely unlikely) overflow checks had an extra F in it.
-
Timothy B. Terriberry authored
Mostly minor stuff.
-
- Aug 23, 2013
-
-
Timothy B. Terriberry authored
This allows the application to report details about the server for HTTP[S] streams. For all HTTP[S], this includes the server software, content-type, and whether or not it's using HTTPS. For live streams, it also includes the station name, description, genre, homepage, nominal bitrate, and whether or not it's publicly listed.
-
Timothy B. Terriberry authored
This was treating every unknown header as a Server header. Good thing this was last! The only damage was that we might have enabled pipelining even on known-bad servers.
-
Timothy B. Terriberry authored
I guess no one was using these. Clearly we need to test this more often, but this is a pain without a reliable public proxy, or a local proxy server setup.
-
- Aug 21, 2013
-
-
Timothy B. Terriberry authored
These were only non-static because of oversight.
-
- Aug 20, 2013
-
-
Ralph Giles authored
Finally managed to cross-compile a shared version of openssl so I can use the autotools opusfile build.
-
Ralph Giles authored
-
Ralph Giles authored
We've added opus_picture_tag.
-
Ralph Giles authored
-
Ralph Giles authored
-
Ralph Giles authored
This lets us pick up runtime library path changes when the project files are updated to newer versions on Visual Studio. This fixes a link error with VS2012, but I still get one from VS2010.
-
- Aug 19, 2013
-
-
Ralph Giles authored
-
Ralph Giles authored
Windows still doesn't support tar.gz out of the box. If we're bothering with project files we might as well make it easy to get the source releases.
-
- Aug 12, 2013
-
-
Timothy B. Terriberry authored
Surprisingly, the actual initial value of this variable is irrelevant, since we always insert 24 bits of data into and then read only those bits out. However, fixing this still removes undefined behavior and removes extraneous register dependencies.
-
Timothy B. Terriberry authored
- Reject 'not a character' values 0xFFFE and 0xFFFF. - Remove some unnecessary string length checks.
-
- Aug 10, 2013
-
-
Timothy B. Terriberry authored
This makes it easier for applications to support album art. This is still relatively untested.
-
- Aug 08, 2013
-
-
Ralph Giles authored
Incremental linking fails on my unpatched VS2010 compiler with "failure during conversion to COFF: file invalid or corrupt". Other than testing both configurations there's no particular reason to use the option here.
-
Ralph Giles authored
-
Ralph Giles authored
-
- Aug 06, 2013
-
-
Ralph Giles authored
This satisfies the Makefile's dependency on itself when buiding in a parallel directory, like I use for the mingw builds, without having to 'touch Makefile' as a work-around.
-
Ralph Giles authored
-
Timothy B. Terriberry authored
We've been able to differentiate between a read error and EOF since e2d7b266.
-
This is a big squashed commit of Garf's add_msvc_projects branch. It currently does not include HTTP[S] support, as no one has sat down and worked out the best way to link against OpenSSL. Signed-off-by:
Timothy B. Terriberry <tterribe@xiph.org>
-
Timothy B. Terriberry authored
Previously we used _fseeki64() and _ftelli64() for 64-bit file access on Windows, but this requires MSVCRT80 (which requires MSVC 2005 and is not shipped on XP by default). Reimplement these functions using the C89 fgetpos() and fsetpos(), relying on the MSVCRT/minw32-specific definition of fpos_t.
-
Timothy B. Terriberry authored
As requested here: http://www.hydrogenaudio.org/forums/index.php?showtopic=101817
-
- Jul 15, 2013
-
-
Timothy B. Terriberry authored
A new op_set_gain_offset() allows the application to provide its own offset to the current decoder gain setting, as well as specify what offsets should be applied. The header gain alone is still the default, but the application may also request that the track gain be applied, or that neither be applied. In addition, an op_get_track_gain() function can parse the track gain out of a set of comment tags. This is mainly provided as a convenience for applications that need this information, so they don't have to write their own parser.
-
Timothy B. Terriberry authored
- Provide an Overview section which describes some of the general design decisions of the libopusfile API. - Explicitly state that we always decode at 48 kHz. - Make it clearer that we always apply the header gain. - Document the automatic soft-clipping support. - Document that stream open failure does not close the source. - Other minor fixes. Thanks to tangobravo and siriusbtx for asking the questions which prompted this update.
-
Timothy B. Terriberry authored
Not all the failure paths cleaned up after themselves properly. Thanks to tangobravo for complaining about similar issues in libvorbisfile, which prompted me to audit this code.
-
Timothy B. Terriberry authored
The LL suffix isn't C89, so it may not work everywhere.
-
Timothy B. Terriberry authored
-
- Jul 02, 2013
-
-
Ron authored
This avoids at least one case where ./autogen.sh && ./configure && make will re-run configure because the makefile rules updated something that it depends upon. Pulling a new version from git will change the version so we should update that at the first step rather than iterating after the last one.
-
- Jun 28, 2013
-
-
Ron authored
The main motivation for this is it ensures the files will actually be rebuilt if the configuration options are changed.
-
Ron authored
Don't let AC_SEARCH_LIBS([lrintf]) add -lm to LIBS, otherwise we'll unconditionally link everything with it. Correctly handle the third possibility of AC_SEARCH_LIBS, that no library at all was found. Link libopusfile with $lrintf_lib, it uses it and will otherwise fail with linkers that use --no-add-needed / --no-copy-dt-needed-entries. Don't bother to test for doxygen if using it is --disable'd.
-
- May 18, 2013
-
-
Ron authored
We shouldn't ever have any trailing newlines that need trimming here, and the _s version wasn't added to m4sugar.m4 until autoconf 2.63b, so this will let it work with 2.13 again.
-
- May 15, 2013
-
-
Timothy B. Terriberry authored
This shouldn't really be necessary when static linking, but would be if someone wanted chang the Makefile to build shared libraries.
-
- May 13, 2013