luisbocanegra / linux-guide-split-audio-ports

Split jack(headphones)/speakers outputs into individual sinks on Linux to allow simultaneous playback (listen to different audio streams on each port)
30 stars 3 forks source link

does it work for bluetooth headset? #15

Open LemuelDayrit opened 1 month ago

LemuelDayrit commented 1 month ago

i have some question. Is there a way to combine bluetooth headset and microphone because they are in different audio profiles

luisbocanegra commented 1 month ago

Maybe, can you please share the output of pactl list sinks, pactl list sources and pactl list cards

LemuelDayrit commented 1 month ago
nobgnome@nobara:~$ pactl list sinks
Sink #49
    State: SUSPENDED
    Name: alsa_output.pci-0000_07_00.6.pro-output-0
    Description: Family 17h/19h HD Audio Controller Pro
    Driver: PipeWire
    Sample Specification: s32le 2ch 48000Hz
    Channel Map: aux0,aux1
    Owner Module: 4294967295
    Mute: no
    Volume: aux0: 40062 /  61% / -12.82 dB,   aux1: 40062 /  61% / -12.82 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: alsa_output.pci-0000_07_00.6.pro-output-0.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.card = "2"
        alsa.card_name = "HD-Audio Generic"
        alsa.class = "generic"
        alsa.device = "0"
        alsa.driver_name = "snd_hda_intel"
        alsa.id = "ALC245 Analog"
        alsa.long_card_name = "HD-Audio Generic at 0xfc5c0000 irq 104"
        alsa.name = "ALC245 Analog"
        alsa.resolution_bits = "32"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "HD-Audio Generic at 0xfc5c0000 irq 104"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.path = "hw:2,0"
        api.alsa.pcm.card = "2"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "AUX0,AUX1"
        card.profile.device = "1"
        clock.name = "api.alsa.2"
        device.api = "alsa"
        device.class = "sound"
        device.id = "46"
        device.profile.description = "Pro"
        device.profile.name = "pro-output-0"
        device.profile.pro = "true"
        device.routes = "0"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "Family 17h/19h HD Audio Controller"
        node.name = "alsa_output.pci-0000_07_00.6.pro-output-0"
        node.nick = "ALC245 Analog"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:2:hw:2,0:playback"
        priority.driver = "1500"
        priority.session = "1500"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "33"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "49"
        object.serial = "49"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "2"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio2"
        device.bus = "pci"
        device.bus_path = "pci-0000:07:00.6"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_07_00.6"
        device.nick = "HD-Audio Generic"
        device.plugged.usec = "8600134"
        device.product.id = "0x15e3"
        device.product.name = "Family 17h/19h HD Audio Controller"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
        device.vendor.id = "0x1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.string = "2"
    Formats:
        pcm

Sink #50
    State: RUNNING
    Name: alsa_output.pci-0000_07_00.6.pro-output-2
    Description: Family 17h/19h HD Audio Controller Pro 2
    Driver: PipeWire
    Sample Specification: s32le 2ch 48000Hz
    Channel Map: aux0,aux1
    Owner Module: 4294967295
    Mute: no
    Volume: aux0: 34611 /  53% / -16.64 dB,   aux1: 34611 /  53% / -16.64 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: alsa_output.pci-0000_07_00.6.pro-output-2.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.card = "2"
        alsa.card_name = "HD-Audio Generic"
        alsa.class = "generic"
        alsa.device = "2"
        alsa.driver_name = "snd_hda_intel"
        alsa.id = "ALC245 Alt Analog"
        alsa.long_card_name = "HD-Audio Generic at 0xfc5c0000 irq 104"
        alsa.name = "ALC245 Alt Analog"
        alsa.resolution_bits = "32"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "HD-Audio Generic at 0xfc5c0000 irq 104"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.path = "hw:2,2"
        api.alsa.pcm.card = "2"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "AUX0,AUX1"
        card.profile.device = "2"
        clock.name = "api.alsa.2"
        device.api = "alsa"
        device.class = "sound"
        device.id = "46"
        device.profile.description = "Pro 2"
        device.profile.name = "pro-output-2"
        device.profile.pro = "true"
        device.routes = "0"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "Family 17h/19h HD Audio Controller"
        node.name = "alsa_output.pci-0000_07_00.6.pro-output-2"
        node.nick = "ALC245 Alt Analog"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:2:hw:2,2:playback"
        priority.driver = "1212"
        priority.session = "1212"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "33"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "50"
        object.serial = "50"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "1024"
        api.alsa.period-num = "32"
        api.alsa.headroom = "0"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "2"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio2"
        device.bus = "pci"
        device.bus_path = "pci-0000:07:00.6"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_07_00.6"
        device.nick = "HD-Audio Generic"
        device.plugged.usec = "8600134"
        device.product.id = "0x15e3"
        device.product.name = "Family 17h/19h HD Audio Controller"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
        device.vendor.id = "0x1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.string = "2"
    Formats:
        pcm

Sink #226
    State: RUNNING
    Name: bluez_output.74_D7_13_E4_27_D8.1
    Description: realme Buds T300
    Driver: PipeWire
    Sample Specification: s16le 2ch 48000Hz
    Channel Map: front-left,front-right
    Owner Module: 4294967295
    Mute: no
    Volume: front-left: 36638 /  56% / -15.15 dB,   front-right: 36638 /  56% / -15.15 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: bluez_output.74_D7_13_E4_27_D8.1.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    Properties:
        api.bluez5.address = "74:D7:13:E4:27:D8"
        api.bluez5.codec = "aac"
        api.bluez5.profile = "a2dp-sink"
        api.bluez5.transport = ""
        card.profile.device = "1"
        device.id = "89"
        device.routes = "1"
        factory.name = "api.bluez5.a2dp.sink"
        device.description = "realme Buds T300"
        node.name = "bluez_output.74_D7_13_E4_27_D8.1"
        node.pause-on-idle = "false"
        priority.driver = "1010"
        priority.session = "1010"
        factory.id = "8"
        clock.quantum-limit = "8192"
        device.api = "bluez5"
        media.class = "Audio/Sink"
        media.name = "realme Buds T300"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "95"
        object.serial = "226"
        client.id = "33"
        api.bluez5.class = "0x240404"
        api.bluez5.connection = "disconnected"
        api.bluez5.device = ""
        api.bluez5.icon = "audio-headset"
        api.bluez5.id = "0"
        api.bluez5.path = "/org/bluez/hci0/dev_74_D7_13_E4_27_D8"
        bluez5.profile = "off"
        device.alias = "realme Buds T300"
        device.bus = "bluetooth"
        device.form_factor = "headset"
        device.icon_name = "audio-headset-bluetooth"
        device.name = "bluez_card.74_D7_13_E4_27_D8"
        device.string = "74:D7:13:E4:27:D8"
    Ports:
        headset-output: Headset (type: Headset, priority: 0, available)
    Active Port: headset-output
    Formats:
        pcm
nobgnome@nobara:~$ pactl list sources
Source #49
    State: SUSPENDED
    Name: alsa_output.pci-0000_07_00.6.pro-output-0.monitor
    Description: Monitor of Family 17h/19h HD Audio Controller Pro
    Driver: PipeWire
    Sample Specification: s32le 2ch 48000Hz
    Channel Map: aux0,aux1
    Owner Module: 4294967295
    Mute: no
    Volume: aux0: 65536 / 100% / 0.00 dB,   aux1: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: alsa_output.pci-0000_07_00.6.pro-output-0
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.card = "2"
        alsa.card_name = "HD-Audio Generic"
        alsa.class = "generic"
        alsa.device = "0"
        alsa.driver_name = "snd_hda_intel"
        alsa.id = "ALC245 Analog"
        alsa.long_card_name = "HD-Audio Generic at 0xfc5c0000 irq 104"
        alsa.name = "ALC245 Analog"
        alsa.resolution_bits = "32"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "HD-Audio Generic at 0xfc5c0000 irq 104"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.path = "hw:2,0"
        api.alsa.pcm.card = "2"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "AUX0,AUX1"
        card.profile.device = "1"
        clock.name = "api.alsa.2"
        device.api = "alsa"
        device.class = "monitor"
        device.id = "46"
        device.profile.description = "Pro"
        device.profile.name = "pro-output-0"
        device.profile.pro = "true"
        device.routes = "0"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "Family 17h/19h HD Audio Controller"
        node.name = "alsa_output.pci-0000_07_00.6.pro-output-0"
        node.nick = "ALC245 Analog"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:2:hw:2,0:playback"
        priority.driver = "1500"
        priority.session = "1500"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "33"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "49"
        object.serial = "49"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "2"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio2"
        device.bus = "pci"
        device.bus_path = "pci-0000:07:00.6"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_07_00.6"
        device.nick = "HD-Audio Generic"
        device.plugged.usec = "8600134"
        device.product.id = "0x15e3"
        device.product.name = "Family 17h/19h HD Audio Controller"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
        device.vendor.id = "0x1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.string = "2"
    Formats:
        pcm

Source #50
    State: RUNNING
    Name: alsa_output.pci-0000_07_00.6.pro-output-2.monitor
    Description: Monitor of Family 17h/19h HD Audio Controller Pro 2
    Driver: PipeWire
    Sample Specification: s32le 2ch 48000Hz
    Channel Map: aux0,aux1
    Owner Module: 4294967295
    Mute: no
    Volume: aux0: 65536 / 100% / 0.00 dB,   aux1: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: alsa_output.pci-0000_07_00.6.pro-output-2
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.card = "2"
        alsa.card_name = "HD-Audio Generic"
        alsa.class = "generic"
        alsa.device = "2"
        alsa.driver_name = "snd_hda_intel"
        alsa.id = "ALC245 Alt Analog"
        alsa.long_card_name = "HD-Audio Generic at 0xfc5c0000 irq 104"
        alsa.name = "ALC245 Alt Analog"
        alsa.resolution_bits = "32"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "HD-Audio Generic at 0xfc5c0000 irq 104"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.path = "hw:2,2"
        api.alsa.pcm.card = "2"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "AUX0,AUX1"
        card.profile.device = "2"
        clock.name = "api.alsa.2"
        device.api = "alsa"
        device.class = "monitor"
        device.id = "46"
        device.profile.description = "Pro 2"
        device.profile.name = "pro-output-2"
        device.profile.pro = "true"
        device.routes = "0"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "Family 17h/19h HD Audio Controller"
        node.name = "alsa_output.pci-0000_07_00.6.pro-output-2"
        node.nick = "ALC245 Alt Analog"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:2:hw:2,2:playback"
        priority.driver = "1212"
        priority.session = "1212"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "33"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "50"
        object.serial = "50"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "1024"
        api.alsa.period-num = "32"
        api.alsa.headroom = "0"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "2"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio2"
        device.bus = "pci"
        device.bus_path = "pci-0000:07:00.6"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_07_00.6"
        device.nick = "HD-Audio Generic"
        device.plugged.usec = "8600134"
        device.product.id = "0x15e3"
        device.product.name = "Family 17h/19h HD Audio Controller"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
        device.vendor.id = "0x1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.string = "2"
    Formats:
        pcm

Source #51
    State: RUNNING
    Name: alsa_input.pci-0000_07_00.6.pro-input-0
    Description: Family 17h/19h HD Audio Controller Pro
    Driver: PipeWire
    Sample Specification: s32le 2ch 48000Hz
    Channel Map: aux0,aux1
    Owner Module: 4294967295
    Mute: no
    Volume: aux0: 42919 /  65% / -11.03 dB,   aux1: 42919 /  65% / -11.03 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: n/a
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.card = "2"
        alsa.card_name = "HD-Audio Generic"
        alsa.class = "generic"
        alsa.device = "0"
        alsa.driver_name = "snd_hda_intel"
        alsa.id = "ALC245 Analog"
        alsa.long_card_name = "HD-Audio Generic at 0xfc5c0000 irq 104"
        alsa.name = "ALC245 Analog"
        alsa.resolution_bits = "32"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "HD-Audio Generic at 0xfc5c0000 irq 104"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.path = "hw:2,0"
        api.alsa.pcm.card = "2"
        api.alsa.pcm.stream = "capture"
        audio.channels = "2"
        audio.position = "AUX0,AUX1"
        card.profile.device = "3"
        clock.name = "api.alsa.2"
        device.api = "alsa"
        device.class = "sound"
        device.id = "46"
        device.profile.description = "Pro"
        device.profile.name = "pro-input-0"
        device.profile.pro = "true"
        device.routes = "0"
        factory.name = "api.alsa.pcm.source"
        media.class = "Audio/Source"
        device.description = "Family 17h/19h HD Audio Controller"
        node.name = "alsa_input.pci-0000_07_00.6.pro-input-0"
        node.nick = "ALC245 Analog"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:2:hw:2,0:capture"
        priority.driver = "2500"
        priority.session = "2500"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "33"
        node.driver = "true"
        factory.mode = "split"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "51"
        object.serial = "51"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "1024"
        api.alsa.period-num = "32"
        api.alsa.headroom = "32"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "2"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio2"
        device.bus = "pci"
        device.bus_path = "pci-0000:07:00.6"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_07_00.6"
        device.nick = "HD-Audio Generic"
        device.plugged.usec = "8600134"
        device.product.id = "0x15e3"
        device.product.name = "Family 17h/19h HD Audio Controller"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
        device.vendor.id = "0x1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.string = "2"
    Formats:
        pcm

Source #226
    State: RUNNING
    Name: bluez_output.74_D7_13_E4_27_D8.1.monitor
    Description: Monitor of realme Buds T300
    Driver: PipeWire
    Sample Specification: s16le 2ch 48000Hz
    Channel Map: front-left,front-right
    Owner Module: 4294967295
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: bluez_output.74_D7_13_E4_27_D8.1
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY 
    Properties:
        api.bluez5.address = "74:D7:13:E4:27:D8"
        api.bluez5.codec = "aac"
        api.bluez5.profile = "a2dp-sink"
        api.bluez5.transport = ""
        card.profile.device = "1"
        device.id = "89"
        device.routes = "1"
        factory.name = "api.bluez5.a2dp.sink"
        device.description = "realme Buds T300"
        node.name = "bluez_output.74_D7_13_E4_27_D8.1"
        node.pause-on-idle = "false"
        priority.driver = "1010"
        priority.session = "1010"
        factory.id = "8"
        clock.quantum-limit = "8192"
        device.api = "bluez5"
        media.class = "Audio/Sink"
        media.name = "realme Buds T300"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "95"
        object.serial = "226"
        client.id = "33"
        api.bluez5.class = "0x240404"
        api.bluez5.connection = "disconnected"
        api.bluez5.device = ""
        api.bluez5.icon = "audio-headset"
        api.bluez5.id = "0"
        api.bluez5.path = "/org/bluez/hci0/dev_74_D7_13_E4_27_D8"
        bluez5.profile = "off"
        device.alias = "realme Buds T300"
        device.bus = "bluetooth"
        device.form_factor = "headset"
        device.icon_name = "audio-headset-bluetooth"
        device.name = "bluez_card.74_D7_13_E4_27_D8"
        device.string = "74:D7:13:E4:27:D8"
        device.class = "monitor"
    Ports:
        headset-output: Headset (type: Headset, priority: 0, available)
    Active Port: headset-output
    Formats:
        pcm
