Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert ALc.c to C++ | Chris Robinson | 2018-11-14 | 1 | -4715/+0 |
| | |||||
* | Move extern inline declarations to their own C source | Chris Robinson | 2018-11-14 | 1 | -19/+0 |
| | |||||
* | Avoid using ATOMIC_FLAG | Chris Robinson | 2018-11-13 | 1 | -7/+7 |
| | | | | | Although it cant potentially be better than a regular atomic, it presents compatibility issues when non-C11 atomics are mixed with C++ | ||||
* | Don't bother inlining some functions | Chris Robinson | 2018-11-13 | 1 | -3/+0 |
| | |||||
* | Convert the backend base to C++ | Chris Robinson | 2018-11-13 | 1 | -0/+5 |
| | |||||
* | Make the enumerated HRTF entry name a char* | Chris Robinson | 2018-11-12 | 1 | -1/+1 |
| | | | | | Would ideally be a std::string with the HRTF name itself, but they're still seen in C code. | ||||
* | Use a regular char* for the HRTF string name | Chris Robinson | 2018-11-12 | 1 | -3/+4 |
| | |||||
* | Convert helpers.c to C++ | Chris Robinson | 2018-11-11 | 1 | -0/+5 |
| | |||||
* | Get rid of the last few al_fopen calls | Chris Robinson | 2018-11-10 | 1 | -1/+16 |
| | |||||
* | Move some extern inline declarations to C | Chris Robinson | 2018-10-31 | 1 | -0/+8 |
| | |||||
* | 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 |
| |