Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change a function to a static method | Chris Robinson | 2022-11-13 | 1 | -1/+1 |
| | |||||
* | Add preliminary support for 7.1.4 output modes | Chris Robinson | 2022-11-03 | 1 | -0/+1 |
| | | | | | | | | I don't know how different sound APIs handle 7.1.4 ("Atmos" or "Auro3D") output, but currently it simply specifies the additional channels with the height channel labels. This isn't likely how it works for a virtualized channel bed, for playing over other with-height configurations (7.1.2, 5.1.4, etc), but this should be an okay start. | ||||
* | Fix the ringbuffer write size | Chris Robinson | 2022-08-18 | 1 | -1/+1 |
| | |||||
* | Use an intermediate buffer for writing to the ringbuffer | Chris Robinson | 2022-08-18 | 1 | -26/+11 |
| | | | | | It doesn't seem as though AudioUnitRender likes being given two buffers to render/capture samples into segmented memory. | ||||
* | Pass the action flags to AudioUnitRender from the callback | Chris Robinson | 2022-08-17 | 1 | -3/+2 |
| | |||||
* | Pass the bus number to AudioUnitRender from the callback | Chris Robinson | 2022-08-16 | 1 | -2/+2 |
| | |||||
* | Remove a couple unnecessary casts | Chris Robinson | 2022-05-13 | 1 | -3/+3 |
| | |||||
* | Fix the CoreAudio output element value | Chris Robinson | 2022-05-10 | 1 | -1/+1 |
| | |||||
* | Fix CoreAudio audio unit element values for capture | Chris Robinson | 2022-05-02 | 1 | -19/+21 |
| | |||||
* | Handle 3D7.1 as a separate channel configuration | Chris Robinson | 2022-04-26 | 1 | -0/+1 |
| | | | | | | | It's treated as 5.1 + 2 aux channels. This allows AL_DIRECT_CHANNELS_SOFT to behave better, not forwarding rear left/right channel inputs to lower front and upper rear, and allows reporting a more appropriate output mode to the app instead of 7.1. | ||||
* | Define the CoreAudio default name only when needed | Chris Robinson | 2022-02-23 | 1 | -2/+4 |
| | |||||
* | Avoid 5.1Rear as its own channel configuration | Chris Robinson | 2021-07-30 | 1 | -1/+0 |
| | | | | | | It messes with 5.1 sources using direct channels, and the surround channels are supposed to map to the side labels. Individual backends can deal with the channel order/label differences, as they already do to a degree. | ||||
* | Set the CoreAudio stream according to the device channel format | Chris Robinson | 2021-07-24 | 1 | -53/+19 |
| | |||||
* | Attempt to support capture enumeration with CoreAudio | Chris Robinson | 2021-07-10 | 1 | -45/+72 |
| | |||||
* | Use variables and types when they're defined | Chris Robinson | 2021-07-09 | 1 | -0/+6 |
| | |||||
* | Don't define enumeration functions when they're not used | Chris Robinson | 2021-07-09 | 1 | -16/+25 |
| | |||||
* | Use a unique_ptr to hold raw byte memory | Chris Robinson | 2021-06-21 | 1 | -2/+4 |
| | |||||
* | Fix getting of device channel count in CoreAudio backend | alexey.lysiuk | 2021-06-21 | 1 | -3/+1 |
| | | | | | | | AudioBufferList contains a variable length array of mNumberBuffers elements, so it should not be created with the default constructor like usual class instances. Unfortunately, Apple developer site documentation is literally empty for this API. There is a bunch of comments in framework's header files. Here is the correct usage of AudioBufferList pointer from Chromium: https://chromium.googlesource.com/chromium/src/media/+/008a1abc573e1f8bcf513b50ce48a923b30ef130/audio/mac/audio_manager_mac.cc#266 There were occasional crashes because of memory corruption which was confirmed by address sanitizer | ||||
* | Fix some size types | Chris Robinson | 2021-06-18 | 1 | -2/+2 |
| | |||||
* | Initial attempt at CoreAudio playback enumeration | Chris Robinson | 2021-06-18 | 1 | -14/+253 |
| | |||||
* | Handle tvOS case | HALX99 | 2021-05-13 | 1 | -3/+3 |
| | |||||
* | Add back a missing include | Chris Robinson | 2021-04-27 | 1 | -0/+1 |
| | |||||
* | Update include headers | Chris Robinson | 2021-04-27 | 1 | -7/+6 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Use the DeviceBase for the backend | Chris Robinson | 2021-04-24 | 1 | -3/+3 |
| | |||||
* | Move some more sources to core | Chris Robinson | 2021-04-24 | 1 | -1/+1 |
| | |||||
* | 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 |
| |