nobgnome@nobara:~$ pactl list cards
Card #44
    Name: alsa_card.pci-0000_01_00.1
    Driver: alsa
    Owner Module: n/a
    Properties:
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "0"
        api.alsa.card.longname = "HDA NVidia at 0xfc080000 irq 102"
        api.alsa.card.name = "HDA NVidia"
        api.alsa.path = "hw:0"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio0"
        device.api = "alsa"
        device.bus = "pci"
        device.bus_path = "pci-0000:01:00.1"
        device.description = "HDA NVidia"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_01_00.1"
        device.nick = "HDA NVidia"
        device.plugged.usec = "8545212"
        device.product.id = "0x2291"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0"
        device.vendor.id = "0x10de"
        device.vendor.name = "NVIDIA Corporation"
        media.class = "Audio/Device"
        factory.id = "14"
        client.id = "33"
        object.id = "44"
        object.serial = "44"
        object.path = "alsa:pcm:0"
        alsa.card = "0"
        alsa.card_name = "HDA NVidia"
        alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 102"
        alsa.driver_name = "snd_hda_intel"
        device.string = "0"
    Profiles:
        off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        HiFi: Play HiFi quality Music (sinks: 4, sources: 0, priority: 8000, available: no)
        pro-audio: Pro Audio (sinks: 4, sources: 0, priority: 1, available: yes)
    Active Profile: off
    Ports:
        [Out] HDMI4: HDMI / DisplayPort 4 Output (type: HDMI, priority: 1400, latency offset: 0 usec, availability group: HDMI/DP,pcm=9, not available)
            Properties:
                port.type = "hdmi"
                port.availability-group = "HDMI/DP,pcm=9"
                device.icon_name = "video-display"
                card.profile.port = "0"
            Part of profile(s): HiFi
        [Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 1300, latency offset: 0 usec, availability group: HDMI/DP,pcm=8, not available)
            Properties:
                port.type = "hdmi"
                port.availability-group = "HDMI/DP,pcm=8"
                device.icon_name = "video-display"
                card.profile.port = "1"
            Part of profile(s): HiFi
        [Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 1200, latency offset: 0 usec, availability group: HDMI/DP,pcm=7, not available)
            Properties:
                port.type = "hdmi"
                port.availability-group = "HDMI/DP,pcm=7"
                device.icon_name = "video-display"
                card.profile.port = "2"
            Part of profile(s): HiFi
        [Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
            Properties:
                port.type = "hdmi"
                port.availability-group = "HDMI/DP,pcm=3"
                device.icon_name = "video-display"
                card.profile.port = "3"
            Part of profile(s): HiFi

Card #45
    Name: alsa_card.pci-0000_07_00.1
    Driver: alsa
    Owner Module: n/a
    Properties:
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "1"
        api.alsa.card.longname = "HD-Audio Generic at 0xfc5c8000 irq 103"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.path = "hw:1"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio1"
        device.api = "alsa"
        device.bus = "pci"
        device.bus_path = "pci-0000:07:00.1"
        device.description = "Renoir Radeon High Definition Audio Controller"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_07_00.1"
        device.nick = "HD-Audio Generic"
        device.plugged.usec = "8545676"
        device.product.id = "0x1637"
        device.product.name = "Renoir Radeon High Definition Audio Controller"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.1/sound/card1"
        device.vendor.id = "0x1002"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
        media.class = "Audio/Device"
        factory.id = "14"
        client.id = "33"
        object.id = "45"
        object.serial = "45"
        object.path = "alsa:pcm:1"
        alsa.card = "1"
        alsa.card_name = "HD-Audio Generic"
        alsa.long_card_name = "HD-Audio Generic at 0xfc5c8000 irq 103"
        alsa.driver_name = "snd_hda_intel"
        device.string = "1"
    Profiles:
        off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        HiFi: Play HiFi quality Music (sinks: 1, sources: 0, priority: 8000, available: no)
        pro-audio: Pro Audio (sinks: 1, sources: 0, priority: 1, available: yes)
    Active Profile: off
    Ports:
        [Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
            Properties:
                port.type = "hdmi"
                port.availability-group = "HDMI/DP,pcm=3"
                device.icon_name = "video-display"
                card.profile.port = "0"
            Part of profile(s): HiFi

Card #46
    Name: alsa_card.pci-0000_07_00.6
    Driver: alsa
    Owner Module: n/a
    Properties:
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "2"
        api.alsa.card.longname = "HD-Audio Generic at 0xfc5c0000 irq 104"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.path = "hw:2"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio2"
        device.api = "alsa"
        device.bus = "pci"
        device.bus_path = "pci-0000:07:00.6"
        device.description = "Family 17h/19h HD Audio Controller"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_07_00.6"
        device.nick = "HD-Audio Generic"
        device.plugged.usec = "8600134"
        device.product.id = "0x15e3"
        device.product.name = "Family 17h/19h HD Audio Controller"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
        device.vendor.id = "0x1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        media.class = "Audio/Device"
        factory.id = "14"
        client.id = "33"
        object.id = "46"
        object.serial = "46"
        object.path = "alsa:pcm:2"
        alsa.card = "2"
        alsa.card_name = "HD-Audio Generic"
        alsa.long_card_name = "HD-Audio Generic at 0xfc5c0000 irq 104"
        alsa.driver_name = "snd_hda_intel"
        device.string = "2"
    Profiles:
        off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        HiFi: Play HiFi quality Music (sinks: 1, sources: 0, priority: 8000, available: no)
        pro-audio: Pro Audio (sinks: 2, sources: 1, priority: 1, available: yes)
    Active Profile: pro-audio
    Ports:
        [Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
            Properties:
                port.type = "hdmi"
                port.availability-group = "HDMI/DP,pcm=3"
                device.icon_name = "video-display"
                card.profile.port = "0"
            Part of profile(s): HiFi

Card #225
    Name: bluez_card.74_D7_13_E4_27_D8
    Driver: module-bluez5-device.c
    Owner Module: n/a
    Properties:
        api.bluez5.address = "74:D7:13:E4:27:D8"
        api.bluez5.class = "0x240404"
        api.bluez5.connection = "disconnected"
        api.bluez5.device = ""
        api.bluez5.icon = "audio-headset"
        api.bluez5.id = "0"
        api.bluez5.path = "/org/bluez/hci0/dev_74_D7_13_E4_27_D8"
        bluez5.profile = "off"
        device.alias = "realme Buds T300"
        device.api = "bluez5"
        device.bus = "bluetooth"
        device.description = "realme Buds T300"
        device.form_factor = "headset"
        device.icon_name = "audio-headset-bluetooth"
        device.name = "bluez_card.74_D7_13_E4_27_D8"
        device.string = "74:D7:13:E4:27:D8"
        media.class = "Audio/Device"
        factory.id = "14"
        client.id = "33"
        object.id = "89"
        object.serial = "225"
    Profiles:
        off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        headset-head-unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 1, 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: High Fidelity Playback (A2DP Sink, codec AAC) (sinks: 1, sources: 0, priority: 19, available: yes)
        headset-head-unit-cvsd: Headset Head Unit (HSP/HFP, codec CVSD) (sinks: 1, sources: 1, priority: 2, available: yes)
        headset-head-unit-msbc: Headset Head Unit (HSP/HFP, codec mSBC) (sinks: 1, sources: 1, priority: 3, available: yes)
    Active Profile: a2dp-sink
    Ports:
        headset-output: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
            Properties:
                port.type = "headset"
            Part of profile(s): a2dp-sink-sbc, a2dp-sink-sbc_xq, a2dp-sink
        headset-hf-input: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)
            Properties:
                port.type = "headset"
            Part of profile(s): headset-head-unit, headset-head-unit-cvsd, headset-head-unit-msbc
        headset-hf-output: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)
            Properties:
                port.type = "headset"
            Part of profile(s): headset-head-unit, headset-head-unit-cvsd, headset-head-unit-msbc