You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and then if I try to actually play audio the app crashes:
Thread 3 "SDLAudioP19" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5eef6c0 (LWP 1374847)]
0x00007ffff7c22974 in ?? () from /usr/lib/libSDL3.so.0
(gdb) bt
#0 0x00007ffff7c22974 in ?? () from /usr/lib/libSDL3.so.0
#1 0x00007ffff7c2bac1 in ?? () from /usr/lib/libSDL3.so.0
#2 0x00007ffff7c2d052 in ?? () from /usr/lib/libSDL3.so.0
#3 0x00007ffff7c21a26 in ?? () from /usr/lib/libSDL3.so.0
#4 0x00007ffff718ad4d in ?? () from /usr/lib/libpipewire-0.3.so.0
#5 0x00007ffff5f01634 in ?? () from /usr/lib/spa-0.2/audioconvert/libspa-audioconvert.so
#6 0x00007ffff719c599 in ?? () from /usr/lib/libpipewire-0.3.so.0
#7 0x00007ffff716dfb2 in ?? () from /usr/lib/libpipewire-0.3.so.0
#8 0x00007ffff7fa7246 in ?? () from /usr/lib/spa-0.2/support/libspa-support.so
#9 0x00007ffff7191ce7 in ?? () from /usr/lib/libpipewire-0.3.so.0
#10 0x00007ffff76a32ce in ?? () from /usr/lib/libc.so.6
#11 0x00007ffff772829c in ?? () from /usr/lib/libc.so.6
If I specifically request 48000Hz and 2 channels, it doesn't crash, though the audio is distorted, presumably because there's some sort of rate mismatch somewhere.
I request 2 channels, though I still get 16 back not sure if that's expected.
If I then try to create a stream with the spec returned from SDL_GetAudioDeviceFormat, it complains about wrong channels.
So i set channels back to 2, on the spec and now it's fine.
Hi!
I'm pretty sure my card is 48000Hz by default.
Here's
pw-top
output (slightly edited by removing unimportant things, like mics):But when I call
SDL_GetAudioDeviceFormat
on that device I get the following:and then if I try to actually play audio the app crashes:
If I specifically request 48000Hz and 2 channels, it doesn't crash, though the audio is distorted, presumably because there's some sort of rate mismatch somewhere.
I request 2 channels, though I still get 16 back not sure if that's expected.
If I then try to create a stream with the spec returned from
SDL_GetAudioDeviceFormat
, it complains about wrong channels.So i set channels back to 2, on the spec and now it's fine.
Maybe somewhat related to #12129.
I realize I have a peculiar setup :) So any debugging advice is welcome.
Thanks!
The text was updated successfully, but these errors were encountered: