|   | 46945354 | 2023-03-02T16:27:32 |  | dataqueue: Make thread safe.
Each data queue gets its own mutex and each function obtains it.
Fixes #7390.
(cherry picked from commit 8b9a9384132e39a49a14cf41b292018ce4f4f251) | 
            
              |   | f5bb286b | 2023-03-02T16:06:38 |  | dataqueue: Removed non-public SDL_ReserveSpaceInDataQueue function
This wasn't used, and it was just asking for trouble.
(cherry picked from commit f833e005e10f63979fd545d8bc29b4f1a7c36486) | 
            
              |   | 0479df53 | 2023-01-09T09:48:21 |  | Updated copyright for 2023 | 
            
              |   | b8d85c69 | 2022-11-30T12:51:59 |  | Update for SDL3 coding style (#6717)
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base.
In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted.
The script I ran for the src directory is added as build-scripts/clang-format-src.sh
This fixes:
#6592
#6593
#6594
(cherry picked from commit 5750bcb174300011b91d1de20edb288fcca70f8c) | 
            
              |   | 120c76c8 | 2022-01-03T09:40:00 |  | Updated copyright for 2022 | 
            
              |   | 9130f7c3 | 2021-01-02T10:25:38 |  | Updated copyright for 2021 | 
            
              |   | a8780c6a | 2020-01-16T20:49:25 |  | Updated copyright date for 2020 | 
            
              |   | 5e13087b | 2019-01-04T22:01:14 |  | Updated copyright for 2019 | 
            
              |   | e3cc5b2c | 2018-01-03T10:03:25 |  | Updated copyright for 2018 | 
            
              |   | 28149e11 | 2017-10-10T11:56:54 |  | Added SDL_PeekIntoDataQueue(). | 
            
              |   | 45b774e3 | 2017-01-01T18:33:28 |  | Updated copyright for 2017 | 
            
              |   | 2e2572a4 | 2016-12-27T23:48:43 |  | Added SDL_ReserveSpaceInDataQueue() to make space without copying data. | 
            
              |   | a0e003ee | 2016-12-06T02:23:54 |  | Refactored the audio queueing code to a generic SDL_DataQueue interface.
This is not a public API (at the moment), but we will be needing this for
other internal things soon. |