!IPLbfMjcSoMglwmZvx:matrix.org

PulseAudio

82 Members
The Linux audio server, learn more at https://pulseaudio.org11 Servers

Load older messages


SenderMessageTime
16 Apr 2024
@_oftc_jclsn:matrix.orgjclsnWould be nice to combine this with my microphone now13:11:21
@_oftc_gchini:matrix.orggchiniOk, you can use module-loopback from your mic to the null sink13:12:03
@_oftc_jclsn:matrix.orgjclsnAh interesting13:12:18
@_oftc_gchini:matrix.orggchini mic -> loopback -> null-sink and mp3 -> null-sink 13:12:46
@_oftc_gchini:matrix.orggchinithen record from the monitor13:12:56
@_oftc_gchini:matrix.orggchinimodule-loopback has 200ms latency by default, you may want to reduce that.13:15:25
@_oftc_jclsn:matrix.orgjclsnYeah works, but the null sink monitor is not selectable from Teams13:19:19
@_oftc_jclsn:matrix.orgjclsnI can only see it in pavucontrol13:19:30
@_oftc_jclsn:matrix.orgjclsnor with pactl13:19:33
@_oftc_jclsn:matrix.orgjclsnGuess that is a Plasma issue https://bugs.kde.org/show_bug.cgi?id=45528313:21:27
@_oftc_gchini:matrix.orggchiniuse module-remap-source to change the name of the source (pactl load-module module-remap-source source_name=some_name master=your_monitor_source)13:23:31
@_oftc_gchini:matrix.orggchinithen you should see the remapped source13:24:18
@_oftc_andr01d-:matrix.organdr01d- joined the room.20:29:29
17 Apr 2024
@david_a4:matrix.orgDavid Bouthillier joined the room.17:34:53
@david_a4:matrix.orgDavid Bouthillier

Hi all. I'm trying to get HFP audio working properly. We're using Bluez and PulseAudio 16. I loaded two loopback modules to route the call audio and the mic, but I can never hear the audio coming from the other side of the call.

Here's my exact steps:

  • connect my phone to my computer with bluetoothctl
  • initiated a call
  • loaded two loopback modules to route the audio

Results:

  • on the side that initiated the call, I cannot hear the other person through my speakers
  • on the side that received the call, they can hear me, but their mic audio is repeated back to them with an aprox 1 second delay

Here's how I configured the loopbacks:
pactl load-module module-loopback source=bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway sink=alsa_output.platform-sound.stereo-fallback
pactl load-module module-loopback source=alsa_input.platform-sound.stereo-fallback sink=bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway

Here's my system information:
root@verdin-imx8mp-15007248:~# pactl list sources short
0 alsa_output.platform-sound.stereo-fallback.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 alsa_input.platform-sound.stereo-fallback module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
3 bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway.monitor module-bluez5-device.c s16le 1ch 16000Hz IDLE
4 bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway module-bluez5-device.c s16le 1ch 16000Hz RUNNING
root@verdin-imx8mp-15007248:~# pactl list modules short
0 module-device-restore
1 module-stream-restore
2 module-card-restore
3 module-udev-detect
4 module-alsa-card device_id="0" name="platform-sound" card_name="alsa_card.platform-sound" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
5 module-bluetooth-policy.so
6 module-bluez5-discover.so headset=ofono enable_msbc=1
7 module-native-protocol-unix auth-anonymous=true
8 module-default-device-restore
9 module-always-sink
10 module-suspend-on-idle
11 module-position-event-sounds
12 module-switch-on-connect
13 module-switch-on-port-available
14 module-dbus-protocol
15 module-bluez5-device path=/org/bluez/hci0/dev_A0_56_F3_97_94_4C autodetect_mtu=0 output_rate_refresh_interval_ms=500 avrcp_absolute_volume=1
17 module-loopback sink="bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway" sink_dont_move="true" source_output_properties="media.role=phone"
18 module-loopback source="bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway" source_dont_move="true" sink_input_properties="media.role=phone"
root@verdin-imx8mp-15007248:~# bluealsa --version
v4.1.1-86-gb7bb861
root@verdin-imx8mp-15007248:~# pactl list cards short
0 alsa_card.platform-sound module-alsa-card.c
1 bluez_card.A0_56_F3_97_94_4C module-bluez5-device.c

17:42:07
@david_a4:matrix.orgDavid BouthillierAny thoughts on why I can't hear the audio on my end and why it's repeated back on the receiving end?17:43:24
@david_a4:matrix.orgDavid Bouthillier *

Hi all. I'm trying to get HFP audio working properly. We're using Bluez and PulseAudio 16. I loaded two loopback modules to route the call audio and the mic, but I can never hear the audio coming from the other side of the call.

Here's my exact steps:

  • connect my phone to my computer with bluetoothctl
  • initiated a call
  • loaded two loopback modules to route the audio

Results:

  • on the side that initiated the call, I cannot hear the other person through my speakers
  • on the side that received the call, they can hear me, but their mic audio is repeated back to them with an aprox 1 second delay

Here's how I configured the loopbacks:
pactl load-module module-loopback source=bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway sink=alsa_output.platform-sound.stereo-fallback
pactl load-module module-loopback source=alsa_input.platform-sound.stereo-fallback sink=bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway

Here's my system information:
root@verdin-imx8mp-15007248:~# pactl list sources short
0 alsa_output.platform-sound.stereo-fallback.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 alsa_input.platform-sound.stereo-fallback module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
3 bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway.monitor module-bluez5-device.c s16le 1ch 16000Hz IDLE
4 bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway module-bluez5-device.c s16le 1ch 16000Hz RUNNING
root@verdin-imx8mp-15007248:~# pactl list modules short
0 module-device-restore
1 module-stream-restore
2 module-card-restore
3 module-udev-detect
4 module-alsa-card device_id="0" name="platform-sound" card_name="alsa_card.platform-sound" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
5 module-bluetooth-policy.so
6 module-bluez5-discover.so headset=ofono enable_msbc=1
7 module-native-protocol-unix auth-anonymous=true
8 module-default-device-restore
9 module-always-sink
10 module-suspend-on-idle
11 module-position-event-sounds
12 module-switch-on-connect
13 module-switch-on-port-available
14 module-dbus-protocol
15 module-bluez5-device path=/org/bluez/hci0/dev_A0_56_F3_97_94_4C autodetect_mtu=0 output_rate_refresh_interval_ms=500 avrcp_absolute_volume=1
17 module-loopback sink="bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway" sink_dont_move="true" source_output_properties="media.role=phone"
18 module-loopback source="bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway" source_dont_move="true" sink_input_properties="media.role=phone"
root@verdin-imx8mp-15007248:~# pactl list cards short
0 alsa_card.platform-sound module-alsa-card.c
1 bluez_card.A0_56_F3_97_94_4C module-bluez5-device.c

17:46:11
@_oftc_i-garrison:matrix.orgi-garrisoniirc I did similar stuff to test audio gateway with my phone and it worked, do not remember any details though18:23:33
@_oftc_i-garrison:matrix.orgi-garrison David Bouthillier: maybe see full 'pactl info' and check which sink/source connects where 18:24:18
@david_a4:matrix.orgDavid Bouthillier
In reply to @_oftc_i-garrison:matrix.org
David Bouthillier: maybe see full 'pactl info' and check which sink/source connects where

Here's pactl info during the phone call.

root@verdin-imx8mp-15007248:~# pactl info
Server String: /var/run/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 4
Tile Size: 65472
User Name: pulse
Host Name: verdin-imx8mp-15007248
Server Name: pulseaudio
Server Version: 16.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway
Default Source: bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway
Cookie: 6835:45b0

