Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSX] Using OpenSFX sound set produces static #3205

Closed
DorpsGek opened this issue Sep 16, 2009 · 6 comments
Closed

[OSX] Using OpenSFX sound set produces static #3205

DorpsGek opened this issue Sep 16, 2009 · 6 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

swp opened the ticket and wrote:

When trying to use the OpenSFX sound set, only static is output. However, the original sound set works fine.

I encountered this problem on PPC G5 Mac.

Reported version: trunk
Operating system: Mac OS X


This issue was imported from FlySpray: https://bugs.openttd.org/task/3205
@DorpsGek
Copy link
Member Author

planetmaker wrote:

I cannot reproduce this. r17548 works fine for me with sounds and OpenGFX (Intel, MacOS 10.6 and 10.4) nor did I notice sound deficiencies before (but mostly I have it switched off...). What's your OS version and the OpenTTD version you tested it with?


This comment was imported from FlySpray: https://bugs.openttd.org/task/3205#comment6653

@DorpsGek
Copy link
Member Author

swp wrote:

I use OSX 10.4.11 on a G5 PPC Mac. I used r17536 and the latest nightly of OpenSFX.

EDIT: On 17548 there's also static, with the OpenSFX alpha as well as with the nightly.

It sounds like it's a problem of endianness. When the endianness of a sound file is interpreted the wrong way, it produces static which sounds like that.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3205#comment6654

@DorpsGek
Copy link
Member Author

frosch wrote:

There is at least one endian issue when loading them from file and later mixing multiple samples.

Maybe the output in the cocoa stuff needs another endian swap. Noone can tell.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3205#comment6656

@DorpsGek
Copy link
Member Author

swp wrote:

Thanks, I will try that when I have time. Another clue for an endianness issue is Ingo von Borstel says it's running on his Intel Mac. Intel Core and PowerPC differ in the Endianness.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3205#comment6657

@DorpsGek
Copy link
Member Author

swp wrote:

This patch did the trick. I now hear the correct sound with OpenSFX. Thanks!


This comment was imported from FlySpray: https://bugs.openttd.org/task/3205#comment6743

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 4, 2009

frosch closed the ticket.

Reason for closing: Fixed

in r17698


This comment was imported from FlySpray: https://bugs.openttd.org/task/3205

@DorpsGek DorpsGek closed this as completed Oct 4, 2009
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant