Hirdetés

Új hozzászólás Aktív témák

  • daninet

    veterán

    Sziasztok!

    gondom van qemu-val. Van egy sony bluetooth fejhallgatóm és amint elindítom a VM-et átnyomja a fejhallgatómat A2DP-ről HSP/HFP módba (headset módba) ahol a hangminőség gyengébb.
    Ez a qemu indításának pillanatában megtörténik, szóval nem a guest rendszer lopja el.
    Valahogyan meg kellene tiltanom pulseaudionak a qemuban hogy a bluez eszköz inputját használja. A rendszerem tumbleweed és pipewire-t használ.

    Jelen virsh konfigom:
    <sound model='ich9'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
        </sound>
        <audio id='1' type='pulseaudio' serverName='/run/user/1000/pulse/native'/>

    Támogatott kodekek:
    pactl list cards | grep -A20 "bluez_card"
            Name: bluez_card.CC_98_8B_22_1E_D3
            Driver: module-bluez5-device.c
            Owner Module: n/a
            Properties:
                    api.bluez5.address = "CC:98:8B:22:1E:D3"
                    api.bluez5.class = "0x240404"
                    api.bluez5.connection = "connected"
                    api.bluez5.device = ""
                    api.bluez5.icon = "audio-headset"
                    api.bluez5.path = "/org/bluez/hci0/dev_CC_98_8B_22_1E_D3"
                    bluez5.profile = "off"
                    device.alias = "WH-1000XM3"
                    device.api = "bluez5"
                    device.bus = "bluetooth"
                    device.description = "WH-1000XM3"
                    device.form_factor = "headset"
                    device.icon_name = "audio-headset-bluetooth"
                    device.name = "bluez_card.CC_98_8B_22_1E_D3"
                    device.product.id = "0x0cd3"
                    device.string = "CC:98:8B:22:1E:D3"
                    device.vendor.id = "usb:054c"
                    media.class = "Audio/Device"
                    spa.object.id = "0"
                    factory.id = "15"
                    client.id = "41"
                    object.id = "99"
                    object.serial = "1220"
            Profiles:
                    off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                    a2dp-sink-sbc: High Fidelity Playback (A2DP Sink, codec SBC) (sinks: 1, sources: 0, priority: 18, available: yes)
                    a2dp-sink-sbc_xq: High Fidelity Playback (A2DP Sink, codec SBC-XQ) (sinks: 1, sources: 0, priority: 17, available: yes)
                    a2dp-sink-aac: High Fidelity Playback (A2DP Sink, codec AAC) (sinks: 1, sources: 0, priority: 19, available: yes)
                    a2dp-sink: High Fidelity Playback (A2DP Sink, codec LDAC) (sinks: 1, sources: 0, priority: 20, available: yes)
                    headset-head-unit-cvsd: Headset Head Unit (HSP/HFP, codec CVSD) (sinks: 1, sources: 1, priority: 2, available: yes)
                    headset-head-unit: Headset Head Unit (HSP/HFP, codec mSBC) (sinks: 1, sources: 1, priority: 3, available: yes)
            Active Profile: headset-head-unit
            Ports:
                    headset-input: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)

    Mikor qemu fut a bluez input eszközt is használja ezért átvált headset módba:
    pactl list sources short
    61      alsa_output.pci-0000_23_00.1.hdmi-stereo.monitor        PipeWire        s32le 2ch 48000Hz       SUSPENDED
    64      alsa_output.usb-K66_K66_20190805V001-00.analog-stereo.monitor   PipeWire        s16le 2ch 48000Hz       SUSPENDED
    65      alsa_input.usb-K66_K66_20190805V001-00.analog-stereo    PipeWire        s16le 2ch 48000Hz       SUSPENDED
    1223    bluez_input.CC:98:8B:22:1E:D3   PipeWire        float32le 1ch 48000Hz   RUNNING
    1355    bluez_output.CC_98_8B_22_1E_D3.1.monitor        PipeWire        s16le 1ch 16000Hz       RUNNING

    Továbbá az mSBC kodek baromi idegesítő, szép lassan 1-2 óra alatt latency-t szed össze és a végén már több másodperc. Csak rövid távon használható.
    Segítsetek :R

Új hozzászólás Aktív témák