mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
No description
c36655d5c7
We were using this function to check if the format of the existing voice is different from the format of the voice we intended to play. However, whereas the format we use is the FAudioWaveFormatEx struct, the only details we get from FAudioVoice_GetVoiceDetails is the FAudioVoiceDetails struct, which has much less details and is missing important things like whether the format is 8-bit or 16-bit or something else. And of course, if we don't check that the number of bits matches, then it still leads to playback issues as described in #953. There are no other functions in FAudio that operate on FAudioWaveFormatEx structs. So instead, we'll just have to do it ourselves, and store the format of the existing voice alongside the format of the intended voice. And then use SDL_memcmp to make sure the formats are the same before playing, and if not, then destroy and re-create the voice. Fixes #953. |
||
---|---|---|
.github | ||
desktop_version | ||
mobile_version | ||
third_party | ||
tools | ||
.gitattributes | ||
.gitmodules | ||
License exceptions.md | ||
LICENSE.md | ||
README.md |
This is the source code to VVVVVV, version 2.0+. For more context about this release, see the announcement on Terry's blog!
License
VVVVVV's source code is made available under a custom license. See LICENSE.md for more details.
In general, if you're interested in creating something that falls outside the license terms, get in touch with Terry and we'll talk about it!
Authors
- Created by Terry Cavanagh
- Room Names by Bennett Foddy
- Music by Magnus Pålsson
- Metal Soundtrack by FamilyJules
- 2.0 Update (C++ Port) by Simon Roth
- 2.2 Update (SDL2/PhysicsFS/Steamworks port) by Ethan Lee
- Beta Testing by Sam Kaplan and Pauli Kohberger
- Ending Picture by Pauli Kohberger
Versions
There are two versions of the VVVVVV source code available - the desktop version (based on the C++ port, and currently live on Steam), and the mobile version (based on a fork of the original flash source code, and currently live on iOS and Android).