Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a comment about waiting to kill the event thread | Chris Robinson | 2018-10-07 | 1 | -0/+5 |
| | |||||
* | Use a 24-bit dither depth limit | Chris Robinson | 2018-10-03 | 1 | -1/+1 |
| | |||||
* | Don't limit output for ALC_DONT_CARE_SOFT and float samples | Chris Robinson | 2018-10-03 | 1 | -7/+25 |
| | |||||
* | Don't try to get the JNIEnv on Android | Chris Robinson | 2018-10-02 | 1 | -69/+0 |
| | | | | | It's currently not used. More stuff is needed anyway which may need a different approach. | ||||
* | Make the Compressor struct opaque | Chris Robinson | 2018-09-30 | 1 | -2/+2 |
| | |||||
* | Include the limiter's lookAhead delay in the device latency | Chris Robinson | 2018-09-25 | 1 | -3/+9 |
| | |||||
* | Don't hardcode the limiter threshold | Chris Robinson | 2018-09-25 | 1 | -8/+23 |
| | | | | It's now calculated from the output sample type and dither depth. | ||||
* | Update the output limiter/compressor | Chris Robinson | 2018-09-25 | 1 | -3/+5 |
| | | | | | | | | | | This provides better characteristics for an amplitude limiter. In particular, it utilizes the peak amplitude instead of the RMS, and the used parameters basically guarantee no output samples exceed the given threshold... almost, due to floating-point errors as the threshold is converted from dB to log-e for the envelope, then is negated and converted to linear amplitude to apply to the signal. It's quite possible for some rounding errors to creep in and not perfectly saturate the result. | ||||
* | Remove an unnecessary mutex | Chris Robinson | 2018-09-20 | 1 | -2/+0 |
| | |||||
* | Stop the event thread when releasing the context | Chris Robinson | 2018-09-20 | 1 | -6/+6 |
| | | | | To ensure no user callback gets called after alcDestroyContext. | ||||
* | Put user events in a union structure | Chris Robinson | 2018-09-20 | 1 | -1/+1 |
| | |||||
* | Always start the event thread with the context | Chris Robinson | 2018-09-20 | 1 | -9/+11 |
| | |||||
* | Pass the device name list to the backend probe method | Chris Robinson | 2018-09-07 | 1 | -12/+1 |
| | |||||
* | Rename ALCsndioBackend | Chris Robinson | 2018-09-07 | 1 | -4/+4 |
| | |||||
* | EFX: Autowah implementation | Raulshc | 2018-07-25 | 1 | -2/+5 |
| | | | Add autowah effect using biquad peaking filter and envelope follower | ||||
* | Start an extension to allow source filter gains greater than 1 | Chris Robinson | 2018-07-15 | 1 | -0/+1 |
| | |||||
* | Prefer sndio over OSS when both are enabled | Tobias Kortkamp | 2018-06-22 | 1 | -3/+3 |
| | | | | Signed-off-by: Tobias Kortkamp <[email protected]> | ||||
* | Stop capture devices while closing | kdhp | 2018-06-08 | 1 | -0/+6 |
| | | | | | | | In 'alcCaptureCloseDevice', check if the capture device is running and stop it if necessary. This fixes the case where the device data is deallocated while a background thread is still running (Issue #199) | ||||
* | Clamp the dither depth between 2 and 20 bits | Chris Robinson | 2018-05-23 | 1 | -3/+6 |
| | |||||
* | EFX: Frequency Shifter implementation | Raulshc | 2018-05-20 | 1 | -1/+5 |
| | | | Add frequency shifter effect using discrete Hilbert transform. Only mono signal processing by now (LEFT_DIRECTION). | ||||
* | Move the filter implementation to a separate directory | Chris Robinson | 2018-03-22 | 1 | -0/+2 |
| | |||||
* | EFX:Pitch Shifter implementation | Raulshc | 2018-03-18 | 1 | -1/+4 |
| | | | Add pitch shifter effect using standard phase vocoder, based on work of Stephan Bernsee. Only mono signal processing by now. | ||||
* | Add methods to clean up althrd and altss data | Chris Robinson | 2018-03-10 | 1 | -0/+3 |
| | |||||
* | Rename the mmdevapi backend to wasapi | Chris Robinson | 2018-03-09 | 1 | -2/+12 |
| | |||||
* | Avoid deinitializing backends that never initialized | Chris Robinson | 2018-03-08 | 1 | -6/+12 |
| | |||||
* | Properly limit the max number of effect slots to 2^31 - 1 | Chris Robinson | 2018-03-08 | 1 | -0/+2 |
| | |||||
* | Add SDL2 backend for playback, fix #173 | Jan Niklas Hasse | 2018-03-07 | 1 | -0/+3 |
| | |||||
* | Don't check for space in the ringbuffer before trying to write | Chris Robinson | 2018-03-03 | 1 | -2/+1 |
| | | | | The write method already checks and returns how much it managed to fit in. | ||||
* | Use a plain mutex for the property lock | Chris Robinson | 2018-03-03 | 1 | -5/+7 |
| | |||||
* | Init more stuff in InitDevice | Chris Robinson | 2018-03-03 | 1 | -18/+9 |
| | |||||
* | Use atomic variables instead of volatile | Chris Robinson | 2018-03-02 | 1 | -47/+43 |
| | |||||
* | Make bformatdec_free and ambiup_free clear the freed pointer | Chris Robinson | 2018-02-12 | 1 | -5/+2 |
| | |||||
* | Combine multiple functions called sequentially | Chris Robinson | 2018-02-11 | 1 | -5/+1 |
| | |||||
* | Use a function pointer for applying the dry mix post-process | Chris Robinson | 2018-02-10 | 1 | -0/+2 |
| | |||||
* | Make the Connected state atomic | Chris Robinson | 2018-02-04 | 1 | -9/+11 |
| | | | | Also don't send the Disconnected event more than once. | ||||
* | Provide more descriptive messages to disconnection events | Chris Robinson | 2018-02-03 | 1 | -5/+5 |
| | |||||
* | Remove the unused thunk code | Chris Robinson | 2018-02-02 | 1 | -4/+0 |
| | |||||
* | Use a semaphore to signal the event handler | Chris Robinson | 2018-02-01 | 1 | -2/+3 |
| | | | | | | | | | | | Semaphores allow for semi-persistent signals, compared to a condition variable which requires a mutex for proper detection. A semaphore can be 'post'ed after writing some data on one thread, and another thread will be able to recognize it quickly even if the post occured in between checking for data and waiting. This more correctly fixes a race condition with events since the mixer shouldn't be using mutexes, and arbitrary wake-ups just to make sure an event wasn't missed was quite inefficient. | ||||
* | Add a thread to marshal events from the mixer | Chris Robinson | 2018-01-31 | 1 | -1/+19 |
| | | | | | | To avoid having unknown user code running in the mixer thread that could significantly delay the mixed output, a lockless ringbuffer is used for the mixer to provide events that a secondary thread will pop off and process. | ||||
* | Rename EventLock to make it more clear it's protecting the callback | Chris Robinson | 2018-01-30 | 1 | -2/+2 |
| | |||||
* | Don't bother with an explicit stop backend method | Chris Robinson | 2018-01-29 | 1 | -8/+1 |
| | |||||
* | Combine common initialization code into a function | Chris Robinson | 2018-01-28 | 1 | -143/+105 |
| | |||||
* | Make EnabledEvts atomic | Chris Robinson | 2018-01-28 | 1 | -1/+1 |
| | |||||
* | Use a fixed array for the effect state factory list | Chris Robinson | 2018-01-28 | 1 | -4/+0 |
| | |||||
* | Store filters in an array of lists | Chris Robinson | 2018-01-27 | 1 | -10/+12 |
| | |||||
* | Store effects in an array of lists | Chris Robinson | 2018-01-27 | 1 | -10/+12 |
| | |||||
* | Use a vector to store the effect slot pointers | Chris Robinson | 2018-01-27 | 1 | -12/+13 |
| | | | | And make the ID a simple index into it (1-base, to avoid ID 0). | ||||
* | Use an array lookup for source IDs | Chris Robinson | 2018-01-27 | 1 | -37/+48 |
| | | | | | This is now similar to buffers, being stored in groups of 64 in a vector with the ID providing the array indices. | ||||
* | Use a different method for storing and looking up buffers | Chris Robinson | 2018-01-27 | 1 | -10/+12 |
| | | | | | | | | | | | | | | | | | Rather than each buffer being individually allocated with a generated 'thunk' ID that's used with a uint:ptr map, buffers are allocated in arrays of 64 within a vector. Each group of 64 has an associated 64-bit mask indicating which are free to use, and the buffer ID is comprised of the two array indices which directly locate the buffer (no searching, binary or otherwise). Currently no buffers are actually deallocated after being allocated, though they are reused. So an app that creates a ton of buffers once, then deletes them all and uses only a couple from then on, will have a bit of waste, while an app that's more consistent with the number of used buffers won't be a problem. This can be improved by removing elements of the containing vector that contain all-free buffers while there are plenty of other free buffers. Also, this method can easily be applied to other resources, like sources. | ||||
* | Report AL_SOFTX_events as an in-progress extension | Chris Robinson | 2018-01-24 | 1 | -0/+1 |
| |