Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing header to git | Chris Robinson | 2013-10-27 | 1 | -0/+62 |
| | |||||
* | Rework threading functions | Chris Robinson | 2013-10-27 | 11 | -43/+46 |
| | |||||
* | Set a name for the mixer and recording threads | Chris Robinson | 2013-10-27 | 11 | -1/+18 |
| | |||||
* | Use the UNUSED macro in the backends | Chris Robinson | 2013-10-07 | 5 | -59/+25 |
| | |||||
* | Use a simpler U64 macro to make 64-bit constants | Chris Robinson | 2013-10-06 | 1 | -1/+1 |
| | |||||
* | Only rest as long as needed in the Null renderer | Chris Robinson | 2013-10-05 | 1 | -5/+4 |
| | |||||
* | Compile using -std=c99 when available | Chris Robinson | 2013-10-03 | 3 | -3/+3 |
| | |||||
* | Silence some clang warnings | Chris Robinson | 2013-06-05 | 1 | -2/+2 |
| | |||||
* | Recognize DSSPEAKER_5POINT1_SURROUND (and 7POINT1) with DSound | Chris Robinson | 2013-05-22 | 1 | -4/+11 |
| | |||||
* | Fix a potential leak when mmdevapi fails to open | Chris Robinson | 2013-05-19 | 1 | -0/+3 |
| | |||||
* | Report the actual ALSA error if setting the buffer metrics fails | Chris Robinson | 2013-03-18 | 1 | -2/+2 |
| | |||||
* | Use force_align_arg_pointer for QSA | Chris Robinson | 2013-03-15 | 1 | -0/+8 |
| | |||||
* | Add a QSA backend for QNX | Chris Robinson | 2013-03-14 | 1 | -0/+1170 |
| | |||||
* | Build an appropriate channel map for PulseAudio | Chris Robinson | 2013-02-08 | 1 | -2/+28 |
| | |||||
* | Destroy the ring buffer when closing down a portaudio device | Chris Robinson | 2013-02-01 | 1 | -0/+3 |
| | |||||
* | Filter unneeded thread messages with MMDevApi | Chris Robinson | 2012-12-24 | 1 | -1/+3 |
| | |||||
* | Add support for OpenSL ES 1.0.1 on Android | Chris Robinson | 2012-12-12 | 1 | -1/+8 |
| | |||||
* | Add support for float32 output to CoreAudio | Chris Robinson | 2012-12-03 | 1 | -10/+13 |
| | |||||
* | Use the correct multiplier for int32 output with CoreAudio | Chris Robinson | 2012-12-03 | 1 | -2/+2 |
| | |||||
* | Lock the device before calling aluHandleDisconnect | Chris Robinson | 2012-12-02 | 7 | -0/+26 |
| | | | | | | PulseAudio causes an assert if being relocked inside a callback on the worker thread, where aluHandleDisconnect is called. We can assume it's already locked there, so just make sure the device is locked before being calling it. | ||||
* | Avoid locking PulseAudio's mainloop when starting and stopping capture | Chris Robinson | 2012-11-19 | 1 | -4/+0 |
| | | | | | The mainloop is already locked by the caller, and double-locking interferes with the subsequent wait. | ||||
* | Use the stored buffer metrics for the mmdevapi buffer size | Chris Robinson | 2012-11-04 | 1 | -9/+1 |
| | |||||
* | Add rudimentary latency tracking for mmdevapi | Chris Robinson | 2012-11-04 | 1 | -1/+16 |
| | | | | | | | | This won't be as granular as it could be, since it only updates when the wakeup event trips (which may or may not happen more often than OpenAL's mix updates). A more correct method would be to query GetCurrentPadding directly, but that would require sending a message to the processing thread and waiting for a reply, since we can't guarantee COM on the calling thread. | ||||
* | Rename some struct fields for DirectSound | Chris Robinson | 2012-11-04 | 1 | -48/+48 |
| | |||||
* | Avoid recreating the DSound primary buffer | Chris Robinson | 2012-11-04 | 1 | -1/+1 |
| | |||||
* | Lock the device using the pulseaudio main loop | Chris Robinson | 2012-10-07 | 1 | -8/+15 |
| | |||||
* | Define WIN32_LEAN_AND_MEAN when including windows.h in alMain.h | Chris Robinson | 2012-10-06 | 2 | -0/+6 |
| | |||||
* | Scale and round NumUpdates when PulseAudio changes the sample rate | Chris Robinson | 2012-10-04 | 1 | -7/+7 |
| | |||||
* | Reset maxlength if PulseAudio updates the playback rate | Chris Robinson | 2012-10-02 | 1 | -0/+1 |
| | |||||
* | Round when calculating NumUpdates from PulseAudio's minreq | Chris Robinson | 2012-09-25 | 1 | -7/+8 |
| | |||||
* | Make sure PulseAudio sets an update size that's a multiple of 4 samples with SSE | Chris Robinson | 2012-09-20 | 1 | -2/+5 |
| | |||||
* | Don't include alu.h in alMain.h | Chris Robinson | 2012-09-14 | 14 | -24/+23 |
| | |||||
* | Free the global ALSA config after opening capture devices too | Chris Robinson | 2012-09-02 | 1 | -1/+4 |
| | |||||
* | alsa: Free the global config cache to remove a lot of reported leaks | Lauri Kasanen | 2012-09-02 | 1 | -0/+6 |
| | | | | Signed-off-by: Lauri Kasanen <[email protected]> | ||||
* | Print the error when reporting snd_pcm_delay failure | Chris Robinson | 2012-08-27 | 1 | -1/+1 |
| | |||||
* | Add a macro to help make a 64-bit value | Chris Robinson | 2012-08-19 | 1 | -1/+1 |
| | |||||
* | Use a default method to provide a dummy latency | Chris Robinson | 2012-08-19 | 12 | -98/+12 |
| | |||||
* | Hold the device lock with PulseAudio between mixing and writing | Chris Robinson | 2012-08-18 | 1 | -0/+2 |
| | |||||
* | Hold the device lock with ALSA between mixing and writing | Chris Robinson | 2012-08-18 | 1 | -0/+4 |
| | |||||
* | Use non-blocking access for ALSA playback | Chris Robinson | 2012-08-18 | 1 | -17/+37 |
| | |||||
* | Move the device lock into the backend function table | Chris Robinson | 2012-08-18 | 14 | -0/+28 |
| | | | | | For backend-specific implementations: this should hold the audio mixer loop for playback devices, and provide recursive mutex behavior. | ||||
* | Add a device method to retrieve the active latency | Chris Robinson | 2012-08-17 | 14 | -14/+154 |
| | | | | | This is effectively the time until the next update will be heard by the user, or the closest approximation thereof, in nanoseconds. | ||||
* | Avoid dynamic handling of libsndio | Chris Robinson | 2012-08-16 | 1 | -81/+0 |
| | | | | This makes it safer and easier to handle as OpenBSD updates it | ||||
* | Don't unlock the pulseaudio mainloop when mixing | Chris Robinson | 2012-08-12 | 1 | -2/+0 |
| | | | | | | Lock contention could cause a lengthy delay between mixing and writing the audio. There shouldn't be any risk of dead-locking as the device lock should never be held when the mainloop gets locked. | ||||
* | Add missing include | Chris Robinson | 2012-06-19 | 1 | -0/+1 |
| | |||||
* | Use a proper method to wait for a PulseAudio operation | Chris Robinson | 2012-06-19 | 1 | -18/+19 |
| | |||||
* | Silence some GCC warnings | Chris Robinson | 2012-06-17 | 1 | -0/+4 |
| | |||||
* | Only try float32 with DSound when specifically requested | Chris Robinson | 2012-06-17 | 1 | -1/+4 |
| | | | | | Some hardware drivers seem to have a bug where a buffer descriptor with a 32-bit float sample type ends up creating a non-float32 buffer. | ||||
* | Avoid failing if ALSA can't set a buffer or period time near to our request | Chris Robinson | 2012-06-16 | 1 | -21/+2 |
| | | | | | | These functions should not fail, but there seem to be bugs that cause them to sometimes. We're flexible enough to handle almost anything it throws back at us though, so anything is better than nothing here. | ||||
* | Allow PulseAudio to spawn a server by default | Chris Robinson | 2012-06-16 | 1 | -1/+1 |
| | | | | | | | Since only one backend is used at a time now, the issues with device ownership aren't really prevelant anymore. An application that tries to open all enumerated devices won't run into the problem of spawning a server and end up preventing other backend devices from working. |