summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: Removed tailing white-spaces in C code filesPhilipp Schafft2017-07-233-39/+39
| | | | Signed-off-by: Ralph Giles <giles@thaumas.net>
* Remove svn $Id$ header.Ralph Giles2017-06-165-5/+0
| | | | | | | Most checked-in files had a comment with a filename and last-modified string automatically updated by the subversion version control tool. These became obsolete when we migrated the repository to git. Remove them.
* Fix automake warning.Ralph Giles2015-05-201-2/+2
| | | | | Newer versions prefer AM_CPPFLAGS to INCLUDES. Tell libtool about our m4 directory.
* Link all of the examples to libogg.Thomas Daede2015-05-191-5/+5
|
* Correct two errors in patch for Trac #1486:Monty2014-06-181-0/+2
| | | | | | | | 1) vf->offset should not have been overridden in new front-of-stream case 2) missing status output in seeking_example.c svn path=/trunk/vorbis/; revision=19164
* Extend seeking_example to always perform a pcm / pcm_page seek test to ↵Monty2014-06-111-9/+6
| | | | | | position 0 as an addiitonal test svn path=/trunk/vorbis/; revision=19158
* Commit tterribe's port of Tremor r17541:Monty2010-10-231-2/+2
| | | | | | | | | | | Harden the code that trims the last packet of a stream; it was possible to game the granpos such that the trim code would try to rewind more samples than were actually available in storage. Also, fix/eliminate two printf warnings in seeking_example extension. svn path=/trunk/vorbis/; revision=17561
* While reviewing a patch to port Tremor r17541, noticed that the Monty2010-10-231-12/+32
| | | | | | | | | | | | | half-rate decode code in Vorbisfile was never completed past the original 'quick and dirty' feature request. Specifically, it made no attempt to keep the pcm offset tracking consistent in seeks. Complete this code, and add a testing mode to seeking_example.c to torture test seeking in halfrate mode. Also remove requirement that halfrate mode only work with seekable files. svn path=/trunk/vorbis/; revision=17560
* Correct a longstanding bug in the 16u2 codebook; the bug was harmless ↵Monty2010-03-251-12/+12
| | | | | | | | | | | | (though it hurt efficiency) in the old coupling/quant code, but it causes corrupt output in the new code; fixed. Update frameview code for recent Tk svn path=/trunk/vorbis/; revision=17022
* New noise norm, coupling and quant code necessary for depth>1 coupling. ↵Monty2010-03-031-22/+22
| | | | | | | | | Also substantially cleans up the old code for mono/stereo usage. svn path=/trunk/vorbis/; revision=16946
* Similarly check for error in seeking_exampleMonty2009-07-241-1/+4
| | | | svn path=/trunk/vorbis/; revision=16329
* Fix for Trac #1573.Monty2009-07-241-1/+6
| | | | | | | | | | | | This is two bugs. The first is that vorbisfile_example.c ignores an error code and plows ahead blindly if libvorbisfile reports the current bitstream section is bad (OV_EBADLINK). The second is that retrying after the error crashes libvorbisfile due to the unitialized state. svn path=/trunk/vorbis/; revision=16328
* Bump build system versions for releaseMonty2009-07-102-6/+6
| | | | | | | | Move the OV_EXCLUDE_STATIC_CALLBACKS define up to fix another symbol warning ala Trac #1560 svn path=/trunk/vorbis/; revision=16243
* applied Trac #1548Monty2009-07-081-1/+1
| | | | svn path=/trunk/vorbis/; revision=16224
* global replaced all tabs with whitespaces in the source to end some ofMonty2009-05-265-238/+237
| | | | | | | | | the ongoing formatting silliness. ...with apologies to the havoc this will wreak on svn blame being useful. svn path=/trunk/vorbis/; revision=16037
* Fix some comment typos and spacing.Ralph Giles2009-05-121-11/+11
| | | | svn path=/trunk/vorbis/; revision=15996
* Additional bulletproofing to hufftree decoding; reject underpopulated Monty2008-04-281-86/+89
| | | | | | | trees up-front. svn path=/trunk/vorbis/; revision=14811
* Don't crash on successful corrupt file rejection due to being too lazyMonty2008-03-181-1/+5
| | | | | | | to check return vals. svn path=/trunk/vorbis/; revision=14599
* Minor clarification to comments about assuming 44.1kHz/stereo/16bit WAVerikd2008-03-081-3/+3
| | | | | | in example code. svn path=/trunk/vorbis/; revision=14558
* fix 'make distcheck'. before and after tarballs almost identical.erikd2007-11-221-5/+11
| | | | svn path=/trunk/vorbis/; revision=14215
* Update documentation, version numbers, copyright datesMonty2007-07-245-16/+15
| | | | svn path=/trunk/vorbis/; revision=13293
* Add ov_fopen() (like ov_open, but does the fopen within libvorbisfile)Monty2007-07-232-40/+33
| | | | | | | | | | | | and extend ov_open_callbacks() mechanism as means of encouraging use over ov_open(). Use of ov_open() now strongly discouraged under Windows; ov_open_callbacks(fd,vf,NULL,0,OV_CALLBACKS_NOCLOSE) as a direct replacement or ov_fopen() as a convenient substitute. svn path=/trunk/vorbis/; revision=13289
* Fix for bug 577; used a different approach than the submitted patchMonty2007-06-291-13/+59
| | | | | | | | | | (rather than fudging an out of bound result after computation, do it the right way to begin with) Add test for fix to seeking_example. svn path=/trunk/vorbis/; revision=13198
* Remove obsolete .cvsignore files.Ralph Giles2006-01-281-9/+0
| | | | svn path=/trunk/vorbis/; revision=10756
* Don't build static code examples by default. Static linking is broken Ralph Giles2004-09-191-1/+2
| | | | | | | (and unsupported) on recent MacOS X, but libtool hasn't learned this yet. svn path=/trunk/vorbis/; revision=7807
* Put AoTuV tunings merge (along with bugfixes) on the mainline. Thisv1.1.0rc1Monty2004-07-072-4/+4
| | | | | | | | is ready for wider correctness testing; no substantial issues expected. svn path=/trunk/vorbis/; revision=7037
* Correct a comment typo.Ralph Giles2004-06-241-1/+1
| | | | svn path=/trunk/vorbis/; revision=6854
* A single page audio stream that was also a short page would decode too far.Monty2002-10-111-1/+3
| | | | svn path=/trunk/vorbis/; revision=3996
* Kill a comment example typoMonty2002-07-161-6/+5
| | | | svn path=/trunk/vorbis/; revision=3636
* Turn off HF dipole stereo. The elliptical stereo from rc3, despiteMonty2002-07-131-2/+2
| | | | | | | | slightly more centered hiss, simply works better. Monty svn path=/trunk/vorbis/; revision=3609
* Update MacOS build files for Metrowerks CodeWarrior 7. Haven't tested the ↵Ralph Giles2002-07-122-5/+5
| | | | | | example appls svn path=/trunk/vorbis/; revision=3605
* Saner, default mode for encoder_exampleMonty2002-07-111-4/+2
| | | | svn path=/trunk/vorbis/; revision=3575
* All sample rates/modes with fresh training now in CVS.Monty2002-07-115-18/+50
| | | | | | | | | | (Training run must now be thoroughly tested) Floor1 divide by zero bugfix added option for modern PowerPC optimization to configure.in more comments in examples/encoder_example.c svn path=/trunk/vorbis/; revision=3574
* Remove and unused variable.Ralph Giles2002-07-091-2/+1
| | | | svn path=/trunk/vorbis/; revision=3559
* 32kHz modes, coupled and uncoupled, managed and unmanagedv1.0.0rc4-internalMonty2002-07-021-3/+3
| | | | | | Monty svn path=/trunk/vorbis/; revision=3467
* Substantially increase the number of bits given to noise encoding inMonty2002-07-011-3/+3
| | | | | | impulse blocks. All you Aphex Twin freaks can quiet down now :-) svn path=/trunk/vorbis/; revision=3466
* new ectl calls for lowpass and impulse block tweakingMonty2002-07-011-6/+7
| | | | | | | | | | fix some accidentally untrained books for mid/high rate stereo add 44kHz mono modes (32kHz - 280kHz) tone down bass ATH to avoid stressing floor svn path=/trunk/vorbis/; revision=3463
* Missed the encode ctl headersMonty2002-06-301-3/+6
| | | | svn path=/trunk/vorbis/; revision=3452
* The 'Grand Simplification' officially becomes the mainline toward rc4.Monty2002-06-281-2/+3
| | | | | | Currently, only 44/48kHz stereo is supported. svn path=/trunk/vorbis/; revision=3437
* fix a few obvious bugs, pretty it up a bit moreMonty2002-05-011-41/+71
| | | | svn path=/trunk/vorbis/; revision=3267
* animation speed optimizationMonty2002-04-301-91/+106
| | | | svn path=/trunk/vorbis/; revision=3266
* A somewhat more convienient by-frame graphing tool to replace gnuplotMonty2002-04-301-0/+585
| | | | svn path=/trunk/vorbis/; revision=3265
* Lots more preecho tuning after detailed feedback from Juha (JohnV). IMonty2002-03-291-2/+2
| | | | | | | | | think I pass all his test cases now. General behavior is much tighter, less hacked, even yet a bit faster. Monty svn path=/trunk/vorbis/; revision=3197
* Continued preecho tuning/fixes. Gone to average dB with even/oddMonty2002-03-241-2/+2
| | | | | | | | | smoothing, and cranked the sensitivity back up to ala rc3. Result: when rc3 and current are working 'properly', current trips _slightly_ more impulse blocks but also catches many more audible cases. Current also seems more resistent to false positives. svn path=/trunk/vorbis/; revision=3181
* new preecho was switching back to long blocks too soonMonty2002-03-231-2/+2
| | | | svn path=/trunk/vorbis/; revision=3179
* Numerous vorbisfile fixes:Monty2002-03-071-1/+2
| | | | | | | | | | | | | | | | | | | | Fixed a seek bug that didn't cause any wrong answers but did have a minor negative impact on seeking performance Corrected ov_read_float() prototype ot more closely match how ov_read() is used. Rendered all of vorbisfile 64 bit clean for >2GB files. This required changing ov_seek_raw(OggVorbis_File *vf,long position) to ov_seek_raw(OggVorbis_File *vf,ogg_int64_t position). This breaks lib compatability for those using this function, please increment the version number. Fixed vorbisfile handling of logical streams that begin at a non-zero PCM offset. captured live streams, and cut streams, for example, now behave. svn path=/trunk/vorbis/; revision=3126
* Single link files seeking fixes:Monty2002-02-282-6/+17
| | | | | | | | | fix pcm exact seeking at very beginning (a rejected packet was being interpreted as a negative pcm offset) and very end of files (short final frames require processing from previous page's granulepos to get length of final frame correct) svn path=/trunk/vorbis/; revision=3115
* All comments should be old-style ( /* ... */ ) comments.Segher Boessenkool2002-01-231-2/+2
| | | | | | Closes #134. svn path=/trunk/vorbis/; revision=2980
* Fixed a memory management error in the new codebook codeMonty2002-01-221-1/+3
| | | | | | | | | | | | | Removed final-stage infinite shift buffer; now a no-copy double buffer; removes another 70kB nominal from decode with slight speed improvement (~2%) there's still an exact-position seek bug found by seeking_example to track down. The seek succeeds, but the position is off. Monty svn path=/trunk/vorbis/; revision=2975
* restore to stereo and max compressioncwolf2001-12-291-3/+2
| | | | svn path=/trunk/vorbis/; revision=2915