I recompiled the wine port to use OSS instead of Alsa, and set up virtual_oss like this:
then tried to capture the audio from /dev/dsp0 like this:
but I get no sound in the recording when I repeatedly click the "Test Sound" button in winecfg while ffmpeg is recording. I am able to hear sound from winecfg when clicking the "Test Sound" button so I know sound is working in wine.
I also tried this with no success:
I was able to capture sound from beep using both of the previous commands, so what am I doing wrong?
pkg options wine:
mixer -a:
uname -a:
wine audio tab:
Code:
virtual_oss -S -C 2 -c 2 -r 48000 -b 16 -s 1024 -f /dev/dsp0 -w vdsp.wav -l dsp
Code:
ffmpeg -f oss -i /dev/dsp /tmp/output.wav
I also tried this with no success:
Code:
dd if=/dev/vdsp.wav of=/tmp/output.wav
I was able to capture sound from beep using both of the previous commands, so what am I doing wrong?
pkg options wine:
Code:
wine - ALSA: off
wine - CUPS: off
wine - DOCS: on
wine - DOSBOX: off
wine - GECKO: on
wine - GNUTLS: on
wine - MONO: on
wine - OSS: on
wine - V4L: off
wine - WINEMAKER: off
wine - X11: on
mixer -a:
Code:
pcm0:mixer: <EMU10Kx DSP front PCM interface> on emu10kx0 (play/rec) (default)
vol = 0.65:0.65 rec
pcm = 0.75:0.75 pbk
speaker = 0.75:0.75 pbk
line = 0.75:0.75 rec
mic = 0.25:0.25 rec src
cd = 0.75:0.75 rec
rec = 0.75:0.75 pbk
igain = 0.00:0.00 pbk
ogain = 0.50:0.50 pbk
line1 = 0.75:0.75 rec
line2 = 0.00:0.00 rec
line3 = 0.00:0.00 rec
dig1 = 0.00:0.00 rec
dig2 = 0.00:0.00 rec
dig3 = 0.00:0.00 rec
phin = 0.00:0.00 rec
phout = 0.00:0.00 rec
video = 0.75:0.75 rec
pcm1:mixer: <EMU10Kx DSP rear PCM interface> on emu10kx0 (play)
vol = 0.75:0.75 pbk
pcm = 0.75:0.75 pbk
pcm2:mixer: <NVIDIA (0x0040) (HDMI/DP 8ch)> on hdaa0 (play)
vol = 1.00:1.00 pbk
pcm = 1.00:1.00 pbk
pcm3:mixer: <NVIDIA (0x0040) (HDMI/DP 8ch)> on hdaa0 (play)
vol = 1.00:1.00 pbk
pcm = 1.00:1.00 pbk
pcm4:mixer: <NVIDIA (0x0040) (HDMI/DP 8ch)> on hdaa0 (play)
vol = 1.00:1.00 pbk
pcm = 1.00:1.00 pbk
pcm5:mixer: <NVIDIA (0x0040) (HDMI/DP 8ch)> on hdaa0 (play)
vol = 1.00:1.00 pbk
pcm = 1.00:1.00 pbk
uname -a:
Code:
FreeBSD 14.2-RELEASE-p1 GENERIC amd64
wine audio tab: