aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Update alffplay for newer ffmpeg and convert to C++Chris Robinson2017-03-052-1573/+1546
|
* Remove unnecessary wrappers around SDL_soundChris Robinson2017-03-049-624/+252
| | | | Also remove wrappers for the now-unsupported buffer_samples extension.
* Skip audio packets that fail to decode in alffplayChris Robinson2016-09-141-1/+5
|
* Allow specifying the device to open for the examplesChris Robinson2016-09-088-51/+89
|
* Print whether direct channels are off or on to stdout in alffplayChris Robinson2016-08-291-1/+4
|
* Add an option to alffplay to toggle AL_DIRECT_CHANNELS_SOFTChris Robinson2016-08-291-0/+22
| | | | | Using the 'd' key will toggle the playback source's AL_DIRECT_CHANNELS_SOFT property. Although there is no visual feedback showing when it's on or off.
* Also rotate stereo sounds in the alhrtf exampleChris Robinson2016-08-241-2/+22
|
* Fix for ffmpeg.Ryan P.C. McQuen2016-07-211-2/+2
| | | Closes https://github.com/kcat/openal-soft/issues/48.
* fix audio play error in samplegero2016-04-221-1/+1
| | | fix audio play error in sample
* Don't request a specific HRTF when one isn't specifiedChris Robinson2016-03-111-8/+11
|
* Fix "signed and unsigned type in conditional expression" warningChris Robinson2016-01-241-1/+1
|
* Avoid using usleep in the examplesChris Robinson2015-12-047-14/+8
| | | | We already have an al_nssleep wrapper in the common lib we can use.
* Add missing math.h include for sin()Chris Robinson2015-11-061-0/+1
|
* Add an impulse "waveform" to altonegenChris Robinson2015-10-311-4/+17
|
* Add an HRTF exampleChris Robinson2015-10-281-0/+247
| | | | Doubles as a psuedo-test to play a sound with HRTF.
* Silence implicit double-to-float cast MSVC warningChris Robinson2015-10-141-1/+1
|
* Print the wave type being playedChris Robinson2015-10-141-2/+14
|
* Make the tonegen sampling rate match the device rate by defaultChris Robinson2015-10-141-18/+14
|
* Add a tone generator test programChris Robinson2015-10-131-0/+250
| | | | | | Currently used to test the general output, particularly the resampler, by checking the results with a spectrum analyzer and/or oscilloscope (for example using PulseAudio's "Monitor of ..." devices feeding an external app).
* Play a 1khz sine wave for 4 seconds in the loopback exampleChris Robinson2015-09-071-3/+3
|
* Use the default channel layout in alffplay if one isn't specifiedChris Robinson2014-12-121-1/+3
|
* Fallback to 16-bit samples in alffmpeg if a float32 format isn't supportedChris Robinson2014-11-071-4/+4
|
* Support 5.1 and 7.1 in alffplayChris Robinson2014-11-051-5/+57
|
* Explicitly include libavutil/channel_layout.h for the channel layout stuffChris Robinson2014-07-181-0/+1
|
* AL_SOFT_source_length is completeChris Robinson2014-07-051-1/+1
|
* Open and close the file in the main thread in alffplayChris Robinson2014-06-081-26/+28
| | | | | This avoid problems with the file being closed while a video refresh is still scheduled.
* Add an ffmpeg-based example playerChris Robinson2014-06-021-0/+1476
| | | | | | This example shows proper timing and A/V synchronization with an OpenAL stream. Requires the in-progress AL_SOFTX_source_length extension to avoid manually keeping track of the buffer queue length.
* Update the examples to use SDL2Chris Robinson2014-05-231-2/+5
| | | | | | This should make it easier to build the examples on 64-bit, where there are no premade dev libs for SDL1 on 64-bit mingw. FindSDL_sound.cmake has been updated to accept SDL or SDL2.
* Handle non-native endian formats with SDL_soundChris Robinson2013-06-191-2/+17
|
* Add a loopback extension exampleChris Robinson2013-06-161-0/+244
|
* Use SDL_sound for the other examplesChris Robinson2013-06-054-743/+20
|
* Use SDL_sound for the alstream exampleChris Robinson2013-06-054-43/+218
|
* Make some example function pointers staticChris Robinson2013-05-303-41/+41
|
* Only print the filename in alstream, without the pathChris Robinson2013-02-031-1/+10
|
* Use stdout to print alstream informationChris Robinson2012-11-041-4/+5
|
* Add an example to get and show the source latencyChris Robinson2012-10-311-0/+213
|
* Avoid prefixing function pointers in the streaming exampleChris Robinson2012-10-311-11/+11
|
* Print the name of the device when opening it in the example appsChris Robinson2012-10-312-4/+3
|
* Add an example program showing how to apply reverb to a sourceChris Robinson2012-10-311-0/+339
|
* Reorder and comment some function in alhelpers.cChris Robinson2012-10-251-81/+88
|
* Move alhelpers and alffmpeg code to a common sub-directoryChris Robinson2012-10-145-2/+2
|
* Update the example to use avcodec_decode_audio4Chris Robinson2012-10-032-39/+46
|
* Update some ffmpeg functionsChris Robinson2012-10-031-7/+5
|
* Fix some signed/unsigned comparisonsChris Robinson2012-10-021-4/+4
|
* Use avformat_free_context to free a format context that failed to openChris Robinson2012-03-211-2/+10
|
* Print out unsupported audio format info from ffmpegChris Robinson2012-02-281-1/+15
|
* av_find_stream_info is also deprecated, in favor of avformat_find_stream_infoChris Robinson2012-01-291-3/+3
|
* Use AVMEDIA_TYPE_AUDIO instead of the deprecated CODEC_TYPE_AUDIOChris Robinson2012-01-291-6/+6
|
* Add some castsChris Robinson2012-01-111-3/+3
|
* There's no need to pass a buffer to avio_alloc_contextChris Robinson2012-01-111-7/+4
|