Hi Georg,
Thanks for your reply.
I tried to do what you suggested:
1) I loaded module-null-sink
2) I loaded module-null-source
3) Both of them are defined as default.
4) I try record by ‘parecord -rv --device=null.monitor /pulse/rec’
After answering the call, I get the following assert:
( 121.424| 0.012) E: [null-source][pulsecore/memblockq.c:286
pa_memblockq_push()] Assertion 'uchunk->index + uchunk->length <=
pa_memblock_get_length(uchunk->memblock)' failed at pulsecore/memblockq.c:286,
function pa_memblockq_push(). Aborting.
Larger log and is attached.
‘pacmd list’ before answering is also attached. – seems good to me.
Do you have any hint about what could be the cause?
Thanks, Eytan.
From: pulseaudio-discuss
[mailto:[email protected]] On Behalf Of Georg
Chini
Sent: Tuesday, August 25, 2015 10:57 PM
To: General PulseAudio Discussion
Subject: Re: [pulseaudio-discuss] HFP bluetooth profile isn't working
On 25.08.2015 13:58, Eytan Naim wrote:
Hi,
I’m trying to enable HFP on pulseaudio 6.0 using oFono and bluez 5 on a new
embedded platform which doesn’t support alsa yet.
In order to confirm that audio is ‘played’ I record it using parecord tool. –
This method worked just fine when enabled a2dp a short time ago.
After executing oFono & pulseaudio, a call is answered on the remote device- It
is seemed that the relevant profile is chosen on pulseaudio, and parecord fails
to record.
What is the source you are recording from?
When executing ‘pacmd stat’ it seems that
Memory blocks allocated during the whole lifetime: 192, size: 699.9 KiB.
Is constant while pulseaudio prints to terminal the following message along the
call with relatively fixed intervals:
( 482.106| 0.013) D: [pulseaudio][modules/module-loopback.c:201
adjust_rates()] Should buffer 96 bytes, buffered at minimum 128 bytes
( 482.118| 0.012) D: [pulseaudio][modules/module-loopback.c:226
adjust_rates()] [bluez_sink.98_D6_F7_34_98_E8] Updated sampling rate to 8000 Hz.
( 482.132| 0.013) D: [pulseaudio][modules/module-loopback.c:197
adjust_rates()] Loopback overall latency is 610.13 ms + 0.00 ms + 25.00 ms =
635.13 ms
( 482.146| 0.014) D: [pulseaudio][modules/module-loopback.c:201
adjust_rates()] Should buffer 96 bytes, buffered at minimum 0 bytes
( 482.159| 0.012) D: [pulseaudio][modules/module-loopback.c:226
adjust_rates()] [bluez_sink.98_D6_F7_34_98_E8] Updated sampling rate to 8000 Hz.
( 492.134| 9.975) D: [pulseaudio][modules/module-loopback.c:197
adjust_rates()] Loopback overall latency is 610.13 ms + 8.00 ms + 0.00 ms =
618.13 ms
( 492.148| 0.013) D: [pulseaudio][modules/module-loopback.c:201
adjust_rates()] Should buffer 96 bytes, buffered at minimum 128 bytes
( 492.161| 0.012) D: [pulseaudio][modules/module-loopback.c:226
adjust_rates()] [bluez_sink.98_D6_F7_34_98_E8] Updated sampling rate to 8000 Hz.
( 492.175| 0.013) D: [pulseaudio][modules/module-loopback.c:197
adjust_rates()] Loopback overall latency is 610.13 ms + 0.00 ms + 25.00 ms =
635.13 ms
( 492.189| 0.014) D: [pulseaudio][modules/module-loopback.c:201
adjust_rates()] Should buffer 96 bytes, buffered at minimum 0 bytes
( 492.201| 0.012) D: [pulseaudio][modules/module-loopback.c:226
adjust_rates()] [bluez_sink.98_D6_F7_34_98_E8] Updated sampling rate to 8000 Hz.
( 502.176| 9.975) D: [pulseaudio][modules/module-loopback.c:197
adjust_rates()] Loopback overall latency is 610.13 ms + 8.00 ms + 0.00 ms =
618.13 ms
( 502.190| 0.013) D: [pulseaudio][modules/module-loopback.c:201
adjust_rates()] Should buffer 96 bytes, buffered at minimum 128 bytes
( 502.202| 0.012) D: [pulseaudio][modules/module-loopback.c:226
adjust_rates()] [bluez_sink.98_D6_F7_34_98_E8] Updated sampling rate to 8000 Hz.
( 502.216| 0.013) D: [pulseaudio][modules/module-loopback.c:197
adjust_rates()] Loopback overall latency is 610.13 ms + 0.00 ms + 25.00 ms =
635.13 ms
This looks fine, the messages are from two module-loopback which are loaded to
play back
the audio coming from the phone and to transmit audio from your computer to the
phone.
But this is also where it is getting strange because you have no other sound
device.
The only sink available to play back audio to is the phone and the only source
to record from
(except the phone source) is the monitor source of the phone sink (See below
for explanation
of the monitor source).
To avoid that situation you should add a null sink and a null source to your
system using
module-null-sink and module-null-source and make them the default sink and
source.
Then audio coming from the phone will be played back to the null sink (and you
can record
from null.monitor) while silence coming from the null-source is sent to the
phone.
Please note:
I’m now familer with oFono at all – I simply run it as ofonod -d
Pacmd list output is attached while call is still ongoing. – there are 2
sources loaded and one sink.
Also, could someone explain why are there two source available? Nexus 4 and
Nexus 4 monitor?
The monitor source is created for each sink so that you have a source from
where you
can record what is played back to the sink.
How can I confirm that the audio arrives at pulseaudio? By the log I would
assume that the answer is positive, but according to ‘pacmd stat’ the value it
seems not.
In general it looks like your setup is working.
Thanks for your help,
Eytan.
( 120.008| 0.012) I:
[pulseaudio][modules/bluetooth/module-bluez5-device.c:746 transport_acquire()]
Transport /card_2 acquired: fd 28
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()] Created
sink 2 "bluez_sink.98_D6_F7_34_98_E8" with sample spec s16le 1ch 8000Hz and
channel map mono
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
bluetooth.protocol = "headset_audio_gateway"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
device.description = "Nexus 4"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
device.string = "98:D6:F7:34:98:E8"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
device.api = "bluez"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
device.class = "sound"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
device.bus = "bluetooth"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
device.form_factor = "phone"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
bluez.path = "/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
bluez.class = "0x5a020c"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
bluez.alias = "Nexus 4"
( 120.022| 0.013) I: [pulseaudio][pulsecore/sink.c:362 pa_sink_new()]
device.icon_name = "audio-card-bluetooth"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
Created source 6 "bluez_sink.98_D6_F7_34_98_E8.monitor" with sample spec s16le
1ch 8000Hz and channel map mono
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.description = "Monitor of Nexus 4"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.class = "monitor"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.string = "98:D6:F7:34:98:E8"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.api = "bluez"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.bus = "bluetooth"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.form_factor = "phone"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
bluez.path = "/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
bluez.class = "0x5a020c"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
bluez.alias = "Nexus 4"
( 120.153| 0.130) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.icon_name = "audio-card-bluetooth"
( 120.281| 0.128) D: [pulseaudio][pulsecore/core-subscribe.c:242
pa_subscription_post()] Dropped redundant event due to change event.
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
Created source 7 "bluez_source.98_D6_F7_34_98_E8" with sample spec s16le 1ch
8000Hz and channel map mono
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
bluetooth.protocol = "headset_audio_gateway"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.description = "Nexus 4"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.string = "98:D6:F7:34:98:E8"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.api = "bluez"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.class = "sound"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.bus = "bluetooth"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.form_factor = "phone"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
bluez.path = "/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
bluez.class = "0x5a020c"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
bluez.alias = "Nexus 4"
( 120.294| 0.013) I: [pulseaudio][pulsecore/source.c:347 pa_source_new()]
device.icon_name = "audio-card-bluetooth"
( 120.463| 0.169) D:
[bluetooth][modules/bluetooth/module-bluez5-device.c:1334 thread_func()] IO
Thread starting up
( 120.508| 0.044) I: [bluetooth][pulsecore/core-util.c:839
pa_make_realtime()] Failed to acquire real-time scheduling: No such file or
directory
( 120.526| 0.017) I: [bluetooth][modules/bluetooth/module-bluez5-device.c:802
setup_stream()] Transport /card_2 resuming
( 120.537| 0.011) D: [bluetooth][modules/bluetooth/module-bluez5-device.c:813
setup_stream()] Stream properly set up, we're ready to roll!
( 120.552| 0.015) D: [pulseaudio][modules/module-device-restore.c:863
sink_put_hook_callback()] Could not set format on sink
bluez_sink.98_D6_F7_34_98_E8
( 120.569| 0.016) E: [pulseaudio][pulsecore/module.c:146 pa_module_load()]
module-looopback
( 120.653| 0.014) D: [pulseaudio][modules/module-stream-restore.c:1424
sink_input_new_hook_callback()] Not restoring device for stream
sink-input-by-media-role:abstract, because already set to
'bluez_sink.98_D6_F7_34_98_E8'.
( 120.678| 0.024) D: [pulseaudio][modules/module-intended-roles.c:85
sink_input_new_hook_callback()] Not setting device for stream (null), because
already set.
( 120.697| 0.019) D: [pulseaudio][pulsecore/sink-input.c:341
pa_sink_input_new()] Negotiated format: pcm, format.sample_format = "\"s16le\""
format.rate = "8000" format.channels = "1" format.channel_map = "\"mono\""
( 120.720| 0.022) I: [pulseaudio][pulsecore/resampler.c:190 fix_method()]
Speex appears to be compiled with --enable-fixed-point. Switching to a
fixed-point resampler because it should be faster.
( 120.744| 0.023) D: [pulseaudio][pulsecore/resampler.c:385
pa_resampler_new()] Resampler:
( 120.756| 0.012) D: [pulseaudio][pulsecore/resampler.c:386
pa_resampler_new()] rate 8000 -> 8000 (method speex-fixed-1)
( 120.770| 0.014) D: [pulseaudio][pulsecore/resampler.c:388
pa_resampler_new()] format s16le -> s16le (intermediate s16le)
( 120.786| 0.015) D: [pulseaudio][pulsecore/resampler.c:389
pa_resampler_new()] channels 1 -> 1 (resampling 1)
( 120.799| 0.013) I: [pulseaudio][pulsecore/resampler/speex.c:170
pa_resampler_speex_init()] Choosing speex quality setting 1.
( 120.815| 0.015) D: [pulseaudio][pulsecore/memblockq.c:85
pa_memblockq_new()] memblockq requested: maxlength=33554432, tlength=0, base=2,
prebuf=0, minreq=1 maxrewind=0
( 120.833| 0.018) D: [pulseaudio][pulsecore/memblockq.c:96
pa_memblockq_new()] memblockq sanitized: maxlength=33554432, tlength=33554432,
base=2, prebuf=0, minreq=2 maxrewind=0
( 120.854| 0.021) I: [pulseaudio][pulsecore/sink-input.c:570
pa_sink_input_new()] Created input 4 "(null)" on bluez_sink.98_D6_F7_34_98_E8
with sample spec s16le 1ch 8000Hz and channel map mono
( 120.854| 0.021) I: [pulseaudio][pulsecore/sink-input.c:570
pa_sink_input_new()] media.role = "abstract"
( 120.854| 0.021) I: [pulseaudio][pulsecore/sink-input.c:570
pa_sink_input_new()] module-stream-restore.id =
"sink-input-by-media-role:abstract"
( 120.906| 0.052) D: [pulseaudio][pulsecore/source-output.c:283
pa_source_output_new()] Negotiated format: pcm, format.sample_format =
"\"s16le\"" format.rate = "8000" format.channels = "1" format.channel_map =
"\"mono\""
( 120.932| 0.025) I: [pulseaudio][pulsecore/source-output.c:358
pa_source_output_new()] Trying to change sample rate
( 120.945| 0.013) D: [pulseaudio][modules/module-suspend-on-idle.c:128
resume()] Source source.null becomes busy, resuming.
( 120.959| 0.013) D: [pulseaudio][pulsecore/source.c:789 pa_source_suspend()]
Suspend cause of source source.null is 0x0000, resuming
( 120.977| 0.017) D: [pulseaudio][modules/module-suspend-on-idle.c:114
restart()] Source source.null becomes idle, timeout in 5 seconds.
( 120.992| 0.015) D: [pulseaudio][modules/module-suspend-on-idle.c:114
restart()] Source source.null becomes idle, timeout in 5 seconds.
( 121.009| 0.016) I: [pulseaudio][pulsecore/resampler.c:190 fix_method()]
Speex appears to be compiled with --enable-fixed-point. Switching to a
fixed-point resampler because it should be faster.
( 121.029| 0.020) D: [pulseaudio][pulsecore/resampler.c:385
pa_resampler_new()] Resampler:
( 121.037| 0.008) D: [pulseaudio][pulsecore/resampler.c:386
pa_resampler_new()] rate 44100 -> 8000 (method speex-fixed-1)
( 121.056| 0.018) D: [pulseaudio][pulsecore/resampler.c:388
pa_resampler_new()] format s16le -> s16le (intermediate s16le)
( 121.070| 0.014) D: [pulseaudio][pulsecore/resampler.c:389
pa_resampler_new()] channels 2 -> 1 (resampling 1)
( 121.084| 0.014) D: [pulseaudio][pulsecore/resampler.c:1087 setup_remap()]
Channel matrix:
( 121.084| 0.014) D: [pulseaudio][pulsecore/resampler.c:1087 setup_remap()]
I00 I01
( 121.084| 0.014) D: [pulseaudio][pulsecore/resampler.c:1087 setup_remap()]
+------------
( 121.084| 0.014) D: [pulseaudio][pulsecore/resampler.c:1087 setup_remap()]
O00 | 0.500 0.500
( 121.129| 0.044) I: [pulseaudio][pulsecore/remap_neon.c:391
init_remap_neon()] Using ARM NEON stereo to mono remapping
( 121.143| 0.014) I: [pulseaudio][pulsecore/resampler/speex.c:170
pa_resampler_speex_init()] Choosing speex quality setting 1.
( 121.159| 0.015) D: [pulseaudio][pulsecore/memblockq.c:85
pa_memblockq_new()] memblockq requested: maxlength=33554432, tlength=0, base=4,
prebuf=0, minreq=1 maxrewind=0
( 121.177| 0.018) D: [pulseaudio][pulsecore/memblockq.c:96
pa_memblockq_new()] memblockq sanitized: maxlength=33554432, tlength=33554432,
base=4, prebuf=0, minreq=4 maxrewind=0
( 121.197| 0.019) I: [pulseaudio][pulsecore/source-output.c:493
pa_source_output_new()] Created output 4 "(null)" on source.null with sample
spec s16le 1ch 8000Hz and channel map mono
( 121.197| 0.019) I: [pulseaudio][pulsecore/source-output.c:493
pa_source_output_new()] media.role = "phone"
( 121.197| 0.019) I: [pulseaudio][pulsecore/source-output.c:493
pa_source_output_new()] module-stream-restore.id =
"source-output-by-media-role:phone"
( 121.251| 0.053) D: [pulseaudio][pulsecore/memblockq.c:85
pa_memblockq_new()] memblockq requested: maxlength=16777216, tlength=16777216,
base=2, prebuf=0, minreq=0 maxrewind=0
( 121.269| 0.018) D: [pulseaudio][pulsecore/memblockq.c:96
pa_memblockq_new()] memblockq sanitized: maxlength=16777216, tlength=16777216,
base=2, prebuf=0, minreq=2 maxrewind=0
( 121.291| 0.022) I: [bluetooth][modules/module-loopback.c:644
sink_input_update_max_request_cb()] Max request changed
( 121.303| 0.011) I: [null-source][modules/module-loopback.c:369
source_output_state_change_cb()] Skipping 0 bytes
( 121.320| 0.016) D: [bluetooth][pulsecore/sink-input.c:1901
pa_sink_input_set_state_within_thread()] Requesting rewind due to uncorking
( 121.332| 0.012) D: [pulseaudio][pulsecore/core-subscribe.c:242
pa_subscription_post()] Dropped redundant event due to change event.
( 121.345| 0.012) I: [bluetooth][modules/module-loopback.c:471
sink_input_pop_cb()] Could not peek into queue
( 121.356| 0.011) D: [pulseaudio][pulsecore/core-subscribe.c:242
pa_subscription_post()] Dropped redundant event due to change event.
( 121.364| 0.008) I: [bluetooth][modules/module-loopback.c:471
sink_input_pop_cb()] Could not peek into queue
( 121.377| 0.012) D: [pulseaudio][modules/module-suspend-on-idle.c:128
resume()] Source source.null becomes busy, resuming.
( 121.391| 0.014) I: [bluetooth][modules/module-loopback.c:471
sink_input_pop_cb()] Could not peek into queue
( 121.403| 0.011) D: [pulseaudio][pulsecore/core-subscribe.c:242
pa_subscription_post()] Dropped redundant event due to change event.
( 121.412| 0.009) D: [bluetooth][modules/module-loopback.c:529
sink_input_process_msg_cb()] Requesting rewind due to end of underrun.
( 121.424| 0.012) E: [null-source][pulsecore/memblockq.c:286
pa_memblockq_push()] Assertion 'uchunk->index + uchunk->length <=
pa_memblock_get_length(uchunk->memblock)' failed at pulsecore/memblockq.c:286,
function pa_memblockq_push(). Aborting.
( 121.436| 0.011) W:
[bluetooth][modules/bluetooth/module-bluez5-device.c:1433 thread_func()]
Skipping 6664 us (= 106 bytes) in audio stream[ 5193.530822] potentially
unexpected fatal signal 6, "null-source" pid=2370
[ 5193.537872]
[ 5193.539367] CPU: 0 PID: 2370 Comm: null-source Not tainted 3.10.33 #23
[ 5193.545898] task: c3dcc600 ti: c276a000 task.ti: c276a000
[ 5193.551391] PC is at 0xb6c9cc04
[ 5193.554565] LR is at 0x942
[ 5193.557311] pc : [<b6c9cc04>] lr : [<00000942>] psr: 20000010
[ 5193.557311] sp : b65d4d8c ip : b65d5960 fp : b65d50f4
[ 5193.568847] r10: b65d4f64 r9 : 00000000 r8 : 000003e8
[ 5193.574066] r7 : 0000010c r6 : 00000001 r5 : 0000111c r4 : 00000006
[ 5193.580657] r3 : b6caa33c r2 : 00000006 r1 : 00000942 r0 : 00000000
[ 5193.587219] Flags: nzCv IRQs on FIQs on Mode USER_32 ISA ARM Segment
user
[ 5193.594451] Control: 10c53c7d Table: 02780059 DAC: 00000015
[ 5193.600250] CPU: 0 PID: 2370 Comm: null-source Not tainted 3.10.33 #23
[ 5193.606780] [<c001ca28>] (unwind_backtrace+0x0/0xf4) from [<c001a308>]
(show_stack+0x10/0x14)
[ 5193.615386] [<c001a308>] (show_stack+0x10/0x14) from [<c00378ec>]
(get_signal_to_deliver+0x52c/0x6bc)
[ 5193.624664] [<c00378ec>] (get_signal_to_deliver+0x52c/0x6bc) from
[<c0019a8c>] (do_signal+0x394/0x444)
[ 5193.634033] [<c0019a8c>] (do_signal+0x394/0x444) from [<c0019c84>]
(do_work_pending+0x54/0xa8)
[ 5193.642700] [<c0019c84>] (do_work_pending+0x54/0xa8) from [<c0009100>]
(work_pending+0xc/0x20)
Memory blocks currently allocated: 1, size: 4.0 KiB.
Memory blocks allocated during the whole lifetime: 530, size: 2.1 MiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: null
Default source name: bluez_source.98_D6_F7_34_98_E8
Memory blocks of type POOL: 1 allocated/530 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/0 accumulated.
Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
23 module(s) loaded.
index: 0
name: <module-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute
state of devices"
module.version = "6.0-dirty"
index: 1
name: <module-stream-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the
volume/mute/device state of streams"
module.version = "6.0-dirty"
index: 2
name: <module-card-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "6.0-dirty"
index: 3
name: <module-augment-properties>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with
additional static information"
module.version = "6.0-dirty"
index: 4
name: <module-switch-on-port-available>
argument: <>
used: -1
load once: no
properties:
index: 5
name: <module-null-sink>
argument: <>
used: 1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Clocked NULL sink"
module.version = "6.0-dirty"
index: 6
name: <module-null-source>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering & Marc-Andre Lureau"
module.description = "Clocked NULL source"
module.version = "6.0-dirty"
index: 7
name: <module-bluetooth-policy>
argument: <>
used: -1
load once: yes
properties:
module.author = "Frédéric Dalleau"
module.description = "When a bluetooth sink or source is added,
load module-loopback"
module.version = "6.0-dirty"
index: 8
name: <module-bluetooth-discover>
argument: <headset=ofono>
used: -1
load once: yes
properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available Bluetooth daemon and
load the corresponding discovery module"
module.version = "6.0-dirty"
index: 9
name: <module-bluez5-discover>
argument: <headset=ofono>
used: -1
load once: yes
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 = "6.0-dirty"
index: 10
name: <module-esound-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ESOUND protocol (UNIX sockets)"
module.version = "6.0-dirty"
index: 11
name: <module-native-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "6.0-dirty"
index: 12
name: <module-default-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink
and source"
module.version = "6.0-dirty"
index: 13
name: <module-rescue-streams>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to mo(
32.648| 0.032) D: [pulseaudio][pulsecore/cli.c:129 line_callback()] ve its
streams to the default sink/source"
module.version = "6.0-dirty"
index: 14
name: <module-always-sink>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Always keeps at least one sink loaded
even if it's a null one"
module.version = "6.0-dirty"
index: 15
name: <module-intended-roles>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based
on intended roles of devices"
module.version = "6.0-dirty"
index: 16
name: <module-suspend-on-idle>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long,
suspend it"
module.version = "6.0-dirty"
index: 17
name: <module-position-event-sounds>
argument: <>
used: -1
load once: yes
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 = "6.0-dirty"
index: 18
name: <module-role-cork>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Mute & cork streams with certain roles
while others exist"
module.version = "6.0-dirty"
index: 19
name: <module-bluez5-device>
argument: <path=/org/bluez/hci0/dev_98_D6_F7_34_98_E8>
used: 2
load once: no
properties:
module.author = "João Paulo Rechi Vita"
module.description = "BlueZ 5 Bluetooth audio sink and source"
module.version = "6.0-dirty"
index: 20
name: <module-loopback>
argument: <sink="bluez_sink.98_D6_F7_34_98_E8" sink_dont_move="true"
source_output_properties="media.role=phone">
used: -1
load once: no
properties:
module.author = "Pierre-Louis Bossart"
module.description = "Loopback from source to sink"
module.version = "6.0-dirty"
index: 21
name: <module-loopback>
argument: <source="bluez_source.98_D6_F7_34_98_E8"
source_dont_move="true" sink_input_properties="media.role=phone">
used: -1
load once: no
properties:
module.author = "Pierre-Louis Bossart"
module.description = "Loopback from source to sink"
module.version = "6.0-dirty"
index: 22
name: <module-cli-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Command line interface protocol (UNIX
sockets)"
module.version = "6.0-dirty"
2 sink(s) available.
* index: 0
name: <null>
driver: <module-null-sink.c>
flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
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
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 11 KiB
max rewind: 11 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
module: 5
properties:
device.description = "Null Output"
device.class = "abstract"
device.icon_name = "audio-card"
index: 1
name: <bluez_sink.98_D6_F7_34_98_E8>
driver: <module-bluez5-device.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME
state: SUSPENDED
suspend cause: USER
priority: 9030
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 2
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
used by: 0
linked by: 1
fixed latency: 250.00 ms
card: 0 <bluez_card.98_D6_F7_34_98_E8>
module: 19
properties:
bluetooth.protocol = "headset_audio_gateway"
device.description = "Nexus 4"
device.string = "98:D6:F7:34:98:E8"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor CLI got EOF from user.
( 33.392| 0.743) I: [pulseaudio][pulsecore/client.c:100 pa_client_free()] =
"phone"
bluez.path = "/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
bluez.class = "0x5a020c"
bluez.alias = "Nexus 4"
device.icon_name = "audio-card-bluetooth"
ports:
phone-output: Phone (priority 0, latency offset 0 usec,
available: unknown)
properties:
active port: <phone-output>
4 source(s) available.
index: 0
name: <null.monitor>
driver: <module-null-sink.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
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
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 11 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
monitor_of: 0
module: 5
properties:
device.description = "Monitor of Null Output"
device.class = "monitor"
device.icon_name = "audio-input-microphone"
index: 1
name: <source.null>
driver: <module-null-source.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
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
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 344 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
module: 6
properties:
device.description = "Null Input"
device.class = "abstract"
device.icon_name = "audio-input-microphone"
index: 2
name: <bluez_sink.98_D6_F7_34_98_E8.monitor>
driver: <module-bluez5-device.c>
flags: DECIBEL_VOLUME LATENCY
state: IDLE
suspend cause:
priority: 1030
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
used by: 0
linked by: 0
fixed latency: 250.00 ms
monitor_of: 1
card: 0 <bluez_card.98_D6_F7_34_98_E8>
module: 19
properties:
device.description = "Monitor of Nexus 4"
device.class = "monitor"
device.string = "98:D6:F7:34:98:E8"
device.api = "bluez"
device.bus = "bluetooth"
device.form_factor = "phone"
bluez.path = "/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
bluez.class = "0x5a020c"
bluez.alias = "Nexus 4"
device.icon_name = "audio-card-bluetooth"
* index: 3
name: <bluez_source.98_D6_F7_34_98_E8>
driver: <module-bluez5-device.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: USER
priority: 9030
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
used by: 0
linked by: 1
fixed latency: 250.00 ms
card: 0 <bluez_card.98_D6_F7_34_98_E8>
module: 19
properties:
bluetooth.protocol = "headset_audio_gateway"
device.description = "Nexus 4"
device.string = "98:D6:F7:34:98:E8"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "phone"
bluez.path = "/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
bluez.class = "0x5a020c"
bluez.alias = "Nexus 4"
device.icon_name = "audio-card-bluetooth"
ports:
phone-input: Phone (priority 0, latency offset 0 usec,
available: unknown)
properties:
active port: <phone-input>
1 client(s) logged in.
index: 0
driver: <cli.c>
owner module: 22
properties:
application.name = "UNIX socket client"
1 card(s) available.
index: 0
name: <bluez_card.98_D6_F7_34_98_E8>
driver: <module-bluez5-device.c>
owner module: 19
properties:
device.description = "Nexus 4"
device.string = "98:D6:F7:34:98:E8"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
deviFreed 0 "UNIX socket client"
ce.form_factor = "phone"
bluez.path = "/org/bluez/hci0/dev_98_D6_F7_34_98_E8"
bluez.class = "0x5a020c"
bluez.alias = "Nexus 4"
device.icon_name = "audio-card-bluetooth"
profiles:
a2dp_source: High Fidelity Capture (A2DP Source) (priority 10,
available: unknown)
headset_audio_gateway: Headset Audio Gateway (HSP/HFP)
(priority 20, available: unknown)
off: Off (priority 0, available: yes)
active profile: <headset_audio_gateway>
sinks:
bluez_sink.98_D6_F7_34_98_E8/#1: Nexus 4
sources:
bluez_sink.98_D6_F7_34_98_E8.monitor/#2: Monitor of Nexus 4
bluez_source.98_D6_F7_34_98_E8/#3: Nexus 4
ports:
phone-output: Phone (priority 0, latency offset 0 usec,
available: unknown)
properties:
phone-input: Phone (priority 0, latency offset 0 usec,
available: unknown)
properties:
2 sink input(s) available.
index: 0
driver: <module-loopback.c>
flags: VARIABLE_RATE DONT_MOVE START_CORKED
state: CORKED
sink: 1 <bluez_sink.98_D6_F7_34_98_E8>
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 250.00 ms
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
resample method: speex-fixed-1
module: 20
properties:
media.role = "abstract"
module-stream-restore.id = "sink-input-by-media-role:abstract"
media.name = "Loopback from Null Input"
index: 1
driver: <module-loopback.c>
flags: VARIABLE_RATE START_CORKED
state: CORKED
sink: 0 <null>
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 66.67 ms
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
resample method: speex-fixed-1
module: 21
properties:
media.role = "phone"
module-stream-restore.id = "sink-input-by-media-role:phone"
media.name = "Loopback from Nexus 4"
media.icon_name = "audio-card-bluetooth"
2 source output(s) available.
index: 0
driver: <module-loopback.c>
flags: START_CORKED
state: CORKED
source: 1 <source.null>
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 66.67 ms
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
resample method: speex-fixed-1
owner module: 20
properties:
media.role = "phone"
module-stream-restore.id = "source-output-by-media-role:phone"
media.name = "Loopback to Nexus 4"
media.icon_name = "audio-card-bluetooth"
index: 1
driver: <module-loopback.c>
flags: DONT_MOVE START_CORKED
state: CORKED
source: 3 <bluez_source.98_D6_F7_34_98_E8>
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 250.00 ms
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
resample method: (null)
owner module: 21
properties:
media.role = "abstract"
module-stream-restore.id =
"source-output-by-media-role:abstract"
media.name = "Loopback to Null Output"
media.icon_name = "audio-card"
0 cache entrie(s) available._______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss