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

Music plays on my spearkers, sound effects plays on my headphones #6950

Closed
thewinner958 opened this issue Oct 29, 2018 · 3 comments
Closed

Comments

@thewinner958
Copy link

Hi there, I am using Kali Linux (KDE) and I installed OpenTTD's latest stable (1.8.0) debian package on my computer. I was trying to use my headphones (HyperX Cloud 2) to play this game but only outputs the sound effects, while the game music outputs on my speakers. What should have happened was both music and sound effects output on the same device (aka. my headphones). Can someone help me?

PS: I know that it is outside of the issue (and possibly the guidelines), but I kinda need to tell this. If you think that I am just some rambling kid who has a weird picture, then do not reply to this issue. I am not kidding, you can just save your time replying and also my time to read the. What I just need is answer to my issue and that's all.

@nielsmh
Copy link
Contributor

nielsmh commented Oct 29, 2018

Most likely you're having music played via Timidity. I'm not sure how your audio configuration is, whether you're using pure ALSA, or if you use PulseAudio on top of ALSA, but I suspect it's the latter. It's also likely that Timidity then either uses ALSA output, while OpenTTD uses PulseAudio for output, in which case the ALSA output might end up on a different output device in one way or another. Alternatively, Timidity does not know how to properly follow the system default output device.

Either way, the problem probably lies with Timidity somewhere, but can probably also be worked around by changing some configuration or either Timidity, ALSA, or PulseAudio.

@thewinner958
Copy link
Author

Yeah I have no idea how to configure Timidity, ALSA and PulseAudio, so if someone can help me configure these, I will be really thankfull, or I could just close the issue and switch to Windows.

@nielsmh
Copy link
Contributor

nielsmh commented Oct 29, 2018

We have an open PR for a new music driver based on Fluidsynth, #6901. If we can get that merged it will probably avoid issues like this in the future, at least.

I suggest you ask a general users' forum for your distro about configuring PulseAudio or ALSA to send ALSA output to your intended device, since Timidity can only output via ALSA. (I just checked.)

@nielsmh nielsmh closed this as completed Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants