aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some gotos and non-optimal castsChris Robinson2023-12-265-19/+18
|
* Use standard methods for roundingChris Robinson2023-12-251-2/+2
|
* Avoid assignments in if conditionsChris Robinson2023-12-231-1/+2
|
* Fix implicit widening after multiplicationChris Robinson2023-12-232-14/+14
|
* Ensure struct members are initializedChris Robinson2023-12-202-2/+2
|
* Fix some implicit conversionsChris Robinson2023-12-171-1/+1
|
* Fix clang-tidy warnings from the examples and utilitiesChris Robinson2023-12-133-21/+21
|
* Much more clang-tidy cleanupChris Robinson2023-12-102-43/+41
|
* Fix some clang-tidy warningsChris Robinson2023-12-081-33/+28
|
* Add missing include for examples to have a UTF-8 mainChris Robinson2023-12-068-0/+16
|
* Remove a dead storeChris Robinson2023-12-041-1/+0
|
* Rename the convolution reverb effect to just convolutionChris Robinson2023-10-121-16/+16
| | | | | While the common use case, convolution can do more than just reverb, and it nicely shortens the name.
* Fix waveforms generated by altonegenChris Robinson2023-08-281-32/+41
|
* Fix some typos (#872)Dirk Stolle2023-07-048-12/+12
|
* Make the API functions noexceptChris Robinson2023-05-222-8/+8
| | | | | | | | | | | Only relevant for C++, but these functions can't throw as it's a C-based API. Letting the compiler know that helps improve code generation. Extension callbacks must also not let exceptions leave the callback, or else Bad Things can happen. The macro AL_DISABLE_NOEXCEPT may be defined before including the headers to not mark functions as noexcept, but this should only be done if the caller can't otherwise be fixed.
* Fix compiling examples with an older libsndfileChris Robinson2023-03-053-9/+18
| | | | Which lack the SF_FORMAT_MPEG_LAYER_* enums.
* Make sure the fmt chunk is large enoughChris Robinson2023-03-053-4/+4
|
* Remove a couple unused variablesChris Robinson2023-03-041-2/+2
|
* Support float and ADPCM formats in alstreamChris Robinson2023-02-171-19/+210
|
* Cleanup the examples' loading functions slightlyChris Robinson2023-02-172-59/+59
|
* Handle Int16 and ADPCM formats in alstreamcbChris Robinson2023-02-161-25/+181
|
* Support loading as float or ADPCM in alplayChris Robinson2023-02-161-12/+164
|
* Add more formats for displaying in examplesChris Robinson2022-11-291-0/+35
|
* Avoid overriding main with SDLChris Robinson2022-11-232-0/+10
|
* Fix an ambisonic layout check in alffplayChris Robinson2022-09-241-1/+1
|
* Update alffplay to support newer ffmpeg versionsChris Robinson2022-08-201-115/+138
|
* More agressively hide PipeWire and SDL header warningsChris Robinson2022-05-091-4/+4
|
* Avoid an ugly and confusing generate_nChris Robinson2022-05-081-13/+7
|
* Clean up readAudio someChris Robinson2022-05-081-76/+40
|
* Drain audio frames when stopping playback in alffplayChris Robinson2022-05-071-7/+16
|
* Define FUNCTION_CAST in a common headerChris Robinson2022-04-227-46/+15
|
* Finalize AL_SOFT_UHJChris Robinson2022-04-131-36/+2
|
* Finalize AL_SOFT_callback_bufferChris Robinson2022-04-012-33/+2
|
* Remove the unused flags parameter from alBufferCallbackSOFTChris Robinson2022-04-012-7/+4
|
* Remove a dead storeChris Robinson2022-03-301-1/+0
|
* Use a more C99-compliant function castChris Robinson2022-02-264-4/+48
|
* Constify the AVCodec* returned by avcodec_find_decoderChris Robinson2022-02-191-1/+1
|
* 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
|