19:09:00
@_oftc_i-garrison:matrix.orgi-garrison David Bouthillier: arghh I meant 'pacti list' which would show every source/sink/inputs 19:10:56
@_oftc_i-garrison:matrix.orgi-garrison 'pactl list' that is 19:13:35
@david_a4:matrix.orgDavid Bouthillier
In reply to @_oftc_i-garrison:matrix.org
David Bouthillier: arghh I meant 'pacti list' which would show every source/sink/inputs
root@verdin-imx8mp-15007248:~# pactl list short
0 module-device-restore
1 module-stream-restore
2 module-card-restore
3 module-udev-detect
4 module-alsa-card device_id="0" name="platform-sound" card_name="alsa_card.platform-sound" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
5 module-bluetooth-policy.so
6 module-bluez5-discover.so headset=ofono enable_msbc=1
7 module-native-protocol-unix auth-anonymous=true
8 module-default-device-restore
9 module-always-sink
10 module-suspend-on-idle
11 module-position-event-sounds
12 module-switch-on-connect
13 module-switch-on-port-available
14 module-dbus-protocol
15 module-bluez5-device path=/org/bluez/hci0/dev_A0_56_F3_97_94_4C autodetect_mtu=0 output_rate_refresh_interval_ms=500 avrcp_absolute_volume=1
23 module-loopback sink="bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway" sink_dont_move="true" source_output_properties="media.role=phone"
24 module-loopback source="bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway" source_dont_move="true" sink_input_properties="media.role=phone"
25 module-loopback source=bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway sink=alsa_output.platform-sound.stereo-fallback
26 module-loopback source=alsa_input.platform-sound.stereo-fallback sink=bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway
0 alsa_output.platform-sound.stereo-fallback module-alsa-card.c s16le 2ch 44100Hz RUNNING
2 bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway module-bluez5-device.c s16le 1ch 16000Hz RUNNING
0 alsa_output.platform-sound.stereo-fallback.monitor module-alsa-card.c s16le 2ch 44100Hz IDLE
1 alsa_input.platform-sound.stereo-fallback module-alsa-card.c s16le 2ch 44100Hz RUNNING
5 bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway.monitor module-bluez5-device.c s16le 1ch 16000Hz IDLE
6 bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway module-bluez5-device.c s16le 1ch 16000Hz RUNNING
5 2 - module-loopback.c s16le 1ch 16000Hz
6 2 - module-loopback.c s16le 1ch 16000Hz
7 0 - module-loopback.c s16le 1ch 16110Hz
8 2 - module-loopback.c s16le 2ch 43817Hz
5 6 - module-loopback.c s16le 1ch 16000Hz
6 6 - module-loopback.c s16le 1ch 16000Hz
7 6 - module-loopback.c s16le 1ch 16000Hz
8 1 - module-loopback.c s16le 2ch 44100Hz
11 protocol-native.c pactl
0 alsa_card.platform-sound module-alsa-card.c
1 bluez_card.A0_56_F3_97_94_4C module-bluez5-device.c
19:13:56
@_oftc_i-garrison:matrix.orgi-garrisonnot short, that does not show what connects where19:14:56
@david_a4:matrix.orgDavid BouthillierModule 25 & 26 are the ones I loaded. I'm not sure where where 23 & 24 come from.19:14:57
@_oftc_i-garrison:matrix.orgi-garrison 23 and 24 are created automagically by module-bluetooth-policy for audio gateway when it's source and sink appear; those should likely do what you want to do with 25 and 26 19:18:31
@_oftc_i-garrison:matrix.orgi-garrison David Bouthillier: so maybe start again, restart pulseaudio, do not load modules by hand and reconnect phone to see if that works as expected 19:19:35
@david_a4:matrix.orgDavid Bouthillier

i-garrison: Here's the full list
root@verdin-imx8mp-15007248:~# pactl list
Module #0
Name: module-device-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "16.0"

Module #1
Name: module-stream-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = "16.0"

Module #2
Name: module-card-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "16.0"

Module #3
Name: module-udev-detect
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "16.0"

Module #4
Name: module-alsa-card
Argument: device_id="0" name="platform-sound" card_name="alsa_card.platform-sound" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
Usage counter: 2
Properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "16.0"

Module #5
Name: module-bluetooth-policy.so
Argument:
Usage counter: n/a
Properties:
module.author = "Frédéric Dalleau, Pali Rohár"
module.description = "Policy module to make using bluetooth devices out-of-the-box easier"
module.version = "16.0"

Module #6
Name: module-bluez5-discover.so
Argument: headset=ofono enable_msbc=1
Usage counter: n/a
Properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
module.version = "16.0"

Module #7
Name: module-native-protocol-unix
Argument: auth-anonymous=true
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "16.0"

Module #8
Name: module-default-device-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "16.0"

Module #9
Name: module-always-sink
Argument:
Usage counter: n/a
Properties:
module.author = "Colin Guthrie"
module.description = "Always keeps at least one sink loaded even if it's a null one"
module.version = "16.0"

Module #10
Name: module-suspend-on-idle
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = "16.0"

Module #11
Name: module-position-event-sounds
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
module.version = "16.0"

Module #12
Name: module-switch-on-connect
Argument:
Usage counter: n/a
Properties:
module.author = "Michael Terry"
module.description = "When a sink/source is added, switch to it or conditionally switch to it"
module.version = "16.0"

Module #13
Name: module-switch-on-port-available
Argument:
Usage counter: n/a
Properties:
module.author = "David Henningsson"
module.description = "Switches ports and profiles when devices are plugged/unplugged"
module.version = "16.0"

Module #14
Name: module-dbus-protocol
Argument:
Usage counter: n/a
Properties:
module.author = "Tanu Kaskinen"
module.description = "D-Bus interface"
module.version = "16.0"

Module #15
Name: module-bluez5-device
Argument: path=/org/bluez/hci0/dev_A0_56_F3_97_94_4C autodetect_mtu=0 output_rate_refresh_interval_ms=500 avrcp_absolute_volume=1
Usage counter: 6
Properties:
module.author = "João Paulo Rechi Vita"
module.description = "BlueZ 5 Bluetooth audio sink and source"
module.version = "16.0"

Module #28
Name: module-loopback
Argument: sink="bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway" sink_dont_move="true" source_output_properties="media.role=phone"
Usage counter: n/a
Properties:
module.author = "Pierre-Louis Bossart, Georg Chini"
module.description = "Loopback from source to sink"
module.version = "16.0"

Module #29
Name: module-loopback
Argument: source="bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway" source_dont_move="true" sink_input_properties="media.role=phone"
Usage counter: n/a
Properties:
module.author = "Pierre-Louis Bossart, Georg Chini"
module.description = "Loopback from source to sink"
module.version = "16.0"

Module #30
Name: module-loopback
Argument: source=bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway sink=alsa_output.platform-sound.stereo-fallback
Usage counter: n/a
Properties:
module.author = "Pierre-Louis Bossart, Georg Chini"
module.description = "Loopback from source to sink"
module.version = "16.0"

Module #31
Name: module-loopback
Argument: source=alsa_input.platform-sound.stereo-fallback sink=bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway
Usage counter: n/a
Properties:
module.author = "Pierre-Louis Bossart, Georg Chini"
module.description = "Loopback from source to sink"
module.version = "16.0"

Sink #0
State: RUNNING
Name: alsa_output.platform-sound.stereo-fallback
Description: Built-in Audio Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 4
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 52057 / 79% / -6.00 dB
Monitor Source: alsa_output.platform-sound.stereo-fallback.monitor
Latency: 69944 usec, configured 74943 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "30c10000.sai-nau8822-hifi nau8822-hifi-0"
alsa.id = "30c10000.sai-nau8822-hifi nau8822-hifi-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "imx8mp-nau8822"
alsa.long_card_name = "imx8mp-nau8822"
device.bus_path = "platform-sound"
sysfs.path = "/devices/platform/sound/sound/card0"
device.form_factor = "internal"
device.string = "hw:0"
device.buffering.buffer_size = "13220"
device.buffering.fragment_size = "2644"
device.access_mode = "mmap"
device.profile.name = "stereo-fallback"
device.profile.description = "Stereo"
device.description = "Built-in Audio Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability unknown)
Active Port: analog-output-headphones
Formats:
pcm

Sink #3
State: RUNNING
Name: bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway
Description: David iPhone
Driver: module-bluez5-device.c
Sample Specification: s16le 1ch 16000Hz
Channel Map: mono
Owner Module: 15
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway.monitor
Latency: 57053 usec, configured 32500 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
bluetooth.protocol = "handsfree_audio_gateway"
bluetooth.codec = "mSBC"
device.description = "David iPhone"
device.string = "A0:56:F3:97:94:4C"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "phone"
bluez.path = "/org/bluez/hci0/dev_A0_56_F3_97_94_4C"
bluez.class = "0x7a020c"
bluez.alias = "David iPhone"
device.icon_name = "audio-card-bluetooth"
Ports:
phone-output: Phone (type: Phone, priority: 0, available)
Active Port: phone-output
Formats:
pcm

Source #0
State: IDLE
Name: alsa_output.platform-sound.stereo-fallback.monitor
Description: Monitor of Built-in Audio Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 4
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: alsa_output.platform-sound.stereo-fallback
Latency: 0 usec, configured 74943 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of Built-in Audio Stereo"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "imx8mp-nau8822"
alsa.long_card_name = "imx8mp-nau8822"
device.bus_path = "platform-sound"
sysfs.path = "/devices/platform/sound/sound/card0"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
Formats:
pcm

Source #1
State: RUNNING
Name: alsa_input.platform-sound.stereo-fallback
Description: Built-in Audio Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 4
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: n/a
Latency: 360 usec, configured 74943 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "30c10000.sai-nau8822-hifi nau8822-hifi-0"
alsa.id = "30c10000.sai-nau8822-hifi nau8822-hifi-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "imx8mp-nau8822"
alsa.long_card_name = "imx8mp-nau8822"
device.bus_path = "platform-sound"
sysfs.path = "/devices/platform/sound/sound/card0"
device.form_factor = "internal"
device.string = "hw:0"
device.buffering.buffer_size = "13220"
device.buffering.fragment_size = "2644"
device.access_mode = "mmap"
device.profile.name = "stereo-fallback"
device.profile.description = "Stereo"
device.description = "Built-in Audio Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
Ports:
analog-input: Analog Input (type: Analog, priority: 10000, availability unknown)
Active Port: analog-input
Formats:
pcm

Source #8
State: IDLE
Name: bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway.monitor
Description: Monitor of David iPhone
Driver: module-bluez5-device.c
Sample Specification: s16le 1ch 16000Hz
Channel Map: mono
Owner Module: 15
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: bluez_sink.A0_56_F3_97_94_4C.handsfree_audio_gateway
Latency: 0 usec, configured 32500 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of David iPhone"
device.class = "monitor"
device.string = "A0:56:F3:97:94:4C"
device.api = "bluez"
device.bus = "bluetooth"
device.form_factor = "phone"
bluez.path = "/org/bluez/hci0/dev_A0_56_F3_97_94_4C"
bluez.class = "0x7a020c"
bluez.alias = "David iPhone"
device.icon_name = "audio-card-bluetooth"
Formats:
pcm

Source #9
State: RUNNING
Name: bluez_source.A0_56_F3_97_94_4C.handsfree_audio_gateway
Description: David iPhone
Driver: module-bluez5-device.c
Sample Specification: s16le 1ch 16000Hz
Channel Map: mono
Owner Module: 15
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: n/a
Latency: 53560 usec, configured 47500 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
bluetooth.protocol = "handsfree_audio_gateway"
bluetooth.codec = "mSBC"
device.description = "David iPhone"
device.string = "A0:56:F3:97:94:4C"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "phone"
bluez.path = "/org/bluez/hci0/dev_A0_56_F3_97_94_4C"
bluez.class = "0x7a020c"
bluez.alias = "David iPhone"
device.icon_name = "audio-card-bluetooth"
Ports:
phone-input: Phone (type: Phone, priority: 0, available)
Active Port: phone-input
Formats:
pcm

Sink Input #10
Driver: module-loopback.c
Owner Module: 28
Client: n/a
Sink: 3
Sample Specification: s16le 1ch 16000Hz
Channel Map: mono
Format: pcm, format.sample_format = ""s16le"" format.rate = "16000" format.channels = "1" format.channel_map = ""mono""
Corked: no
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 90000 usec
Sink Latency: 56219 usec
Resample method: speex-float-1
Properties:
media.role = "abstract"
module-stream-restore.id = "sink-input-by-media-role:abstract"
media.name = "Loopback of David iPhone"
device.icon_name = "audio-card-bluetooth"

Sink Input #11
Driver: module-loopback.c
Owner Module: 29
Client: n/a
Sink: 3
Sample Specification: s16le 1ch 16000Hz
Channel Map: mono
Format: pcm, format.sample_format = ""s16le"" format.rate = "16000" format.channels = "1" format.channel_map = ""mono""
Corked: no
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 89995 usec
Sink Latency: 56167 usec
Resample method: speex-float-1
Properties:
media.role = "phone"
module-stream-restore.id = "sink-input-by-media-role:phone"
media.name = "Loopback from David iPhone"
media.icon_name = "audio-card-bluetooth"

Sink Input #12
Driver: module-loopback.c
Owner Module: 30
Client: n/a
Sink: 0
Sample Specification: s16le 1ch 16056Hz
Channel Map: mono
Format: pcm, format.sample_format = ""s16le"" format.rate = "16000" format.channels = "1" format.channel_map = ""mono""
Corked: no
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 78506 usec
Sink Latency: 68847 usec
Resample method: speex-float-1
Properties:
media.role = "abstract"
module-stream-restore.id = "sink-input-by-media-role:abstract"
media.name = "Loopback from David iPhone"
media.icon_name = "audio-card-bluetooth"

Sink Input #13
Driver: module-loopback.c
Owner Module: 31
Client: n/a
Sink: 3
Sample Specification: s16le 2ch 43950Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = ""s16le"" format.rate = "44100" 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: 140279 usec
Sink Latency: 56044 usec
Resample method: speex-float-1
Properties:
media.role = "abstract"
module-stream-restore.id = "sink-input-by-media-role:abstract"
media.name = "Loopback from Built-in Audio Stereo"
media.icon_name = "audio-card"

Source Output #10
Driver: module-loopback.c
Owner Module: 28
Client: n/a
Source: 9
Sample Specification: s16le 1ch 16000Hz
Channel Map: mono
Format: pcm, format.sample_format = ""s16le"" format.rate = "16000" format.channels = "1" format.channel_map = ""mono""
Corked: no
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 0 usec
Source Latency: 46681 usec
Resample method: n/a
Properties:
media.role = "phone"
module-stream-restore.id = "source-output-by-media-role:phone"
media.name = "Loopback to David iPhone"
media.icon_name = "audio-card-bluetooth"

Source Output #11
Driver: module-loopback.c
Owner Module: 29
Client: n/a
Source: 9
Sample Specification: s16le 1ch 16000Hz
Channel Map: mono
Format: pcm, format.sample_format = ""s16le"" format.rate = "16000" format.channels = "1" format.channel_map = ""mono""
Corked: no
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 0 usec
Source Latency: 46937 usec
Resample method: n/a
Properties:
media.role = "abstract"
module-stream-restore.id = "source-output-by-media-role:abstract"
media.name = "Loopback to David iPhone"
media.icon_name = "audio-card-bluetooth"

