kometbomb / klystrack

A chiptune tracker
http://kometbomb.github.io/klystrack/
Other
485 stars 28 forks source link

Doesn't make any noise #248

Closed pezz closed 4 years ago

pezz commented 6 years ago

Hi,

I installed this tonight on Windows 10, loaded up a demo tune, the song plays but there's no audio output.

In fact, none of the demo tunes work.

kometbomb commented 6 years ago

Do you have something uncommon with your audio setup? Multiple audio devices?

pezz commented 6 years ago

No, there's only one audio device.

Sorry for not being very helpful, I'm not sure what other info I can give you. :(

muchitto commented 6 years ago

Same for me. Installed the newest version today on windows 10 and the volume bars are moving as if there is sound, but nothing is really coming out of the speakers.

Edit.

It seems something has been broken between versions 1.7.3 and 1.7.4 as the 1.7.3 version works perfectly for me.

kometbomb commented 6 years ago

I think the cause is the use of the latest SDL version (the only thing that has changed in relation to direct audio things). I most likely need to add some audio conversion on the klystron side to support this change.

https://www.doomworld.com/forum/topic/97402-important-for-devs-sdl2-206s-audio-breakage-in-windows/

kometbomb commented 6 years ago

Can one of you check if this fixes it? Just replace the klystrack.exe with this one, it should handle the audio format conversion.

https://www.dropbox.com/s/rnrlvsn1ddl69k2/klystrack.zip?dl=0

pezz commented 6 years ago

Sorry mate, still no output with this version.

kometbomb commented 6 years ago

This one should set the audio driver to "directsound". If this works it's at least a quick fix until I find time to rewrite the (messy) audio buffer routine.

https://www.dropbox.com/s/7yv12vnc4vq818l/klystrack-directsound.zip?dl=0

pezz commented 6 years ago

Sorry for forgetting to respond, the newest one you posted above works great!

muchitto commented 6 years ago

Yeah the newest one works for me too!