[pulseaudio-discuss] Help needed configuring Bluetooth speaker with system mode
Northern Lights Info
info at northernlights3d.com
Sat May 30 11:50:17 PDT 2015
Okay, good, small amount of progress.
So the daemon keeps running now but now I have no audio output when I try
to play a wav file with paplay /home/testuser/testsound.wav
--device=bluez_sink.A0_B4_A5_1E_9D_E6
The play button on the speaker lights up while the command is running but
then I see Failed to drain stream: Timeout
Here¹s the partial log:
D: [bluetooth] module-bluez5-device.c: Stream properly set up, we're ready
to roll!
D: [pulseaudio] module-suspend-on-idle.c: Sink
bluez_sink.A0_B4_A5_1E_9D_E6 becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Sink
bluez_sink.A0_B4_A5_1E_9D_E6 becomes idle, timeout in 5 seconds.
I: [pulseaudio] resampler.c: Speex appears to be compiled with
--enable-fixed-point. Switching to a fixed-point resampler because it
should be faster.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c: rate 22050 -> 8000 (method speex-fixed-1)
D: [pulseaudio] resampler.c: format s16le -> s16le (intermediate s16le)
D: [pulseaudio] resampler.c: channels 2 -> 1 (resampling 1)
D: [pulseaudio] resampler.c: Channel matrix:
D: [pulseaudio] resampler.c: I00 I01
D: [pulseaudio] resampler.c: +------------
D: [pulseaudio] resampler.c: O00 | 0.500 0.500
I: [pulseaudio] remap_neon.c: Using ARM NEON stereo to mono remapping
I: [pulseaudio] speex.c: Choosing speex quality setting 1.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432,
tlength=0, base=2, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432,
tlength=33554432, base=2, prebuf=0, minreq=2 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 0
"/home/testuser/testsound.wav" on bluez_sink.A0_B4_A5_1E_9D_E6 with sample
spec s16le 2ch 22050Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c: media.format = "WAV (Microsoft)"
I: [pulseaudio] sink-input.c: application.name = "paplay"
I: [pulseaudio] sink-input.c: media.name =
"/home/testuser/testsound.wav"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket
client"
I: [pulseaudio] sink-input.c: native-protocol.version = "30"
I: [pulseaudio] sink-input.c: application.process.id = "621"
I: [pulseaudio] sink-input.c: application.process.user = ³testuser"
I: [pulseaudio] sink-input.c: application.process.host = "ts-imx6-s"
I: [pulseaudio] sink-input.c: application.process.binary = "pacat"
I: [pulseaudio] sink-input.c: application.language = "C"
I: [pulseaudio] sink-input.c: application.process.machine_id =
"f87dfaa0ca2e453b990000856c1ca12e"
I: [pulseaudio] sink-input.c: module-stream-restore.id =
"sink-input-by-application-name:paplay"
I: [pulseaudio] protocol-native.c: Requested tlength=2000.00 ms,
minreq=20.00 ms
D: [pulseaudio] protocol-native.c: Traditional mode enabled, modifying
sink usec only for compat with minreq.
D: [pulseaudio] protocol-native.c: Requested latency=1960.00 ms, Received
latency=128.00 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304,
tlength=176400, base=4, prebuf=174640, minreq=1764 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304,
tlength=176400, base=4, prebuf=174640, minreq=1764 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 2128.00 ms = 1960.00 ms +
2*20.00 ms + 128.00 ms
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [pulseaudio] module-suspend-on-idle.c: Sink
bluez_sink.A0_B4_A5_1E_9D_E6 becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Sink
bluez_sink.A0_B4_A5_1E_9D_E6 becomes idle, timeout in 5 seconds.
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] sink-input.c: Freeing input 0
"/home/testuser/testsound.wav"
I: [pulseaudio] client.c: Freed 0 "paplay"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] module-suspend-on-idle.c: Sink
bluez_sink.A0_B4_A5_1E_9D_E6 idle for too long, suspending ...
D: [pulseaudio] sink.c: Suspend cause of sink bluez_sink.A0_B4_A5_1E_9D_E6
is 0x0004, suspending
D: [bluetooth] module-bluez5-device.c: Releasing transport
/org/bluez/hci0/dev_A0_B4_A5_1E_9D_E6/fd10
I: [bluetooth] backend-native.c: Transport
/org/bluez/hci0/dev_A0_B4_A5_1E_9D_E6/fd10 released
D: [bluetooth] module-bluez5-device.c: Audio stream torn down
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
On 5/30/15, 11:28 AM, "Georg Chini" <georg at chini.tk> wrote:
>
>quite simple, pulseaudio is configured to shut down when it's idle.
>I worked around this by setting exit-idle-time = -1 in daemon.conf
>
More information about the pulseaudio-discuss
mailing list