Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a proper flag to indicate audio is prepared in alffplay | Chris Robinson | 2019-03-01 | 1 | -14/+9 |
| | |||||
* | Unlock the audio decoder mutex before disabling events in alffplay | Chris Robinson | 2019-02-25 | 1 | -2/+3 |
| | | | | | The callback may be waiting on the mutex, but disabling the callback needs any current invocation to finish first. | ||||
* | Fixed alffplay underrun recovery timing | Chris Robinson | 2019-02-04 | 1 | -33/+26 |
| | |||||
* | Partially handle ambisonics in alffplay | Chris Robinson | 2019-01-27 | 1 | -28/+98 |
| | | | | | | | | | This is currently really only applicable to Opus-encoded files. It assumes AmbiX (SN3D normalization, ACN ordering) and only comes into play when the channel layout is blank. FFmpeg/libavcodec doesn't have a way to detect B-Format input or what normalization and ordering it uses. Note in particular .amb files do not play correctly (libavcodec seems to apply a default channel layout for 4-channel wav-type files, regardless of its channel mask value). | ||||
* | Replace a couple more C-style casts | Chris Robinson | 2019-01-08 | 1 | -3/+2 |
| | |||||
* | Avoid using old style casts | Filip Gawin | 2019-01-08 | 1 | -14/+14 |
| | | | | | | To think about: examples/alffplay.cpp:600 OpenAL32/Include/alMain.h:295 | ||||
* | Use nullptr in cpp files | Filip Gawin | 2019-01-07 | 1 | -1/+1 |
| | |||||
* | Try to improve alffplay underrun device time adjustment | Chris Robinson | 2018-11-20 | 1 | -1/+1 |
| | |||||
* | Improve audio underrun recordery in alffplay | Chris Robinson | 2018-11-18 | 1 | -0/+12 |
| | | | | | Now it has a better idea to skip samples during refill instead of after restarting. | ||||
* | Use the common init/close functions for alffplay | Chris Robinson | 2018-10-10 | 1 | -33/+14 |
| | |||||
* | Allow building alffplay without experimental extensions | Chris Robinson | 2018-10-08 | 1 | -12/+42 |
| | |||||
* | Add an alffplay option to play stereo streams with wide angles | Chris Robinson | 2018-05-17 | 1 | -10/+34 |
| | |||||
* | Added missing string include to alffplay | Henri Hyyryläinen | 2018-03-30 | 1 | -0/+1 |
| | |||||
* | fix building on freebsd (clang) | Alexey Elymanov | 2018-02-20 | 1 | -0/+1 |
| | | | fixes error: 'pow' is not a member of 'std' | ||||
* | Handle disconnected events in alffplay | Chris Robinson | 2018-02-03 | 1 | -4/+18 |
| | |||||
* | Signal a condition variable when a buffer completes in alffplay | Chris Robinson | 2018-02-01 | 1 | -4/+9 |
| | |||||
* | Don't print buffer completed events in alffplay | Chris Robinson | 2018-01-31 | 1 | -0/+6 |
| | |||||
* | Use std::array instead of a plain array in alffplay | Chris Robinson | 2018-01-28 | 1 | -4/+4 |
| | |||||
* | Enable events in alffplay | Chris Robinson | 2018-01-24 | 1 | -0/+73 |
| | |||||
* | Use a new proper buffer function with a flags parameter | Chris Robinson | 2018-01-23 | 1 | -12/+11 |
| | | | | | | Rather than hackily combining bit flags with the format, to increase the number of potential flags. alBufferData now behaves as if calling alBufferStorageSOFT with a flags value of 0. | ||||
* | Test mapped buffers in alffplay | Chris Robinson | 2018-01-23 | 1 | -14/+68 |
| | |||||
* | Remove alffplay's duplicate ALC_SOFT_device_clock declarations | Chris Robinson | 2018-01-15 | 1 | -14/+0 |
| | |||||
* | Finalize ALC_SOFT_device_clock | Chris Robinson | 2018-01-15 | 1 | -4/+1 |
| | |||||
* | Only print the time in alffplay when it changes | Chris Robinson | 2018-01-07 | 1 | -4/+11 |
| | |||||
* | Fix a temp buffer leak in alffplay | Chris Robinson | 2018-01-05 | 1 | -2/+2 |
| | |||||
* | Handle the audio clock diff as nanoseconds in alffplay | Chris Robinson | 2018-01-05 | 1 | -8/+6 |
| | |||||
* | Use a non-recursive mutex for alffplay's source lock | Chris Robinson | 2018-01-03 | 1 | -11/+14 |
| | |||||
* | Use ALC_SOFT_device_clock in alffplay | Chris Robinson | 2018-01-02 | 1 | -12/+86 |
| | |||||
* | Improve starting synchronization in alffplay | Chris Robinson | 2018-01-02 | 1 | -19/+60 |
| | | | | | It waits until the internal buffers are filled before starting playback, then triggering the audio and video to start as close together as possible. | ||||
* | Inline and simplify some code | Chris Robinson | 2018-01-01 | 1 | -29/+23 |
| | |||||
* | Don't leak the AVIOContext | Chris Robinson | 2018-01-01 | 1 | -1/+8 |
| | |||||
* | Fix a couple alffplay comments still referencing Alure | Chris Robinson | 2018-01-01 | 1 | -4/+4 |
| | |||||
* | Make smart pointer wrappers for some ffmpeg types | Chris Robinson | 2018-01-01 | 1 | -72/+81 |
| | |||||
* | Print the running time and duration in alffplay | Chris Robinson | 2018-01-01 | 1 | -1/+42 |
| | |||||
* | Use aliases to simplify some time type names | Chris Robinson | 2018-01-01 | 1 | -67/+61 |
| | |||||
* | Wrap av_gettime to ensure it's interpreted as microseconds | Chris Robinson | 2018-01-01 | 1 | -7/+10 |
| | |||||
* | Rename the do_direct_out variable | Chris Robinson | 2018-01-01 | 1 | -3/+3 |
| | |||||
* | Use a less-intense memory order to check for quitting | Chris Robinson | 2018-01-01 | 1 | -9/+9 |
| | |||||
* | Check for AL_SOFT_direct_channels once when initializing | Chris Robinson | 2018-01-01 | 1 | -10/+8 |
| | |||||
* | Declare the total buffer time instead of buffer count | Chris Robinson | 2018-01-01 | 1 | -10/+15 |
| | |||||
* | Use a std::array for the buffers in alffplay | Chris Robinson | 2018-01-01 | 1 | -8/+7 |
| | |||||
* | Use inline member initialization where possible | Chris Robinson | 2018-01-01 | 1 | -86/+69 |
| | |||||
* | Make more values global const | Chris Robinson | 2018-01-01 | 1 | -19/+18 |
| | |||||
* | Use a global to specify alffplay's audio sync threshold | Chris Robinson | 2017-12-31 | 1 | -15/+11 |
| | |||||
* | Clear the buffer queue when underrun | Chris Robinson | 2017-12-31 | 1 | -1/+3 |
| | |||||
* | Wake up the packet send loop when more frames are needed | Chris Robinson | 2017-12-31 | 1 | -38/+50 |
| | |||||
* | Readd AL_SOFT_source_latency support to alffplay | Chris Robinson | 2017-12-30 | 1 | -12/+17 |
| | |||||
* | Use standard duration types for stream clocks | Chris Robinson | 2017-12-30 | 1 | -105/+122 |
| | |||||
* | Improve the alffplay queue for FFmpeg's send/receive API | Chris Robinson | 2017-12-30 | 1 | -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. | ||||
* | Add missing include for std::array | Chris Robinson | 2017-07-23 | 1 | -0/+1 |
| |