opus-tools.git
6 months agoappveyor: get opus artifacts from appveyor master
Ricardo Constantino [Tue, 21 Feb 2017 22:08:30 +0000 (22:08 +0000)]
appveyor: get opus artifacts from appveyor

Saves a bit of time.

Signed-off-by: Ralph Giles <giles@thaumas.net>
6 months agoappveyor: run a basic test on the compiled binaries
Ricardo Constantino [Tue, 21 Feb 2017 22:10:03 +0000 (22:10 +0000)]
appveyor: run a basic test on the compiled binaries

Pack resulting artifact from opusenc test for debugging.

Signed-off-by: Ralph Giles <giles@thaumas.net>
6 months agoappveyor: pack manuals from jenkins
Ricardo Constantino [Tue, 21 Feb 2017 22:09:49 +0000 (22:09 +0000)]
appveyor: pack manuals from jenkins

Signed-off-by: Ralph Giles <giles@thaumas.net>
6 months agoappveyor: save artifact to constant name
Ricardo Constantino [Fri, 10 Feb 2017 02:11:01 +0000 (02:11 +0000)]
appveyor: save artifact to constant name

So it can be used with a permalink to the latest build.

ex: https://ci.appveyor.com/api/projects/rillian/opus-tools/artifacts/opus-tools.zip?job=Configuration%3A%20Release%3B%20Platform%3A%20x64
This is a permalink to the latest successful build of Release x64.

Signed-off-by: Ralph Giles <giles@thaumas.net>
6 months agoVS2015: remove unneeded and duplicated options
Ricardo Constantino [Tue, 21 Feb 2017 00:22:20 +0000 (00:22 +0000)]
VS2015: remove unneeded and duplicated options

Add additional properties file for opus-tools shared by the three
executables.
Don't compile unneeded files for each project.

Signed-off-by: Ralph Giles <giles@thaumas.net>
6 months agoVS2015: Add opus common.props
Ricardo Constantino [Fri, 17 Feb 2017 15:15:34 +0000 (15:15 +0000)]
VS2015: Add opus common.props

Signed-off-by: Ralph Giles <giles@thaumas.net>
6 months agoMakefile.am: add VS2015 files
Ricardo Constantino [Tue, 21 Feb 2017 22:25:11 +0000 (22:25 +0000)]
Makefile.am: add VS2015 files

Signed-off-by: Ralph Giles <giles@thaumas.net>
6 months agowin32/gitignore: Ignore generated version.h
Ricardo Constantino [Fri, 17 Feb 2017 15:06:32 +0000 (15:06 +0000)]
win32/gitignore: Ignore generated version.h

Signed-off-by: Ralph Giles <giles@thaumas.net>
9 months agoopusenc: Avoid seeking on Windows pipes
Mark Harris [Wed, 22 Feb 2017 02:02:50 +0000 (18:02 -0800)]
opusenc: Avoid seeking on Windows pipes

On Windows, fseek() on pipes may return zero even though it doesn't seek,
so check the file type before trying to seek.  Also, Windows prefers
_fileno() over fileno().

10 months agoupdate_version: Drop --always from git describe v0.1.10
Mark Harris [Sun, 22 Jan 2017 21:02:45 +0000 (13:02 -0800)]
update_version: Drop --always from git describe

The package_version file will be used if there are no tags, which
is better than just the hash that is returned by --always.

10 months agoappveyor: remove version prefix from artifacts
Ricardo Constantino [Sun, 22 Jan 2017 20:44:35 +0000 (20:44 +0000)]
appveyor: remove version prefix from artifacts

Also appveyor.yml configuration file is moved to .appveyor.yml.

Closes https://github.com/xiph/opus-tools/pull/14
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
10 months agoAdd more coverage in travis
Stephen [Sat, 21 Jan 2017 16:28:14 +0000 (08:28 -0800)]
Add more coverage in travis

Closes https://github.com/xiph/opus-tools/pull/12
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
10 months agowin32: use same genversion script as opus
Ricardo Constantino [Sun, 22 Jan 2017 13:06:52 +0000 (13:06 +0000)]
win32: use same genversion script as opus

Like with opus, this generates an unknown version for git archives
(like the ones generated by GitHub). If you need a proper version
either use releases, a proper git repo or craft your own
package_version.

