Repository navigation
fix position & remove flag - #61
Merged
Merged
Conversation
fix 3d audio on coords & remove flag BASS_DEVICE_DEFAULT
Closed
Contributor
|
@GeTechG thanks for the fixes. Please clarify:
Are those new issues introduced by the proposed change in the pull request, or existing issues in 4.4.0? |
Contributor
Author
Yes, the problem is also observed on pure 4.4.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was interested in the issue of #59. I also found another problem. When calling
0AC2: set_play_3d_audio_stream_at_coordsthe position of the audio changes with the coordinate axes rearranged.CLEO4/source/CSoundSystem.cpp
Lines 367 to 369 in f179256
And then again in the method
C3DAudioStream::Process()the coordinates are transposed.CLEO4/source/CSoundSystem.cpp
Line 405 in f179256
Because of that the sound was not audible.
I also changed a couple of fields for the newer plugin sdk, maybe how to separate this change.
Issues Found:
BASS_ERROR_ILLPARAM. As I understand it is just because 3d requires mono audio. FlagBASS_SAMPLE_MONOfor some reason has no effect. Maybe I did something wrong.