Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initialize the new audio unit before disposing the old one | Chris Robinson | 2021-03-09 | 1 | -6/+6 |
| | |||||
* | Allow calling BackendBase::open multiple times on playback devices | Chris Robinson | 2021-03-08 | 1 | -1/+11 |
| | | | | | | | | | | | It will not be called while the device is running. If the first call succeeds, a subsequent call that happens to fail must leave the existing device state as it was so it can be resumed. This is a rough first pass. It will fail when trying to re-open the same device which can only be opened once (for instance, with direct hardware access, on hardware that doesn't do its own mixing). Some backends won't guarantee the new device is usable until the reset() or start() call. | ||||
* | Move alexcpt to core | Chris Robinson | 2020-12-24 | 1 | -1/+0 |
| | |||||
* | Avoid AL/ALC types in the backends | Chris Robinson | 2020-12-17 | 1 | -15/+15 |
| | |||||
* | Don't use ALC error enums for the backend error code | Chris Robinson | 2020-12-17 | 1 | -25/+36 |
| | |||||
* | Don't return an enum from captureSamples | Chris Robinson | 2020-12-17 | 1 | -9/+8 |
| | | | | It's always no_error | ||||
* | Move logging to core | Chris Robinson | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | Change a couple macros into constexpr variables | Chris Robinson | 2020-11-28 | 1 | -1/+1 |
| | |||||
* | Fix a UInt32 variable type | Chris Robinson | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | Fill all buffers for CoreAudio playback | Chris Robinson | 2020-11-24 | 1 | -2/+6 |
| | |||||
* | Disable buffer allocation with CoreAudio capture | Chris Robinson | 2020-11-24 | 1 | -0/+8 |
| | |||||
* | Ceil the scaled buffer size instead of round | Chris Robinson | 2020-11-23 | 1 | -1/+3 |
| | | | | The result has to be large enough to get the original requested size from it. | ||||
* | Fix buffer offset for the second conversion | Chris Robinson | 2020-11-23 | 1 | -1/+1 |
| | |||||
* | Fix capture buffer size scaling in CoreAudio | Chris Robinson | 2020-11-23 | 1 | -5/+5 |
| | |||||
* | Use kAudioUnitScope_Global to get the maximum frame size | Chris Robinson | 2020-11-23 | 1 | -1/+1 |
| | |||||
* | Use clearer variable names | Chris Robinson | 2020-11-20 | 1 | -1/+1 |
| | |||||
* | Don't try to override the CoreAudio maximum capture slice | Chris Robinson | 2020-11-19 | 1 | -20/+28 |
| | |||||
* | Add missing include for the CoreAudio backend | Chris Robinson | 2020-11-05 | 1 | -0/+1 |
| | |||||
* | Change a couple functions into member functions | Chris Robinson | 2020-08-07 | 1 | -1/+1 |
| | |||||
* | Move a couple related functions to the backend base | Chris Robinson | 2020-06-12 | 1 | -1/+1 |
| | |||||
* | Don't return a bool from the backend start method | Chris Robinson | 2020-04-28 | 1 | -15/+7 |
| | |||||
* | Use standard attribute declarations | Chris Robinson | 2020-04-13 | 1 | -0/+1 |
| | |||||
* | Get rid of a redundant enum | Chris Robinson | 2020-03-30 | 1 | -3/+3 |
| | |||||
* | Return the enumerated device names from the backend | Chris Robinson | 2020-03-30 | 1 | -6/+8 |
| | | | | Rather than using an out parameter. | ||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 1 | -1/+0 |
| | |||||
* | Make CreateRingBuffer a static RingBuffer method | Chris Robinson | 2020-01-10 | 1 | -1/+1 |
| | |||||
* | Handle padding between device sample frames | Chris Robinson | 2019-12-21 | 1 | -1/+2 |
| | | | | | | | | The padding must be constant and sample type aligned (e.g. some fixed multiple of two bytes between the start of two consecutive frames for 16-bit output). The intent is to always have the ability for stereo output with WASAPI even if the device has some other unsupported configuration, as long as front-left and front-right exist. | ||||
* | Make C callbacks noexcept | Chris Robinson | 2019-10-09 | 1 | -11/+11 |
| | | | | | No telling what would happen if exceptions managed to get back into presumably C-based callers. | ||||
* | Never return null from CreateRingBuffer | Chris Robinson | 2019-10-08 | 1 | -1/+0 |
| | | | | | Allocation failure would already throw a bad_alloc anyway, now a size overflow throws an exception too. | ||||
* | Clean up some exception messages and avoid duplicate log messages | Chris Robinson | 2019-10-08 | 1 | -52/+2 |
| | |||||
* | Avoid raw lock/unlock calls | Chris Robinson | 2019-10-07 | 1 | -2/+1 |
| | |||||
* | Use exceptions for backend open failures | Chris Robinson | 2019-10-07 | 1 | -83/+82 |
| | |||||
* | Make MAX_RESAMPLER_PADDING specify the total padding | Chris Robinson | 2019-09-28 | 1 | -1/+1 |
| | |||||
* | Use FastBSinc24 for WASAPI and CoreAudio capture | Chris Robinson | 2019-09-28 | 1 | -1/+1 |
| | | | | Given a fixed rate, there's no downside to the fast version. | ||||
* | Make the resampler type an enum class | Chris Robinson | 2019-09-22 | 1 | -1/+1 |
| | |||||
* | Return and pass more appropriate types for backends | Chris Robinson | 2019-09-15 | 1 | -19/+19 |
| | |||||
* | Fix a few more GCC warnings | Chris Robinson | 2019-09-14 | 1 | -1/+2 |
| | |||||
* | Fix some more implicit conversions noted by GCC | Chris Robinson | 2019-09-14 | 1 | -8/+9 |
| | |||||
* | Fix a few more C-style casts | Chris Robinson | 2019-09-11 | 1 | -1/+1 |
| | |||||
* | Use unsigned for the sample and channel converters | Chris Robinson | 2019-08-20 | 1 | -5/+4 |
| | |||||
* | no AudioObjectPropertyAddress on iOS | Li Keqing | 2019-08-07 | 1 | -0/+2 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 1 | -0/+709 |