aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Use inline member initialization where possibleChris Robinson2018-01-011-86/+69
|
* Make more values global constChris Robinson2018-01-011-19/+18
|
* Use a global to specify alffplay's audio sync thresholdChris Robinson2017-12-311-15/+11
|
* Clear the buffer queue when underrunChris Robinson2017-12-311-1/+3
|
* Wake up the packet send loop when more frames are neededChris Robinson2017-12-311-38/+50
|
* Readd AL_SOFT_source_latency support to alffplayChris Robinson2017-12-301-12/+17
|
* Use standard duration types for stream clocksChris Robinson2017-12-301-105/+122
|
* Improve the alffplay queue for FFmpeg's send/receive APIChris Robinson2017-12-301-152/+139
| | | | | | | | The packet handling thread now calls avcodec_send_packet to give compressed data to libavcodec, while the audio/video threads call avcodec_receive_frame to handle decoded frames. The packet thread still maintains local queues for each stream to avoid starving an A/V thread when the other doesn't want another frame yet.
* Fix some types to make MSVC happyChris Robinson2017-12-171-6/+7
|
* Add a simple non-streaming play exampleChris Robinson2017-11-071-0/+177
|
* Add missing include for std::arrayChris Robinson2017-07-231-0/+1
|
* Update alffplay's command line messageChris Robinson2017-07-111-1/+1
|
* Print the opened device in alffplayChris Robinson2017-07-051-0/+7
|
* Skip past the -device switch even if the device doesn't openChris Robinson2017-07-011-5/+2
|
* Add an option to enable direct channels for alffplayChris Robinson2017-07-011-0/+18
|
* Add a whitenoise generator to altonegenChris Robinson2017-06-251-19/+50
|
* Support 32-bit float with the recording exampleChris Robinson2017-06-251-12/+35
|
* Add a recording example appChris Robinson2017-06-231-0/+363
|
* Add a missing includeChris Robinson2017-05-281-0/+1
|
* Put the app name after filename in the window titleChris Robinson2017-05-071-1/+1
|
* Ensure SDL_AUDIO_BITSIZE is defined for older SDL2 versionsChris Robinson2017-04-072-0/+14
|
* 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
|