Love that you're working on this. I'm having the same superfast playback issue, running Voidlinux, Wine 5.16, and pulseaudio 13.
Do you need the whole pactl list or just the running sink?
Sink #0
State: RUNNING
Name: alsa_output.pci-0000_00_1b.0.analog-stereo
Description: Built-in Audio Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
Volume: front-left: 20316 / 31% / -30.52 dB, front-right: 20316 / 31% / -30.52 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
Latency: 1999385 usec, configured 2000000 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "32"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CX20756 Analog"
alsa.id = "CX20756 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xb3614000 irq 51"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9c20"
device.product.name = "8 Series HD Audio Controller"
device.form_factor = "internal"
device.string = "front:1"
device.buffering.buffer_size = "768000"
device.buffering.fragment_size = "384000"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Conexant CX20756"
alsa.components = "HDA:14f15114,1179f922,00100100"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
analog-output-speaker: Speakers (priority: 10000, not available)
analog-output-headphones: Headphones (priority: 9900, available)
Active Port: analog-output-headphones
Formats:
pcm
Sink Input with your plugin playing at 25x speed:
Sink Input #0
Driver: protocol-native.c
Owner Module: 24
Client: 1
Sink: 0
Sample Specification: float32le 2ch 48000Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 0 usec
Sink Latency: 1999162 usec
Resample method: copy
Properties:
media.name = "Audio"
application.name = "foobar2000"
native-protocol.peer = "TCP/IP client from 127.0.0.1:47746"
native-protocol.version = "33"
application.id = "foobar2000"
application.icon_name = "foobar2000"
application.process.id = "32"
application.process.binary = "foobar2000.exe"
application.language = "C"
window.x11.display = ":0"
application.process.machine_id = "pij"
application.process.session_id = "1"
module-stream-restore.id = "sink-input-by-application-id:foobar2000"
Sink Input with the default output playing normally:
Sink Input #1
Driver: protocol-native.c
Owner Module: 12
Client: 3
Sink: 0
Sample Specification: float32le 2ch 48000Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 15000 usec
Sink Latency: 5053 usec
Resample method: copy
Properties:
media.name = "audio stream #3"
application.name = "foobar2000.exe"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "33"
application.process.id = "7818"
application.process.binary = "wine-preloader"
application.language = "en_GB.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "beee4f833bf4e74cd586ac5e5da826d4"
application.process.session_id = "1"
module-stream-restore.id = "sink-input-by-application-name:foobar2000.exe"
Obvious difference is
Buffer Latency: 0 usec
Sink Latency: 1999162 usec
vs
Buffer Latency: 15000 usec
Sink Latency: 5053 usec
Hope that's a help. Let me know if you need the full print.