aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Make sure alffplay properly stops when quitingChris Robinson2021-12-271-10/+13
| | | | | | The parser thread could be waiting on the threads to join after queueing all packets, so it wouldn't see mQuit to flush the queue. So make a stop method that forces a flush when setting mQuit.
* Heavily update alffplay packet handlingChris Robinson2021-12-261-157/+209
| | | | | Avoid deprecated use of raw AVPacket objects, and use a separate thread to send packets than receives the decoded frames.
* Remove unnecessary ifdefs from alffplayChris Robinson2021-12-241-32/+9
| | | | We already assume OpenAL Soft's alext.h, which these are part of now.
* Use the audio clock as the default in alffplayChris Robinson2021-12-241-49/+59
|
* Add an option to use Super Stereo in alffplayChris Robinson2021-12-151-0/+23
|
* Update some in-progress extension typesChris Robinson2021-11-101-2/+2
|
* Fix short initial packet preparation in alffplayChris Robinson2021-05-201-3/+11
|
* Add an option to decode stereo as UHJ in alffplayChris Robinson2021-04-021-76/+137
|
* Use float formats in examples/alstreamcbChris Robinson2021-03-211-10/+10
| | | | | | | libsndfile apparently has issues reading floating-point wave files as 16-bit samples (produces silence). Even on other file formats, reading float samples as integer samples has no over/underflow protection, so this is better for those formats too.
* Fix some tabs and missing castChris Robinson2020-12-041-11/+10
|
* Add a gain argument to altonegen (#502)Eliot Miranda2020-12-041-4/+24
| | | | | | * Fix a speeling rorre in an error message. Add a gain command-line argument to altonegen.c * Fix some formatting issues and a copy/paste error.
* Check for the right extension string in alffplayChris Robinson2020-10-261-1/+1
|
* Finalize AL_SOFT_eventsChris Robinson2020-10-261-16/+0
|
* Silence a couple more MSVC warningsChris Robinson2020-10-231-3/+8
|
* Update event enum valuesChris Robinson2020-10-071-5/+5
| | | | To keep them less spread out from other OpenAL Soft extensions.
* Support B-Format sounds in the examplesChris Robinson2020-09-227-7/+86
|
* Recognize B-Format format names in the examplesChris Robinson2020-09-221-0/+6
|
* Support B-Format amb file IRs in alconvolveChris Robinson2020-09-221-1/+12
| | | | | | Be aware this requires proper header data (a WAVE_FORMAT_EXTENSIBLE format with the proper integer or float B-Format sub-format GUID). A normal 4-channel wave file will not be recognized, since it's indistinguishable from quadrophonic.
* Add an alconvolve option to silence the dry signalChris Robinson2020-09-221-3/+49
|
* Remove deprecated, performance, and error event typesChris Robinson2020-09-201-9/+2
| | | | | These would be better served with a proper debug API, rather than a general audio event API.
* Print the name and format for alconvole's impulse responseChris Robinson2020-09-051-7/+18
|
* Add an in-progress extension string for convolution reverbChris Robinson2020-09-011-2/+2
|
* Base the convolution example on the simpler stream exampleChris Robinson2020-08-262-536/+515
|
* Recognize float32 format names for the example healpersChris Robinson2020-08-261-4/+7
|
* Add an example using convolution reverbChris Robinson2020-08-251-0/+536
|
* Improve handling main() with UTF-8 args on WindowsChris Robinson2020-08-122-0/+4
|
* Cleanup some warnings with ffmpeg/alffplayChris Robinson2020-08-121-27/+36
|
* Remove an unused variableChris Robinson2020-08-111-1/+0
|
* Dump the ffmpeg file info on the main threadChris Robinson2020-04-291-64/+64
|
* Convert the examples from SDL_sound to libsndfileChris Robinson2020-03-247-394/+271
|
* Use libsndfile for the alplay exampleChris Robinson2020-03-241-52/+42
|
* Update to C++14Chris Robinson2020-03-221-1/+1
|
* Remove AL_SOFT_map_buffer from alffplay and add AL_SOFT_callback_bufferChris Robinson2020-02-231-153/+365
| | | | | | | The former doesn't really help too much since buffers still need to be (re)filled and (de)queued individually. A callback buffer, on the other hand, allows for greater efficiency since it just needs to write into a ring buffer that the mixer will directly read from.
* Add a streaming example using a callback bufferChris Robinson2020-02-201-0/+436
|
* Get the audio sync once per update in alffplayChris Robinson2020-01-131-29/+27
|
* Finalize AL_SOFT_bformat_exChris Robinson2020-01-051-12/+12
|
* Make the new direct channel remix extension publicChris Robinson2019-12-281-7/+12
|
* Test the B-Format buffer extension in alffplayChris Robinson2019-12-021-9/+43
|
* Wrap the cycle amount when passing to sin()Chris Robinson2019-10-121-1/+4
|
* Enable and fix some more warningsChris Robinson2019-09-185-80/+80
|
* Fix a few more GCC warningsChris Robinson2019-09-141-2/+2
|
* Fix some more implicit conversions noted by GCCChris Robinson2019-09-143-5/+6
|
* Avoid implicit conversions with the examples and utilsChris Robinson2019-09-1211-91/+97
|
* Cleanup the examples' includesChris Robinson2019-07-2911-32/+54
|
* Increase the video picture queue size to 24Chris Robinson2019-07-261-1/+1
|
* Only redraw the image when necessaryChris Robinson2019-07-231-5/+16
|
* Only send packets as neededChris Robinson2019-07-231-39/+49
|
* Use a local variable to track the decoded ptsChris Robinson2019-07-201-6/+5
|
* Set the initial clock time closer to starting playbackChris Robinson2019-07-201-15/+13
|
* Restructure codec send/receive callsChris Robinson2019-07-191-75/+64
| | | | | | | | | In particular, after an initial fill of the codec's internal buffer, each receive_frame call is followed by one or more send_packet calls. For asynchronous codecs, this has the effect of letting the codec work while the handler thread is waiting for an AVFrame structure to become available or waiting for more decoded data to be needed. For synchronous codecs, this makes the send_packet calls use up time that would be spent waiting.