Source Output #12
Driver: module-loopback.c
Owner Module: 30
Client: n/a
Source: 9
Sample Specification: s16le 1ch 16000Hz
Channel Map: mono
Format: pcm, format.sample_format = ""s16le"" format.rate = "16000" format.channels = "1" format.channel_map = ""mono""
Corked: no
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 0 usec
Source Latency: 46983 usec
Resample method: n/a
Properties:
media.role = "abstract"
module-stream-restore.id = "source-output-by-media-role:abstract"
media.name = "Loopback to Built-in Audio Stereo"
media.icon_name = "audio-card"

Source Output #13
Driver: module-loopback.c
Owner Module: 31
Client: n/a
Source: 1
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = ""s16le"" format.rate = "44100" 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
Source Latency: 1603 usec
Resample method: n/a
Properties:
media.role = "abstract"
module-stream-restore.id = "source-output-by-media-role:abstract"
media.name = "Loopback to David iPhone"
media.icon_name = "audio-card-bluetooth"

Client #17
Driver: protocol-native.c
Owner Module: 7
Properties:
application.name = "pactl"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "35"
application.process.id = "873"
application.process.user = "root"
application.process.host = "verdin-imx8mp-15007248"
application.process.binary = "pactl"
application.language = "C"
window.x11.display = ":0.0"
application.process.machine_id = "1cd49974904448a5867fba92401690ad"

Card #0
Name: alsa_card.platform-sound
Driver: module-alsa-card.c
Owner Module: 4
Properties:
alsa.card = "0"
alsa.card_name = "imx8mp-nau8822"
alsa.long_card_name = "imx8mp-nau8822"
device.bus_path = "platform-sound"
sysfs.path = "/devices/platform/sound/sound/card0"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
Profiles:
input:stereo-fallback: Stereo Input (sinks: 0, sources: 1, priority: 51, available: yes)
output:stereo-fallback: Stereo Output (sinks: 1, sources: 0, priority: 5100, available: yes)
output:stereo-fallback+input:stereo-fallback: Stereo Output + Stereo Input (sinks: 1, sources: 1, priority: 5151, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:stereo-fallback+input:stereo-fallback
Ports:
analog-input: Analog Input (type: Analog, priority: 10000, latency offset: 0 usec, availability unknown)
Part of profile(s): input:stereo-fallback, output:stereo-fallback+input:stereo-fallback
analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
Properties:
device.icon_name = "audio-speakers"
Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability unknown)
Properties:
device.icon_name = "audio-headphones"
Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback

Card #1
Name: bluez_card.A0_56_F3_97_94_4C
Driver: module-bluez5-device.c
Owner Module: 15
Properties:
device.description = "David iPhone"
device.string = "A0:56:F3:97:94:4C"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "phone"
bluez.path = "/org/bluez/hci0/dev_A0_56_F3_97_94_4C"
bluez.class = "0x7a020c"
bluez.alias = "David iPhone"
device.icon_name = "audio-card-bluetooth"
bluetooth.codec = "mSBC"
Profiles:
a2dp_source: High Fidelity Capture (A2DP Source) (sinks: 0, sources: 1, priority: 20, available: yes)
handsfree_audio_gateway: Handsfree Audio Gateway (HFP) (sinks: 1, sources: 1, priority: 10, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: handsfree_audio_gateway
Ports:
phone-output: Phone (type: Phone, priority: 0, latency offset: 0 usec, available)
Part of profile(s): handsfree_audio_gateway
phone-input: Phone (type: Phone, priority: 0, latency offset: 0 usec, available)
Part of profile(s): a2dp_source, handsfree_audio_gateway

19:20:43
@david_a4:matrix.orgDavid Bouthillier
In reply to @_oftc_i-garrison:matrix.org
David Bouthillier: so maybe start again, restart pulseaudio, do not load modules by hand and reconnect phone to see if that works as expected
Ok, I'll give that a try.
19:21:02
@_oftc_i-garrison:matrix.orgi-garrison David Bouthillier: your problem with module-bluetooth-policy could be due to your default sink and source set to phone; try setting default source to your desktop mic and default sink to your desktop audio 19:31:47

Show newer messages


Back to Room ListRoom Version: 6