Signed-off-by: Mark Harris <mark.hsj@gmail.com>
10 months agoopusenc: Avoid resampler fractional sample offset
Jean-Marc Valin [Sun, 22 Jan 2017 05:31:12 +0000 (21:31 -0800)]
opusenc: Avoid resampler fractional sample offset

Signed-off-by: Mark Harris <mark.hsj@gmail.com>
10 months agoRemove obsolete ChangeLog
Mark Harris [Sun, 22 Jan 2017 04:44:26 +0000 (20:44 -0800)]
Remove obsolete ChangeLog

10 months agoUpdate copyright year
Mark Harris [Sun, 22 Jan 2017 04:40:15 +0000 (20:40 -0800)]
Update copyright year

10 months agoopusenc: Clean up help
Mark Harris [Thu, 1 Oct 2015 08:58:42 +0000 (01:58 -0700)]
opusenc: Clean up help

Clearly indicate which options require a parameter and its usual
format.  Use imperative verb form consistently.  Minor rearrangement
to improve logical ordering.  Move diagnostic options to the end.
Move verbose --picture details to --help-picture so that basic usage
information has a chance of fitting on one screen.  Change use of
obsolete term "MIME type" to "media type".  Update man page to match.

10 months agoopusenc: Fix typos
Mark Harris [Thu, 1 Oct 2015 08:57:20 +0000 (01:57 -0700)]
opusenc: Fix typos

10 months agoopusenc: Don't read excess data after samples
Mark Harris [Thu, 1 Oct 2015 08:55:33 +0000 (01:55 -0700)]
opusenc: Don't read excess data after samples

When reading WAV/AIFF data with a known length, don't try to read
(and then discard) data beyond that length, to avoid blocking or
adding unnecessary latency when the data is not from a file.

10 months agoopusenc: Limit end trimming to one frame
Mark Harris [Thu, 1 Oct 2015 08:49:28 +0000 (01:49 -0700)]
opusenc: Limit end trimming to one frame

Avoid writing a final packet larger than 20ms that is larger than
necessary, with 20ms or more that is beyond the end of the stream.

10 months agoopusenc: Change fatal WAV/AIFF warnings to errors
Mark Harris [Thu, 1 Oct 2015 08:48:19 +0000 (01:48 -0700)]
opusenc: Change fatal WAV/AIFF warnings to errors

10 months agoopusenc: Don't warn about mono center channel WAV
Mark Harris [Thu, 1 Oct 2015 08:51:00 +0000 (01:51 -0700)]
opusenc: Don't warn about mono center channel WAV

Even if it has only one channel, an input WAV file can contain a
channel mask. A warning is issued if it is present but not a
supported value. Don't warn about the previously accepted mask
of 1 (FL), or 4 (FC).  Arguably a channel mask of 1 (FL) should
trigger the warning, just as 2 (FR) does, but some tools (including
old opusdec when decoding to floating point WAV) actually write an
incorrect channel mask of 1 for mono WAV files.

10 months agoopusdec: Fix channel mask in mono float WAV output
Mark Harris [Thu, 1 Oct 2015 08:50:35 +0000 (01:50 -0700)]
opusdec: Fix channel mask in mono float WAV output

Mono channel mask changed from 1 (front left) to 4 (front center)
in WAV output.

10 months agoopusrtp::sniff() - Call pcap_close for any error condition.
Ralph Giles [Mon, 16 Jan 2017 19:00:14 +0000 (11:00 -0800)]
opusrtp::sniff() - Call pcap_close for any error condition.

This avoids leaking the handle on error.

10 months agoopusrtp::extract() - call pcap_close for any error condition
Giacomo Vacca [Sun, 15 Jan 2017 19:37:31 +0000 (20:37 +0100)]
opusrtp::extract() - call pcap_close for any error condition

Signed-off-by: Ralph Giles <giles@thaumas.net>
10 months agoopusrtp::extract() - use only if HAVE_PCAP
Giacomo Vacca [Sun, 15 Jan 2017 19:32:07 +0000 (20:32 +0100)]
opusrtp::extract() - use only if HAVE_PCAP

Signed-off-by: Ralph Giles <giles@thaumas.net>
10 months agoopusrtp: add extract (from file) option
Giacomo Vacca [Thu, 12 Jan 2017 10:42:46 +0000 (11:42 +0100)]
opusrtp: add extract (from file) option

Signed-off-by: Ralph Giles <giles@thaumas.net>
10 months agoopusdec: fix crash with 64-bit VS builds
Ricardo Constantino [Sat, 14 Jan 2017 18:39:50 +0000 (18:39 +0000)]
opusdec: fix crash with 64-bit VS builds

