aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|