AxioDL / metaforce

A native reimplementation of the Metroid Prime engine
https://axiodl.com
Other
590 stars 41 forks source link

Audio is broken in Pipewire #449

Closed BoofOof32 closed 1 year ago

BoofOof32 commented 2 years ago

https://user-images.githubusercontent.com/66644514/158537869-6d129053-7b56-44f9-a918-52cae7d336a8.mp4

Fairly self explanatory, when running Metaforce using Pipewire, audio is stuttery and incomprehensible (Also present in New-cmodel branch)

How to replicate: Just use Pipewire

parkerlreed commented 2 years ago

Seeing the same thing here. Changing sample rate on the fly doesn't help either.

pw-metadata -n settings 0 clock.force-rate 192000

Has more intelligible audio but still cracks

tomlube commented 2 years ago

Seeing the same thing here. Changing sample rate on the fly doesn't help either.

pw-metadata -n settings 0 clock.force-rate 192000

Has more intelligible audio but still cracks

Try 96000 or maybe even 48000, 19200 is way too high a sample rate for metaforce if I recall correctly

parkerlreed commented 2 years ago

Yeah all of the other levels were just as clippy and more garbled.

BoofOof32 commented 2 years ago

It seems that Audio works with no issue on Pipewire now thanks to the implementation of SDL_Audio. This change is only in new-cmodel though for the time being, so I'll leave this open

Antidote commented 1 year ago

Which branch is this? new-cmodel has a new backend wrapped around SDL's pipewire implementation that should be better.

On Tue, Jul 5, 2022, 6:17 PM parkerlreed @.***> wrote:

Yeah all of the other levels were just as clippy and more garbled.

— Reply to this email directly, view it on GitHub https://github.com/AxioDL/metaforce/issues/449#issuecomment-1175663122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ4KBLBH45WK453DOYBJ4TVSTNBRANCNFSM5Q27YQHQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

parkerlreed commented 1 year ago

Yeah that was pointed out July 12th. Issue left open to track for master.