Fix suggested by mark4o.
Tested with 32 and 64-bit VS2015 and MinGW GCC 6.3.

Signed-off-by: Mark Harris <mark.hsj@gmail.com>
11 months agoopusenc: Sanitize sample rate, fix rate from AIFF
Mark Harris [Thu, 1 Oct 2015 08:53:04 +0000 (01:53 -0700)]
opusenc: Sanitize sample rate, fix rate from AIFF

Fix errors (not affecting common values) in reading the sample rate
from AIFF: the low 32 bits of the mantissa were incorrectly interpreted
as signed, the first byte rather than first bit was being used as
a sign, and non-integer rates were not properly rounded.

Although the sample rate is validated prior to setting up the
resampler, sample rates outside the range of an "int" could cause
undefined behavior prior to that when cast from double to int for
AIFF. Such rates could also be incorrect for WAV on 32-bit builds.
Ensure that the rate is within the range of an int prior to casting.

13 months agoFix potential uninitialized access for set-ctl-int
Michael Graczyk [Tue, 26 Apr 2016 03:43:34 +0000 (20:43 -0700)]
Fix potential uninitialized access for set-ctl-int

Signed-off-by: Mark Harris <mark.hsj@gmail.com>
14 months agoopusenc: Use correct types for WAV/AIFF fields
Mark Harris [Thu, 1 Oct 2015 08:44:34 +0000 (01:44 -0700)]
opusenc: Use correct types for WAV/AIFF fields

Don't treat unsigned fields as negative.
Fixes crash due to negative totalsamples.

14 months agoopusrtp: Fix clang -Wcast-align warning
Mark Harris [Fri, 18 Dec 2015 23:18:09 +0000 (15:18 -0800)]
opusrtp: Fix clang -Wcast-align warning

14 months agoopusenc: Write valid Opus file when 80+ channels
Mark Harris [Thu, 1 Oct 2015 08:47:24 +0000 (01:47 -0700)]
opusenc: Write valid Opus file when 80+ channels

14 months agoopusenc: Fix display of percent progress
Mark Harris [Thu, 1 Oct 2015 08:35:03 +0000 (01:35 -0700)]
opusenc: Fix display of percent progress

Fixes https://trac.xiph.org/ticket/2132, initial patch by rillke

14 months agoUse the appveyor badge for the xiph github repo.
Ralph Giles [Wed, 21 Sep 2016 19:35:18 +0000 (12:35 -0700)]
Use the appveyor badge for the xiph github repo.

14 months agoAdd badges
Chocobo1 [Sun, 31 Jul 2016 02:29:00 +0000 (10:29 +0800)]
Add badges

Signed-off-by: Ralph Giles <giles@thaumas.net>
14 months agoModernize README
Chocobo1 [Sun, 31 Jul 2016 02:27:45 +0000 (10:27 +0800)]
Modernize README

Adopt markdown format

Signed-off-by: Ralph Giles <giles@thaumas.net>
14 months agoopusenc: Sanitize WAV/AIFF fourccs
Mark Harris [Thu, 1 Oct 2015 08:32:06 +0000 (01:32 -0700)]
opusenc: Sanitize WAV/AIFF fourccs

Don't print control characters and other invalid bytes from invalid
WAV/AIFF fourccs to the terminal.

14 months agoopusenc: Ignore null comments from FLAC input
Mark Harris [Thu, 1 Oct 2015 08:56:43 +0000 (01:56 -0700)]
opusenc: Ignore null comments from FLAC input

Crash found by afl-fuzz.

14 months agoopusenc: Handle arbitrary AIFF/WAV chunk sizes
Mark Harris [Thu, 1 Oct 2015 08:29:03 +0000 (01:29 -0700)]
opusenc: Handle arbitrary AIFF/WAV chunk sizes

Properly handle chunks of any size from AIFF/WAV input files,
including padding them to an even size as required.  Also ensure
that a relevant message is displayed on any AIFF/WAV open failure.

See oggenc https://trac.xiph.org/ticket/1817,
https://trac.xiph.org/ticket/1912,
https://trac.xiph.org/ticket/2212 (CVE-2015-6749).

14 months agoopusenc: Consistently use large file interfaces
Mark Harris [Thu, 1 Oct 2015 08:54:32 +0000 (01:54 -0700)]
opusenc: Consistently use large file interfaces

Fix potential infinite loop on a specially-crafted input file if
"long" is only 32 bits.  Also on some systems, including some
versions of Windows and 32-bit OS X, fseek() cannot handle large
files even if the offset fits within a "long".

These issues are addressed by consistently using the fseek/ftell
variants that can handle large files, when available, for all input
file processing rather than in only one place.  Don't try to seek
or use the result if ftell() returns an error (e.g. EOVERFLOW).
If large file interfaces are not available, handle seeking in chunks
rather than wrapping and potentially causing an infinite loop.  When
reading data until EOF, treat the ftell() value as only an estimate
for percent progress; if the file grows, do not discard data after
this point.

15 months agoopusenc: Validate AIFF/WAV channel count
Mark Harris [Thu, 1 Oct 2015 08:25:13 +0000 (01:25 -0700)]
opusenc: Validate AIFF/WAV channel count

Interpret channel count properly for input format (signed for AIFF,
unsigned for WAV) and reject invalid values.

Fixes https://trac.xiph.org/ticket/2136 (CVE-2014-9639),
https://trac.xiph.org/ticket/2137 (CVE-2014-9638).

16 months agoAdd appveyor.yml
Ricardo Constantino (:RiCON) [Wed, 27 Jul 2016 00:19:42 +0000 (01:19 +0100)]
Add appveyor.yml

This enables automated testing of windows builds.

Compile opus and libogg with same configuration and platform.
Wasn't able to get the artifacts from the respective autobuilds.

Package executables into artifact and change its name to contain version.

Signed-off-by: Ralph Giles <giles@thaumas.net>
16 months agoVS2015: Use united opus lib.
Ricardo Constantino (:RiCON) [Tue, 26 Jul 2016 21:23:25 +0000 (22:23 +0100)]
VS2015: Use united opus lib.

Signed-off-by: Ralph Giles <giles@thaumas.net>
16 months agoVS2015: Use simple project to run genversion.bat.
Ricardo Constantino (:RiCON) [Tue, 26 Jul 2016 21:21:51 +0000 (22:21 +0100)]
VS2015: Use simple project to run genversion.bat.

Avoids trying to create and replace version.h more than once which
led to file-locking errors with multicore builds.

Signed-off-by: Ralph Giles <giles@thaumas.net>
16 months agoVS2015: Use same format for intermediate and output dirs as opus.
Ricardo Constantino (:RiCON) [Tue, 26 Jul 2016 21:19:51 +0000 (22:19 +0100)]
VS2015: Use same format for intermediate and output dirs as opus.

Signed-off-by: Ralph Giles <giles@thaumas.net>
16 months agoVS2015: Add x64 target to solution.
Ricardo Constantino (:RiCON) [Tue, 26 Jul 2016 21:18:08 +0000 (22:18 +0100)]
VS2015: Add x64 target to solution.

Fix x64 include paths which were using previous directory hierarchy.

Signed-off-by: Ralph Giles <giles@thaumas.net>
16 months agoMove VS2015 only ignores to dedicated win32/.gitignore
Ricardo Constantino (:RiCON) [Tue, 26 Jul 2016 21:09:05 +0000 (22:09 +0100)]
Move VS2015 only ignores to dedicated win32/.gitignore

Signed-off-by: Ralph Giles <giles@thaumas.net>
16 months agoAdd a travis-ci.org config file for integration testing.
Ralph Giles [Tue, 26 Jul 2016 17:15:54 +0000 (10:15 -0700)]
Add a travis-ci.org config file for integration testing.

16 months agoRemove obsolete windows builds files from dist.
Ralph Giles [Tue, 26 Jul 2016 17:07:18 +0000 (10:07 -0700)]
Remove obsolete windows builds files from dist.

16 months agoPut back win32 version.
Ralph Giles [Tue, 26 Jul 2016 16:32:22 +0000 (09:32 -0700)]
Put back win32 version.

This should be updated by genversion.bat as part of the build
and not checked in, really.

16 months agoAdd Visual Studio Git Ignores
Orestes [Wed, 11 May 2016 16:31:47 +0000 (17:31 +0100)]
Add Visual Studio Git Ignores

Signed-off-by: Ralph Giles <giles@mozilla.com>
16 months agoAdd VS2015 files!
Orestes [Wed, 11 May 2016 16:31:14 +0000 (17:31 +0100)]
Add VS2015 files!

Tested with opus and ogg dependencies built, opus-tools build
beautifully :-)

Signed-off-by: Ralph Giles <giles@mozilla.com>
16 months agoTidy VS2010 project files.
Orestes Zoupanos [Wed, 11 May 2016 01:02:43 +0000 (02:02 +0100)]
Tidy VS2010 project files.

Signed-off-by: Ralph Giles <giles@mozilla.com>
17 months agoopusrtp: don't leak file stream on error
Tristan Matthews [Mon, 13 Jun 2016 21:05:58 +0000 (22:05 +0100)]
opusrtp: don't leak file stream on error

22 months agoFix PIE configure test
Christian Weisgerber [Wed, 27 Jan 2016 15:53:57 +0000 (15:53 +0000)]
Fix PIE configure test

In opus-tools, the current PIE configure test assumes that the opus
headers have been installed under the default header search path
of the compiler.  This isn't necessarily the case (/usr/local,
/opt, ...).

Use the detected opus include location instead.

Signed-off-by: Ralph Giles <giles@thaumas.net>
2 years agoFix a comment typo.
Ralph Giles [Wed, 9 Sep 2015 23:54:41 +0000 (16:54 -0700)]
Fix a comment typo.

3 years agoAdd --quiet to opusenc and opusdec man pages.
David Fifield [Tue, 2 Dec 2014 18:48:53 +0000 (10:48 -0800)]
Add --quiet to opusenc and opusdec man pages.

For opusdec it was only missing from the summary.

3 years agoOpusdec doesn't handle chaining that changes the channel count. Exit in that case.
Gregory Maxwell [Mon, 1 Dec 2014 21:12:47 +0000 (13:12 -0800)]
Opusdec doesn't handle chaining that changes the channel count. Exit in that case.

Also handle malloc failure in a few more cases.

3 years agoopusenc: reject sampling rates over 768KHz or under 100Hz.
Gregory Maxwell [Fri, 28 Nov 2014 05:17:54 +0000 (21:17 -0800)]
opusenc: reject sampling rates over 768KHz or under 100Hz.

Crazy sampling rates cause unreasonable memory usage.

This also moves lpc.c temporary buffers onto the heap, we use them once
per file, so the additional malloc activity is not a concern.

Thanks to Dennis Felsing for the report and example inputs.

3 years agoresample: make some tables constant
Diego Elio Pettenò [Mon, 18 Aug 2014 00:07:45 +0000 (17:07 -0700)]
resample: make some tables constant

Patch adapted from https://trac.xiph.org/ticket/1298

cherry-picked from speexdsp ddffc5b466c3c9900e0f2f238ecf7af035faf15f

Signed-off-by: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
3 years agoos_support: fix misleading comments
Tristan Matthews [Sun, 10 Aug 2014 17:50:15 +0000 (13:50 -0400)]
os_support: fix misleading comments

cherry-picked from speexdsp 86779a06f6500d041573d6252d4971d3bfcb4b18

3 years agoresample: complete speex_resampler_reset_mem
Karl Tomlinson [Wed, 25 Jun 2014 20:56:30 +0000 (16:56 -0400)]
resample: complete speex_resampler_reset_mem

Cherry-picked from speexdsp 91cc0a39e5098d0400c78e1c8a9ad874bec8611b

Signed-off-by: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
3 years agoMerge tag 'v0.1.9'
Ralph Giles [Fri, 13 Jun 2014 18:58:41 +0000 (11:58 -0700)]
Merge tag 'v0.1.9'

Opus Audio Tools 0.1.9

This is opus-tools, a set of tools to encode, inspect, and decode
audio in the Opus format.

This release adds support for 32-bit floating point WAV output and
fixes a number of minor issues.

For more information on Opus see http://www.opus-codec.org/

3 years agoarch: _USE_SSE is never defined
Tristan Matthews [Tue, 10 Jun 2014 14:53:29 +0000 (10:53 -0400)]
arch: _USE_SSE is never defined

3 years agoBump version. v0.1.9
Ralph Giles [Thu, 12 Jun 2014 00:10:14 +0000 (17:10 -0700)]
Bump version.

3 years agoFix a typo in a warning message.
Mark Harris [Mon, 9 Jun 2014 20:45:13 +0000 (13:45 -0700)]
Fix a typo in a warning message.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
3 years agoTypo fix encoder->decoder
Ron [Sun, 8 Jun 2014 15:07:31 +0000 (00:37 +0930)]
Typo fix encoder->decoder

Thanks to maikmerten for spotting it.

3 years agoCorrect minor issues with audio input error messages.
Mark Harris [Sun, 9 Feb 2014 01:52:13 +0000 (17:52 -0800)]
Correct minor issues with audio input error messages.

Signed-off-by: Gregory Maxwell <greg@xiph.org>
3 years agoFix 8-bit AIFF input.
Mark Harris [Sun, 9 Feb 2014 00:41:33 +0000 (16:41 -0800)]
Fix 8-bit AIFF input.

AIFF uses signed pcm for all sizes, whereas WAV is unsigned for 8-bit
and signed for other sizes.  For backward compatibility, continue to
use the WAV convention for raw input.

Signed-off-by: Gregory Maxwell <greg@xiph.org>
3 years agoSet correct lsb depth for WAV and AIFF input.
Mark Harris [Sat, 8 Feb 2014 23:14:34 +0000 (15:14 -0800)]
Set correct lsb depth for WAV and AIFF input.

Signed-off-by: Gregory Maxwell <greg@xiph.org>
3 years agoMake discard-comments discard album art, also add a discard-pictures.
Gregory Maxwell [Sat, 25 Jan 2014 00:17:34 +0000 (16:17 -0800)]
Make discard-comments discard album art, also add a discard-pictures.

Discarding the art is a special case because its often huge relative to the
 opus files.

Thanks for bitingsock on IRC for the report.

3 years agoopusrtp: fix memory leaks
Tristan Matthews [Thu, 16 Jan 2014 20:23:57 +0000 (12:23 -0800)]
opusrtp: fix memory leaks

Signed-off-by: Ralph Giles <giles@mozilla.com>
3 years agoDestination and port switches require arguments.
Ralph Giles [Wed, 6 Nov 2013 23:11:24 +0000 (15:11 -0800)]
Destination and port switches require arguments.

Missed this in review.

3 years agoAdd support in opusdec to write out 32-bit floating-point.
Gregory Maxwell [Mon, 13 Jan 2014 19:55:10 +0000 (11:55 -0800)]
Add support in opusdec to write out 32-bit floating-point.

4 years agoBump version. v0.1.8
Gregory Maxwell [Wed, 4 Dec 2013 23:43:08 +0000 (15:43 -0800)]
Bump version.

4 years agoFix copying pictures from FLAC with a mimetype.
Timothy B. Terriberry [Thu, 28 Nov 2013 16:02:34 +0000 (08:02 -0800)]
Fix copying pictures from FLAC with a mimetype.

If the METADATA_BLOCK_PICTURE field contained a non-empty mimetype
 or description field, then we would overwrite important pieces of
 the struct when encoding, making the tag useless.

4 years agoopusrtp: add options to set destination address and port
Tristan Matthews [Wed, 30 Oct 2013 21:07:46 +0000 (14:07 -0700)]
opusrtp: add options to set destination address and port

Signed-off-by: Ralph Giles <giles@mozilla.com>
4 years agoPass --always to 'git describe'.
Ralph Giles [Tue, 1 Oct 2013 21:47:06 +0000 (14:47 -0700)]
Pass --always to 'git describe'.

This provides a fallback commit id if no tags are available,
for example when doing a shallow clone.

4 years agoDocument using --genre and --artist multiple times.
Ralph Giles [Thu, 19 Sep 2013 21:24:44 +0000 (14:24 -0700)]
Document using --genre and --artist multiple times.

4 years agoFix a manpage typo.
Ralph Giles [Thu, 19 Sep 2013 21:24:35 +0000 (14:24 -0700)]
Fix a manpage typo.

4 years agoAdd new metadata switches to the manpage.
Ralph Giles [Mon, 9 Sep 2013 02:21:26 +0000 (19:21 -0700)]
Add new metadata switches to the manpage.

4 years agoActually enable flac support in the unix build.
Ralph Giles [Sun, 8 Sep 2013 20:21:12 +0000 (13:21 -0700)]
Actually enable flac support in the unix build.

Previously we linked to flac, but didn't set the enabling CFLAG.

4 years agoAdd wave_out to VERSIONED_OBJS.
Ralph Giles [Sun, 8 Sep 2013 20:15:19 +0000 (13:15 -0700)]
Add wave_out to VERSIONED_OBJS.

wave_out.c also references PACKAGE_NAME and PACKAGE_VERSION.

4 years agoRemove unused file NEWS.
Ralph Giles [Sun, 8 Sep 2013 17:14:26 +0000 (10:14 -0700)]
Remove unused file NEWS.

GNU autotools used to enforce some coding standards, but I don't
see a warning about not having this or a changelog now.

4 years agoBe consistent with the order we include dependencies
Ron [Sat, 7 Sep 2013 09:23:54 +0000 (18:53 +0930)]
Be consistent with the order we include dependencies

This should have no real functional change at this point in time,
but it's clear that Ogg will never depend on Opus.  The reverse is
likely to remain true, but less axiomatic.

4 years agoDon't overlink everything with flac
Ron [Sat, 7 Sep 2013 09:18:59 +0000 (18:48 +0930)]
Don't overlink everything with flac

Only opusenc uses it at present.

4 years agoDon't include OPUS_CFLAGS and OPUS_LIBS twice
Ron [Sat, 7 Sep 2013 09:16:22 +0000 (18:46 +0930)]
Don't include OPUS_CFLAGS and OPUS_LIBS twice

4 years agoBump version. v0.1.7
Gregory Maxwell [Wed, 4 Sep 2013 22:54:00 +0000 (15:54 -0700)]
Bump version.

4 years agoSilence mvsc posix warnings.
Ralph Giles [Mon, 26 Aug 2013 19:10:28 +0000 (12:10 -0700)]
Silence mvsc posix warnings.

4 years agoAdd picture.c to the Visual Studio project files.
Ralph Giles [Mon, 26 Aug 2013 18:46:05 +0000 (11:46 -0700)]
Add picture.c to the Visual Studio project files.

4 years agoUpdate opus library paths for the new project files.
Ralph Giles [Mon, 26 Aug 2013 18:31:44 +0000 (11:31 -0700)]
Update opus library paths for the new project files.

Garf's new project files build things in win32/VSnnnn/ instead
of the top level. Also updates the ogg paths to use defines
instead of hard-coding release and platform tags.

4 years agoAsk genversion.bat to generate PACKAGE_VERSION.
Ralph Giles [Mon, 26 Aug 2013 18:13:47 +0000 (11:13 -0700)]
Ask genversion.bat to generate PACKAGE_VERSION.

It was still defining VERSION in the Visual Studio project files,
which hadn't been updated for this change.

4 years agoDoc improvements for --bitrate.
Ron [Sat, 13 Jul 2013 08:11:37 +0000 (17:41 +0930)]
Doc improvements for --bitrate.

Include the doc fixes from 3138cb7c9a8b108a9609d53ad56ae6391130af79,
even if people don't want the --quality alias after all.

4 years agoAlways try to update the version when autogen.sh is run
Ron [Sat, 13 Jul 2013 08:00:13 +0000 (17:30 +0930)]
Always try to update the version when autogen.sh is run

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.

4 years agoRevert "Doc improvements for --bitrate, and a --quality alias for it."
Gregory Maxwell [Thu, 11 Jul 2013 23:46:12 +0000 (16:46 -0700)]
Revert "Doc improvements for --bitrate, and a --quality alias for it."

This reverts commit 3138cb7c9a8b108a9609d53ad56ae6391130af79.

4 years agoDoc improvements for --bitrate, and a --quality alias for it.
Gregory Maxwell [Thu, 11 Jul 2013 23:36:57 +0000 (16:36 -0700)]
Doc improvements for --bitrate, and a --quality alias for it.

4 years agoOpus-tools now requires libopus 1.0.3 or later.
Gregory Maxwell [Sat, 29 Jun 2013 21:22:39 +0000 (14:22 -0700)]
Opus-tools now requires libopus 1.0.3 or later.

This updates the configure.ac requirements for the last patch from
 JM, and also fixes the unused variable warnings it created.

4 years agoConverts opusenc to the new multistream surround encoder API
Jean-Marc Valin [Sun, 5 May 2013 21:10:00 +0000 (17:10 -0400)]
Converts opusenc to the new multistream surround encoder API

Channel mapping is now determined automatically by libopus.
This breaks the --uncoupled option because opusenc no longer
has any control over the mapping.

4 years agoReplace INCLUDES with AM_CPPFLAGS
Ron [Sat, 29 Jun 2013 06:08:35 +0000 (15:38 +0930)]
Replace INCLUDES with AM_CPPFLAGS

Automake 1.13 complains that INCLUDES is obsoleted now.