aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Use aliases to simplify some time type namesChris Robinson2018-01-011-67/+61
|
* Wrap av_gettime to ensure it's interpreted as microsecondsChris Robinson2018-01-011-7/+10
|
* Rename the do_direct_out variableChris Robinson2018-01-011-3/+3
|
* Use a less-intense memory order to check for quittingChris Robinson2018-01-011-9/+9
|
* Check for AL_SOFT_direct_channels once when initializingChris Robinson2018-01-011-10/+8
|
* Declare the total buffer time instead of buffer countChris Robinson2018-01-011-10/+15
|
* Use a std::array for the buffers in alffplayChris Robinson2018-01-011-8/+7
|
* 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
|