Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove some unused functions | Chris Robinson | 2020-03-23 | 1 | -64/+3 |
| | |||||
* | Clean up ALfilter some | Chris Robinson | 2020-03-23 | 2 | -140/+149 |
| | | | | | | Use inline methods instead of macros Fix indentation Add some consts | ||||
* | Add a macro to disable class-specific new/delete | Chris Robinson | 2020-03-23 | 7 | -0/+19 |
| | |||||
* | Use inline initialization more for sources | Chris Robinson | 2020-03-23 | 2 | -89/+46 |
| | |||||
* | Avoid ## in a macro | Chris Robinson | 2020-03-23 | 1 | -6/+6 |
| | | | | Cppcheck thinks it's an invalid use of it | ||||
* | Simplify clamping the voice mix size | Chris Robinson | 2020-03-23 | 1 | -8/+9 |
| | |||||
* | Use more appropriate types for bitfields | Chris Robinson | 2020-03-22 | 1 | -4/+10 |
| | |||||
* | Clean up some C++11-isms | Chris Robinson | 2020-03-22 | 3 | -13/+10 |
| | |||||
* | More cleanup for the pitch shifter | Chris Robinson | 2020-03-22 | 1 | -102/+70 |
| | |||||
* | Use make_unique instead of new'ing into a unique_ptr | Chris Robinson | 2020-03-22 | 1 | -2/+2 |
| | |||||
* | Properly define the new[] and delete[] operators | Chris Robinson | 2020-03-22 | 1 | -3/+10 |
| | |||||
* | Update AppVeyor to VS 2017 for 32-bit | Chris Robinson | 2020-03-22 | 1 | -7/+2 |
| | |||||
* | Avoid assigning in a conditional expression | Chris Robinson | 2020-03-22 | 1 | -1/+3 |
| | |||||
* | Properly allocate voices | Chris Robinson | 2020-03-22 | 1 | -0/+3 |
| | |||||
* | Use the correct include for al::fstream | Chris Robinson | 2020-03-22 | 1 | -1/+1 |
| | |||||
* | Silence a potential type truncation warning | Chris Robinson | 2020-03-22 | 1 | -1/+2 |
| | |||||
* | Some type cleanup | Chris Robinson | 2020-03-22 | 2 | -42/+39 |
| | |||||
* | Clean up the pitch and frequency shifter some | Chris Robinson | 2020-03-22 | 2 | -65/+56 |
| | |||||
* | Fix the frequency shifter channel panning | Chris Robinson | 2020-03-22 | 1 | -2/+2 |
| | |||||
* | Avoid some pre-C++14 workarounds | Chris Robinson | 2020-03-22 | 7 | -31/+20 |
| | |||||
* | Add missing semicolon | Chris Robinson | 2020-03-22 | 1 | -1/+1 |
| | |||||
* | Update to C++14 | Chris Robinson | 2020-03-22 | 2 | -3/+3 |
| | |||||
* | Remove the check for stat() | Chris Robinson | 2020-03-21 | 4 | -9/+0 |
| | | | | It's POSIX-2001 standard | ||||
* | Cleanup some helper code | Chris Robinson | 2020-03-20 | 1 | -31/+36 |
| | |||||
* | Move CPUCapFlags and FillCPUCaps to their own source | Chris Robinson | 2020-03-20 | 3 | -133/+148 |
| | |||||
* | Move the FPUCtl methods to its own source | Chris Robinson | 2020-03-20 | 8 | -53/+63 |
| | |||||
* | Avoid a function call to get the channel count | Chris Robinson | 2020-03-18 | 1 | -1/+1 |
| | |||||
* | Rename a method to be clearer | Chris Robinson | 2020-03-18 | 1 | -15/+13 |
| | |||||
* | Make the pulseaudio enumeration functions class methods | Chris Robinson | 2020-03-18 | 1 | -112/+113 |
| | |||||
* | Remove a couple unused methods | Chris Robinson | 2020-03-18 | 1 | -2/+0 |
| | |||||
* | Use a busy-wait when synchronizing against the mixer | Chris Robinson | 2020-03-16 | 1 | -2/+2 |
| | | | | | | | | The mixer should have higher priority than any thread that can make AL calls, so even on single-core systems, it shouldn't stall the mix. It will, however, return back to the caller as soon as it can, while yielding will give up the timeslice if there's any other thread waiting to process even if the mix is almost done. | ||||
* | Fix voices being forced to update without valid properties | Chris Robinson | 2020-03-04 | 2 | -16/+10 |
| | | | | | | | | | | | | | | | | When starting a voice, the source ID was set before its first update struct was provided, creating a small window where a listener or effect slot update could force a voice to update without it having any valid properties to update with. Supplying the update struct first would create a different race, where the mixer could see a voice without a source but with an update struct, causing the update struct to be 'freed' without being applied. The fix here is to provide the update struct before setting the source ID, and change the mixer to ignore update structs for voices without a source ID. This can pseudo-orphan the updates that get set on a voice just as it stops, leaving the struct unusable until the voice is used again, or the voice gets deleted which will clear it. But it allows the update struct to stay in place and get applied once the voice gets a source ID. | ||||
* | Avoid redundantly setting voice members | Chris Robinson | 2020-03-04 | 1 | -26/+24 |
| | |||||
* | Don't change flags after InitVoice | Chris Robinson | 2020-03-04 | 1 | -11/+9 |
| | |||||
* | Use a new voice state to indicate a pending source offset change | Chris Robinson | 2020-03-04 | 3 | -14/+17 |
| | |||||
* | Avoid unnecessarily reclearing some variables | Chris Robinson | 2020-03-03 | 1 | -51/+36 |
| | |||||
* | Add a helper to wait for the device mix | Chris Robinson | 2020-03-03 | 5 | -36/+28 |
| | |||||
* | Use an intrusive_ptr for the device's HrtfStore | Chris Robinson | 2020-03-01 | 6 | -30/+23 |
| | |||||
* | Simplify getting a voice for a new source offset | Chris Robinson | 2020-02-28 | 1 | -17/+21 |
| | |||||
* | Use real-time priority by default | Chris Robinson | 2020-02-26 | 2 | -11/+6 |
| | |||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 18 | -64/+17 |
| | |||||
* | Use a VoiceChange object to change the offset of a playing source | Chris Robinson | 2020-02-26 | 2 | -61/+164 |
| | |||||
* | Rename the voice's PendingStop to PendingChange | Chris Robinson | 2020-02-26 | 3 | -9/+9 |
| | |||||
* | Move voice initialization to a separate function | Chris Robinson | 2020-02-26 | 1 | -97/+103 |
| | |||||
* | Avoid storing the source offset when it's just read and reset | Chris Robinson | 2020-02-26 | 1 | -27/+27 |
| | |||||
* | Make the source's send array static instead of dynamic | Chris Robinson | 2020-02-25 | 3 | -35/+22 |
| | |||||
* | Update an comment about the default HRTF filters | Chris Robinson | 2020-02-25 | 1 | -2/+1 |
| | |||||
* | Reduce the maximum number of source sends to 6 | Chris Robinson | 2020-02-25 | 2 | -2/+2 |
| | |||||
* | Handle playing voices after disconnection | Chris Robinson | 2020-02-24 | 1 | -5/+11 |
| | |||||
* | Improve searching for the next voice when playing multiple sources | Chris Robinson | 2020-02-24 | 1 | -4/+5 |
| | | | | | Instead of searching from the beginning of the voice list for each source, just continue searching from the last source's voice. |