aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Unlock the audio decoder mutex before disabling events in alffplayChris Robinson2019-02-251-2/+3
| | | | | The callback may be waiting on the mutex, but disabling the callback needs any current invocation to finish first.
* Fixed alffplay underrun recovery timingChris Robinson2019-02-041-33/+26
|
* Partially handle ambisonics in alffplayChris Robinson2019-01-271-28/+98
| | | | | | | | | This is currently really only applicable to Opus-encoded files. It assumes AmbiX (SN3D normalization, ACN ordering) and only comes into play when the channel layout is blank. FFmpeg/libavcodec doesn't have a way to detect B-Format input or what normalization and ordering it uses. Note in particular .amb files do not play correctly (libavcodec seems to apply a default channel layout for 4-channel wav-type files, regardless of its channel mask value).
* Replace a couple more C-style castsChris Robinson2019-01-081-3/+2
|
* Avoid using old style castsFilip Gawin2019-01-081-14/+14
| | | | | | To think about: examples/alffplay.cpp:600 OpenAL32/Include/alMain.h:295
* Use nullptr in cpp filesFilip Gawin2019-01-071-1/+1
|
* Return a signed integer from altime_getChris Robinson2018-11-273-10/+10
|
* Add the appropriate include for the _POSIX_TIMERS macroChris Robinson2018-11-271-0/+1
|
* Fix use of clock_gettimeChris Robinson2018-11-271-2/+2
|
* Avoid relying on struct timespecChris Robinson2018-11-263-48/+37
|
* Avoid including threads.h in the example helpersChris Robinson2018-11-263-5/+7
|
* Try to improve alffplay underrun device time adjustmentChris Robinson2018-11-201-1/+1
|
* Improve audio underrun recordery in alffplayChris Robinson2018-11-181-0/+12
| | | | | Now it has a better idea to skip samples during refill instead of after restarting.
* Move altimespec_get and al_nssleep to examples' common codeChris Robinson2018-11-102-0/+80
|
* Simplify some statementsFilip Gawin2018-10-291-5/+5
|
* Use the common init/close functions for alffplayChris Robinson2018-10-101-33/+14
|
* Allow building alffplay without experimental extensionsChris Robinson2018-10-081-12/+42
|
* Add an alffplay option to play stereo streams with wide anglesChris Robinson2018-05-171-10/+34
|
* Added missing string include to alffplayHenri Hyyryläinen2018-03-301-0/+1
|
* Fix a couple comments about coordinate handednessChris Robinson2018-03-241-1/+1
|
* Fix for older MSVC lacking strtofChris Robinson2018-03-211-0/+7
|
* Update the multi-reverb example with improved transitionsChris Robinson2018-03-201-143/+236
| | | | | | | | This better calculates the environment coverage by correctly calculating the portal's extents, improves the panning direction when close to the portal, and applies attenuation based on contribution. Movement has changed to make the listener move back and forth between environments with a stationary source, rather than continually looping environments with a position-relative source.
* Change the presets for the multireverb exampleChris Robinson2018-03-161-2/+2
|
* Add missing includeChris Robinson2018-03-011-0/+1
|
* Fix use of argv[0] as the program name after incrementingChris Robinson2018-02-281-4/+1
|
* Apply distance attenuation to reverb zones in almultireverbChris Robinson2018-02-281-2/+18
|
* Update the multi-zone reverb example for clarityChris Robinson2018-02-201-47/+52
|
* fix building on freebsd (clang)Alexey Elymanov2018-02-201-0/+1
| | | fixes error: 'pow' is not a member of 'std'
* Add an example for multi-zone reverbChris Robinson2018-02-181-0/+584
|
* Handle disconnected events in alffplayChris Robinson2018-02-031-4/+18
|
* Signal a condition variable when a buffer completes in alffplayChris Robinson2018-02-011-4/+9
|
* Don't print buffer completed events in alffplayChris Robinson2018-01-311-0/+6
|
* Use std::array instead of a plain array in alffplayChris Robinson2018-01-281-4/+4
|
* Enable events in alffplayChris Robinson2018-01-241-0/+73
|
* Use a new proper buffer function with a flags parameterChris Robinson2018-01-231-12/+11
| | | | | | Rather than hackily combining bit flags with the format, to increase the number of potential flags. alBufferData now behaves as if calling alBufferStorageSOFT with a flags value of 0.
* Test mapped buffers in alffplayChris Robinson2018-01-231-14/+68
|
* Remove alffplay's duplicate ALC_SOFT_device_clock declarationsChris Robinson2018-01-151-14/+0
|
* Finalize ALC_SOFT_device_clockChris Robinson2018-01-151-4/+1
|
* Only print the time in alffplay when it changesChris Robinson2018-01-071-4/+11
|
* Fix a temp buffer leak in alffplayChris Robinson2018-01-051-2/+2
|
* Handle the audio clock diff as nanoseconds in alffplayChris Robinson2018-01-051-8/+6
|
* Use a non-recursive mutex for alffplay's source lockChris Robinson2018-01-031-11/+14
|
* Use ALC_SOFT_device_clock in alffplayChris Robinson2018-01-021-12/+86
|
* Improve starting synchronization in alffplayChris Robinson2018-01-021-19/+60
| | | | | It waits until the internal buffers are filled before starting playback, then triggering the audio and video to start as close together as possible.
* Inline and simplify some codeChris Robinson2018-01-011-29/+23
|
* Don't leak the AVIOContextChris Robinson2018-01-011-1/+8
|
* Fix a couple alffplay comments still referencing AlureChris Robinson2018-01-011-4/+4
|
* Make smart pointer wrappers for some ffmpeg typesChris Robinson2018-01-011-72/+81
|
* Print the running time and duration in alffplayChris Robinson2018-01-011-1/+42
|
* Use aliases to simplify some time type namesChris Robinson2018-01-011-67/+61
|