Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't require pre-declaring vector types | Chris Robinson | 2014-07-06 | 1 | -1/+1 |
| | |||||
* | Initialize some variables when declaring them | Chris Robinson | 2014-05-15 | 1 | -4/+2 |
| | |||||
* | Don't try to read the internal capture buffer into itself | Chris Robinson | 2014-05-14 | 1 | -6/+9 |
| | |||||
* | Avoid freeing an in-use capture buffer | Chris Robinson | 2014-05-14 | 1 | -5/+3 |
| | | | | | When stopping, ALSA may capture into its own storage buffer. Do not free the storage buffer if it first reads from it. | ||||
* | Add a helper VECTOR_FOR_EACH macro | Chris Robinson | 2014-04-30 | 1 | -10/+7 |
| | |||||
* | More device list cleanup cleanup | Chris Robinson | 2014-04-24 | 1 | -4/+2 |
| | |||||
* | Avoid forward-declaring backend vtables | Chris Robinson | 2014-04-23 | 1 | -7/+6 |
| | |||||
* | Use a vector to store the ALSA device lists | Chris Robinson | 2014-04-21 | 1 | -96/+82 |
| | |||||
* | Use al_string for ALSA's device map | Chris Robinson | 2014-04-21 | 1 | -21/+26 |
| | |||||
* | Trace the device name being opened in ALSA and PulseAudio | Chris Robinson | 2014-04-21 | 1 | -0/+2 |
| | |||||
* | Rename SetThreadName to althrd_setname | Chris Robinson | 2014-04-17 | 1 | -2/+2 |
| | |||||
* | Remove the old thread wrappers for the new ones | Chris Robinson | 2014-04-16 | 1 | -14/+16 |
| | |||||
* | Use an al_string for the device name | Chris Robinson | 2014-03-28 | 1 | -2/+2 |
| | |||||
* | Use a void* for the backend Delete method param | Chris Robinson | 2014-03-22 | 1 | -13/+6 |
| | |||||
* | Use a macro to help condense some repeated code | Chris Robinson | 2013-11-24 | 1 | -148/+89 |
| | |||||
* | Make backend factory methods static as needed | Chris Robinson | 2013-11-02 | 1 | -5/+5 |
| | |||||
* | Add default handlers for reset, captureSamples, and availableSamples | Chris Robinson | 2013-10-29 | 1 | -18/+5 |
| | |||||
* | Add a macro to forward methods to a base type | Chris Robinson | 2013-10-29 | 1 | -39/+23 |
| | |||||
* | Fix capture with the new backend interface | Chris Robinson | 2013-10-28 | 1 | -7/+24 |
| | |||||
* | Convert ALSA to the new backend interface | Chris Robinson | 2013-10-28 | 1 | -273/+386 |
| | |||||
* | Move the device mutex to the backend | Chris Robinson | 2013-10-28 | 1 | -0/+1 |
| | |||||
* | Rework threading functions | Chris Robinson | 2013-10-27 | 1 | -4/+6 |
| | |||||
* | Set a name for the mixer and recording threads | Chris Robinson | 2013-10-27 | 1 | -0/+2 |
| | |||||
* | Compile using -std=c99 when available | Chris Robinson | 2013-10-03 | 1 | -1/+1 |
| | |||||
* | Report the actual ALSA error if setting the buffer metrics fails | Chris Robinson | 2013-03-18 | 1 | -2/+2 |
| | |||||
* | Lock the device before calling aluHandleDisconnect | Chris Robinson | 2012-12-02 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | Don't include alu.h in alMain.h | Chris Robinson | 2012-09-14 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -0/+2 |
| | | | | | 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 | 1 | -1/+20 |
| | | | | | This is effectively the time until the next update will be heard by the user, or the closest approximation thereof, in nanoseconds. | ||||
* | 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. | ||||
* | Rename AllDevice -> AllDevices | Chris Robinson | 2012-05-09 | 1 | -1/+1 |
| | |||||
* | Clamp the ALSA period time between min and max if setting near fails | Chris Robinson | 2012-05-08 | 1 | -1/+17 |
| | |||||
* | Clamp the ALSA buffer time between min and max if setting near fails | Chris Robinson | 2012-05-07 | 1 | -1/+18 |
| | | | | | | It seems there's some bugs with snd_pcm_hw_params_set_buffer_time_near that cause it to return "invalid argument" despite a valid nearby buffer time being available. Clamping the buffer time seems to mitigate the issue a bit. | ||||
* | Remove some more hungarian notation | Chris Robinson | 2012-04-19 | 1 | -25/+25 |
| | |||||
* | Remove hungarian notation from the device and context structs | Chris Robinson | 2012-04-19 | 1 | -2/+2 |
| | |||||
* | Use a separate backend callback to start playback of the device | Chris Robinson | 2012-03-05 | 1 | -10/+39 |
| | | | | | | | | | | | | This allows us to properly update the ALCdevice and its resources with the new parameters before starting playback, instead of expecting the mixer to block and wait after it has begun. This also lets us avoid holding the device lock while resetting and starting the device, which helps prevent lock inversion on some backends (ie, one thread locking A then B, and another thread locking B then A), ultimately allowing certain backends to asynchronously update the ALCdevice without risk of lockup. Capture still has issues here, however. | ||||
* | Avoid an unnecessary doCapture check | Chris Robinson | 2012-03-01 | 1 | -2/+1 |
| | |||||
* | Fix a memory leak | Chris Robinson | 2012-03-01 | 1 | -0/+12 |
| | |||||
* | Avoid enumerating when opening the default ALSA device | Chris Robinson | 2012-03-01 | 1 | -18/+18 |
| | |||||
* | Don't define lib handles when dynamic loading is disabled | Chris Robinson | 2012-03-01 | 1 | -5/+3 |
| | |||||
* | Allow reading audio from ALSA directly if the requested length is supported | Chris Robinson | 2012-02-29 | 1 | -27/+142 |
| | |||||
* | Use a switch to handle the ALSA PCM state | Chris Robinson | 2012-02-27 | 1 | -10/+22 |
| | |||||
* | Print enumerated ALSA devices | Chris Robinson | 2012-02-26 | 1 | -1/+3 |
| | |||||
* | Remove an unneeded wrapper | Chris Robinson | 2012-02-22 | 1 | -10/+2 |
| | |||||
* | Set the default ALSA device name when probing | Chris Robinson | 2012-02-20 | 1 | -23/+20 |
| |