Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Trace the message name in the message handler loop | Chris Robinson | 2017-06-26 | 1 | -1/+14 |
| | |||||
* | Clean up some messy rounding code | Chris Robinson | 2017-06-26 | 1 | -7/+9 |
| | |||||
* | Ensure the mmdevapi capture buffer is at least 100ms | Chris Robinson | 2017-06-26 | 1 | -0/+4 |
| | |||||
* | Improve traces for the mmdevapi capture conversions | Chris Robinson | 2017-06-23 | 1 | -10/+8 |
| | |||||
* | Trace the capture converter formats for mmdevapi | Chris Robinson | 2017-06-22 | 1 | -0/+6 |
| | |||||
* | "Convert" the QSA backend to the new API | Chris Robinson | 2017-06-18 | 3 | -173/+169 |
| | | | | | | | | | | I say "convert" because it takes the lazy way and essentially just embeds the wrappers into the backend. It's done this way because I lack the means to check any changes, even syntactically. This also means the device's ExtraData field is still needed. However, this does mean all the backends are now using the new API. Code related to the old interface can now be removed. | ||||
* | Limit device buffer based on PulseAudio's tlength | Chris Robinson | 2017-06-15 | 1 | -10/+9 |
| | | | | | | Unfortunately PulseAudio has a habit of limiting tlength, and trying to calculate the device's buffer length to write regardless of tlength could result in some amount always being writable. | ||||
* | Add a config option to specify custom ALSA devices | Chris Robinson | 2017-05-23 | 1 | -5/+40 |
| | |||||
* | Add an env var to specify a default pulse device | Chris Robinson | 2017-05-16 | 1 | -0/+7 |
| | | | | | Some apps don't allow selecting an audio device, and due to problems with KDE, PulseAudio isn't allowed to move the stream after being created by default. | ||||
* | Remove unnecessary functions in the JACK backend | Chris Robinson | 2017-04-17 | 1 | -19/+8 |
| | |||||
* | Implement capture support in the OpenSL backend | Chris Robinson | 2017-04-15 | 1 | -1/+379 |
| | |||||
* | Use separate atomic macros for pointers | Chris Robinson | 2017-04-14 | 3 | -5/+5 |
| | |||||
* | Store the ambisonic order separate from the channel enum | Chris Robinson | 2017-04-12 | 14 | -167/+202 |
| | |||||
* | Use the converters to enable mmdevapi capture | Chris Robinson | 2017-04-11 | 1 | -42/+171 |
| | |||||
* | Convert the CoreAudio backend to the updated backend API | Chris Robinson | 2017-04-09 | 2 | -178/+283 |
| | |||||
* | Clean up some formatting | Chris Robinson | 2017-04-08 | 1 | -5/+5 |
| | |||||
* | Try to write the full configured buffer length with PulseAudio | Chris Robinson | 2017-04-08 | 1 | -15/+37 |
| | | | | | This basically ignores tlength even if it's smaller than what was requested. It keeps up-to-date with minreq changes too now, in case that happens. | ||||
* | Rename al_string_* functions to alstr_* | Chris Robinson | 2017-04-04 | 16 | -133/+133 |
| | |||||
* | Don't use the mutex in the base getClockLatency implementation | Chris Robinson | 2017-02-28 | 1 | -3/+8 |
| | |||||
* | Use separate enums for the ambisonic channel order and normalization | Chris Robinson | 2017-02-27 | 1 | -1/+2 |
| | |||||
* | Don't remove a period from the OSS buffer | Chris Robinson | 2017-02-22 | 1 | -11/+4 |
| | | | | | Since we're now waiting for space to be available before mixing, the mixing buffer isn't adding another period. | ||||
* | Fix OpenSL latency calculation | Chris Robinson | 2017-02-22 | 1 | -2/+2 |
| | |||||
* | Print warnings about missing libraries and functions | Chris Robinson | 2017-02-21 | 3 | -2/+24 |
| | |||||
* | Always lock the device backend before calling aluMixData | Chris Robinson | 2017-02-18 | 9 | -48/+59 |
| | |||||
* | Return some device latency by default | Chris Robinson | 2017-02-18 | 1 | -2/+7 |
| | | | | | | | A device will never have 0 latency. OpenAL Soft itself uses a sample buffer length of UpdateSize*NumUpdates, and during playback will have about (NumUpdates-1) periods filled, more or less. Without a more accurate measurement from the playback system, this is better than reporting 0. | ||||
* | Use select() to wait for audio with OSS and Solaris | Chris Robinson | 2017-02-18 | 2 | -85/+137 |
| | |||||
* | Use the correct IID for the opensl buffer queue | Chris Robinson | 2017-02-07 | 1 | -2/+3 |
| | |||||
* | Convert the OpenSL backend to the new backend API | Chris Robinson | 2017-02-07 | 2 | -176/+433 |
| | | | | | This also removes the buffer queue callback's call to aluMixData, which could potentially block on a mutex. | ||||
* | Fix for NULL JNIEnv | Chris Robinson | 2017-02-05 | 1 | -5/+3 |
| | | | | Which can happen with native-only apps | ||||
* | Call getSystemService as a non-static function | Chris Robinson | 2017-02-03 | 1 | -4/+4 |
| | |||||
* | Android's AudioManager.getProperty(String) returns a String | Chris Robinson | 2017-02-02 | 1 | -1/+1 |
| | |||||
* | Add more traces for the Java calls being made | Chris Robinson | 2017-01-27 | 1 | -7/+22 |
| | |||||
* | Round and clamp the scaled update count with opensl | Chris Robinson | 2017-01-27 | 1 | -1/+4 |
| | |||||
* | Try to use the system sample rate with Android | Chris Robinson | 2017-01-26 | 1 | -6/+56 |
| | |||||
* | Use ALsizei in more places | Chris Robinson | 2017-01-18 | 1 | -3/+3 |
| | |||||
* | Avoid using some LP types | Chris Robinson | 2017-01-10 | 1 | -5/+5 |
| | |||||
* | Use proper atomics in the OSS backend | Chris Robinson | 2017-01-10 | 1 | -17/+17 |
| | |||||
* | Hold Pulse's mainloop lock while calling capture functions | Chris Robinson | 2017-01-10 | 1 | -2/+10 |
| | | | | | | | Since commit c837484015e, the backend's lock is no longer implicitly held when calling capture functions. A separate mutex is used to ensure serial access, and its up to the backend to protect against races and reentrancy with the audio API. | ||||
* | Convert the SndIO backend to the updated API | Chris Robinson | 2016-12-21 | 2 | -78/+127 |
| | |||||
* | Add missing macros for OSS3/Free compatibility | Chris Robinson | 2016-12-21 | 1 | -0/+2 |
| | |||||
* | Warn when a given device name isn't found for OSS | Chris Robinson | 2016-12-01 | 1 | -4/+10 |
| | |||||
* | Minor cleanup for ALCossListPopulate | Chris Robinson | 2016-12-01 | 1 | -22/+18 |
| | |||||
* | Ensure OSS devices are enumerated when a name is requested. | Chris Robinson | 2016-12-01 | 1 | -2/+12 |
| | |||||
* | Include the full JACK ringbuffer size for the device period count | Chris Robinson | 2016-11-03 | 1 | -3/+8 |
| | |||||
* | Include wtypes.h for defining Windows' property keys | Chris Robinson | 2016-10-04 | 1 | -0/+1 |
| | |||||
* | Recognize Headset formfactors as headphones | Chris Robinson | 2016-09-21 | 1 | -1/+3 |
| | |||||
* | Simplify mmdevapi's device name search | Chris Robinson | 2016-09-07 | 1 | -17/+33 |
| | | | | | Avoids converting each enumerated devid from WSTR to UTF-8, and instead just converts the device name from UTF-8 to WSTR once if needed. | ||||
* | mmdevapi: Allow specifying output device by it's audio endpoint GUID or by ↵ | Dmytry Lavrov | 2016-09-06 | 1 | -8/+45 |
| | | | | the device id string (Oculus VR api requires you to play back on a specific device). | ||||
* | Set a JACK error message handler when initializing the backend | Chris Robinson | 2016-08-11 | 1 | -0/+10 |
| | | | | | | | | | | | | | | JACK2 will print error messages to stderr if it fails to connect to a server. Users who don't normally use JACK but have the client lib installed will get those messages even though OpenAL Soft will continue on to find a working backend without trouble. So to avoid it, set an error message handler that'll log them as warnings. This isn't that great because there's no way to tell whether the error messages are due to the server not running, or some other problem. And it resets the callback to the default afterward even if it may have been set to something else before. JACK2, which is what needs this workaround in the first place, doesn't export the jack_error_callback pointer to properly save and restore it. | ||||
* | Modify NumUpdates for different sample rates instead of UpdateSize | Chris Robinson | 2016-08-04 | 1 | -1/+1 |
| | | | | | | | Not that this really changes anything since the CoreAudio backend doesn't honor the ALCdevice's buffer metrics, nor accurately report the device's actual metrics. But it clears up warnings from a non-multiple-of-four update size if the sample rate causes it to change. |