Date: Thu, 25 May 2023 08:00:28 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 271559] [sound] [snd_uaudio] Creative Katana V2X garbled audio Message-ID: <bug-271559-12827-XMjEbp3BWD@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271559-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-271559-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271559 --- Comment #11 from Emanuel Haupt <ehaupt@FreeBSD.org> --- Thank you both for the excellent analysis. I was playing around with the settings you provided and had some success. I found that the following *sometimes* works: sysctl dev.pcm.8.play.vchanformat=3Ds32le:2.0 mpv --audio-format=3Ds32 file.mp3 Executing the mpv command repeatedly every once in a while the song plays normal and /dev/sndstat looks like so: pcm8: <USB audio> at ? kld snd_uaudio (1p:2v/1r:1v) default snddev flags=3D0x2e2<AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC> [pcm8:play:dsp8.p0]: spd 48000, fmt 0x00201000/0x08610000, flags 0x00002108, 0x00000046 interrupts 13021, underruns 0, feed 130200, ready 0 [b:13824/6912/2|bs:8192/4096/2] channel flags=3D0x2108<TRIGGERED,BUSY,HAS_VCHAN> {userland} -> feeder_mixer(0x00201000) -> feeder_matrix(2.0 -> 5.1)= -> feeder_format(0x08601000 -> 0x08610000) -> {hardware} pcm8:play:dsp8.p0[pcm8:virtual:dsp8.vp0]: spd 44100/48000, fmt 0x00201000, flags 0x1000010c, 0x00000029, pid 13804 (mpv) interrupts 0, underruns 0, feed 125666, ready 16384 [b:0/0/0|bs:16384/2048/8] channel flags=3D0x1000010c<RUNNING,TRIGGERED,BUSY,VIRTUAL> {userland} -> feeder_root(0x00201000) -> feeder_volume(0x00201000) = -> feeder_rate(0x00201000 q:1 44100 -> 48000) -> {hardware} pcm8:play:dsp8.p0[pcm8:virtual:dsp8.vp1]: spd 44100/48000, fmt 0x00200010/0x00201000, flags 0x10000000, 0x0000002b interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=3D0x10000000<VIRTUAL> {userland} -> feeder_root(0x00200010) -> feeder_format(0x00200010 -> 0x00201000) -> feeder_volume(0x00201000) -> feeder_rate(0x00201000 q:1 4410= 0 -> 48000) -> {hardware} [pcm8:record:dsp8.r0]: spd 48000, fmt 0x00200010/0x00210000, flags 0x00002100, 0x00000007 interrupts 624, overruns 0, feed 1872, hfree 4608, sfree 4096 [b:4608/2304/2|bs:4096/2048/2] channel flags=3D0x2100<BUSY,HAS_VCHAN> {hardware} -> feeder_root(0x00210000) -> feeder_format(0x00210000 -> 0x00200010) -> feeder_mixer(0x00200010) -> {userland} pcm8:record:dsp8.r0[pcm8:virtual:dsp8.vr0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, overruns 0, feed 0, hfree 0, sfree 32768 [b:0/0/0|bs:32768/256/128] channel flags=3D0x10000000<VIRTUAL> {hardware} -> feeder_root(0x00200010) -> feeder_rate(0x00200010 q:1 48000 -> 44100) -> feeder_volume(0x00200010) -> {userland} I'll use the weekend to look into virtual_oss. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271559-12827-XMjEbp3BWD>