Can't get Pulseadio to playback stream on Raspbian with HifiBerry DAC+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, I did edit the default.pa. I don't know much about Pulseaudio and was
following an online tutorial.

Here's my output from pulseaudio -vvv


login as: pi
pi at 10.99.10.13's password:
Linux musicplayer1 3.18.9+ #767 PREEMPT Sat Mar 7 21:41:13 GMT 2015 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Mar 21 19:12:26 2015 from 10.99.10.17
pi at musicplayer1 ~ $ pulseaudio -vvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation
not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling:
Permission denied
I: [pulseaudio] main.c: This is PulseAudio 2.0
D: [pulseaudio] main.c: Compilation host: arm-unknown-linux-gnueabihf
D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -W -Wextra
-pipe -Wno-long-long -Wvla -Wno-overlength-strings
-Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare
-Wformat-security -Wmissing-include-dirs -Wformat-nonliteral
-Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal
-Wmissing-prototypes -Wredundant-decls -Wmissing-declarations
-Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing
-Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2
-fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux armv6l 3.18.9+ #767 PREEMPT
Sat Mar 7 21:41:13 GMT 2015
D: [pulseaudio] main.c: Found 1 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is eae5fe1648c5902fa7c038f954e1edbf.
I: [pulseaudio] main.c: Using runtime directory
/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-runtime.
I: [pulseaudio] main.c: Using state directory /home/pi/.pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-2.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
D: [pulseaudio] memblock.c: Using shared memory pool with 1024 slots of
size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is
65496
I: [pulseaudio] cpu-arm.c: CPU flags: V6 V7 VFP EDSP
I: [pulseaudio] svolume_arm.c: Initialising ARM optimized volume functions.
D: [pulseaudio] database-tdb.c: Opened TDB database
'/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-device-volumes.tdb'
I: [pulseaudio] module-device-restore.c: Successfully opened database file
'/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0;
argument: "").
D: [pulseaudio] database-tdb.c: Opened TDB database
'/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-stream-volumes.tdb'
I: [pulseaudio] module-stream-restore.c: Successfully opened database file
'/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-stream-volumes'.
D: [pulseaudio] protocol-dbus.c: Interface
org.PulseAudio.Ext.StreamRestore1 added for object
/org/pulseaudio/stream_restore1
D: [pulseaudio] protocol-dbus.c: Interface
org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object
/org/pulseaudio/stream_restore1/entry0
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1;
argument: "").
D: [pulseaudio] database-tdb.c: Opened TDB database
'/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-card-database.tdb'
I: [pulseaudio] module-card-restore.c: Successfully opened database file
'/home/pi/.pulse/eae5fe1648c5902fa7c038f954e1edbf-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2;
argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3;
argument: "").
D: [pulseaudio] alsa-util.c: Trying default with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open default
D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 2730 ms
D: [pulseaudio] alsa-util.c: Set buffer size first (to 4800 samples),
period size second (to 1200 samples).
I: [pulseaudio] alsa-sink.c: Successfully opened device default.
I: [pulseaudio] alsa-sink.c: Device doesn't support mmap(), falling back to
UNIX read/write mode.
I: [pulseaudio] alsa-sink.c: Cannot enable timer-based scheduling, falling
back to sound IRQ scheduling.
I: [pulseaudio] sink.c: Created sink 0 "alsa_output.default" with sample
spec s16le 2ch 48000Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     alsa.resolution_bits = "16"
I: [pulseaudio] sink.c:     device.api = "alsa"
I: [pulseaudio] sink.c:     device.class = "sound"
I: [pulseaudio] sink.c:     alsa.class = "generic"
I: [pulseaudio] sink.c:     alsa.subclass = "generic-mix"
I: [pulseaudio] sink.c:     alsa.name = ""
I: [pulseaudio] sink.c:     alsa.id = "HiFiBerry DAC+ HiFi pcm512x-hifi-0"
I: [pulseaudio] sink.c:     alsa.subdevice = "0"
I: [pulseaudio] sink.c:     alsa.subdevice_name = "subdevice #0"
I: [pulseaudio] sink.c:     alsa.device = "0"
I: [pulseaudio] sink.c:     alsa.card = "0"
I: [pulseaudio] sink.c:     alsa.card_name = "snd_rpi_hifiberry_dacplus"
I: [pulseaudio] sink.c:     alsa.long_card_name =
"snd_rpi_hifiberry_dacplus"
I: [pulseaudio] sink.c:     alsa.driver_name = "snd_soc_hifiberry_dacplus"
I: [pulseaudio] sink.c:     device.bus_path = "platform-sound"
I: [pulseaudio] sink.c:     sysfs.path = "/devices/sound/sound/card0"
I: [pulseaudio] sink.c:     device.string = "default"
I: [pulseaudio] sink.c:     device.buffering.buffer_size = "19200"
I: [pulseaudio] sink.c:     device.buffering.fragment_size = "4800"
I: [pulseaudio] sink.c:     device.access_mode = "serial"
I: [pulseaudio] sink.c:     device.description = "snd_rpi_hifiberry_dacplus"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
I: [pulseaudio] source.c: Created source 0 "alsa_output.default.monitor"
with sample spec s16le 2ch 48000Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of
snd_rpi_hifiberry_dacplus"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
I: [pulseaudio] alsa-sink.c: Using 4.0 fragments of size 4800 bytes
(25.00ms), buffer size is 19200 bytes (100.00ms)
D: [pulseaudio] alsa-sink.c: hwbuf_unused=0
D: [pulseaudio] alsa-sink.c: setting avail_min=1
D: [pulseaudio] alsa-util.c: snd_pcm_dump():
D: [pulseaudio] alsa-util.c: Hardware PCM card 0
'snd_rpi_hifiberry_dacplus' device 0 subdevice 0
D: [pulseaudio] alsa-util.c: Its setup is:
D: [pulseaudio] alsa-util.c:   stream       : PLAYBACK
D: [pulseaudio] alsa-util.c:   access       : RW_INTERLEAVED
D: [pulseaudio] alsa-util.c:   format       : S16_LE
D: [pulseaudio] alsa-util.c:   subformat    : STD
D: [pulseaudio] alsa-util.c:   channels     : 2
D: [pulseaudio] alsa-util.c:   rate         : 48000
D: [pulseaudio] alsa-util.c:   exact rate   : 48000 (48000/1)
D: [pulseaudio] alsa-util.c:   msbits       : 16
D: [pulseaudio] alsa-util.c:   buffer_size  : 4800
D: [pulseaudio] alsa-util.c:   period_size  : 1200
D: [pulseaudio] alsa-util.c:   period_time  : 25000
D: [pulseaudio] alsa-util.c:   tstamp_mode  : ENABLE
D: [pulseaudio] alsa-util.c:   period_step  : 1
D: [pulseaudio] alsa-util.c:   avail_min    : 1200
D: [pulseaudio] alsa-util.c:   period_event : 1
D: [pulseaudio] alsa-util.c:   start_threshold  : -1
D: [pulseaudio] alsa-util.c:   stop_threshold   : 1258291200
D: [pulseaudio] alsa-util.c:   silence_threshold: 0
D: [pulseaudio] alsa-util.c:   silence_size : 0
D: [pulseaudio] alsa-util.c:   boundary     : 1258291200
D: [pulseaudio] alsa-util.c:   appl_ptr     : 0
D: [pulseaudio] alsa-util.c:   hw_ptr       : 0
D: [alsa-sink] alsa-sink.c: Thread starting up
D: [alsa-sink] core-util.c: SCHED_RR|SCHED_RESET_ON_FORK worked.
I: [alsa-sink] core-util.c: Successfully enabled SCHED_RR scheduling for
thread, with priority 5.
I: [alsa-sink] alsa-sink.c: Starting playback.
I: [alsa-sink] (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_START failed (-77)
D: [pulseaudio] module-device-restore.c: Could not set format on sink
alsa_output.default
I: [pulseaudio] module.c: Loaded "module-alsa-sink" (index: #4; argument:
"").
D: [pulseaudio] cli-command.c: Checking for existence of
'/usr/lib/pulse-2.0/modules/module-udev-detect.so': success
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] module-udev-detect.c: /devices/sound/sound/card0 is busy:
yes
I: [pulseaudio] module-udev-detect.c: Found 1 cards.
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument:
"").
D: [pulseaudio] cli-command.c: Checking for existence of
'/usr/lib/pulse-2.0/modules/module-jackdbus-detect.so': failure
D: [pulseaudio] cli-command.c: Checking for existence of
'/usr/lib/pulse-2.0/modules/module-bluetooth-discover.so': failure
D: [pulseaudio] cli-command.c: Checking for existence of
'/usr/lib/pulse-2.0/modules/module-esound-protocol-unix.so': failure
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #6;
argument: "").
D: [pulseaudio] cli-command.c: Checking for existence of
'/usr/lib/pulse-2.0/modules/module-gconf.so': failure
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
I: [pulseaudio] module-default-device-restore.c: Restored default sink
'alsa_output.default'.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
I: [pulseaudio] module-default-device-restore.c: Restored default source
'alsa_output.default.monitor'.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index:
#7; argument: "").
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #8;
argument: "").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #9; argument:
"").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #10;
argument: "").
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.default becomes
idle, timeout in 5 seconds.
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #11;
argument: "").
D: [pulseaudio] cli-command.c: Checking for existence of
'/usr/lib/pulse-2.0/modules/module-console-kit.so': success
D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus system bus
f11a00340048214315e7b31d550caa81 as :1.9
I: [pulseaudio] module.c: Loaded "module-console-kit" (index: #12;
argument: "").
D: [pulseaudio] cli-command.c: Checking for existence of
'/usr/lib/pulse-2.0/modules/module-systemd-login.so': success
I: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #13;
argument: "").
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index:
#14; argument: "").
D: [pulseaudio] module-role-cork.c: Using role 'phone' as trigger role.
D: [pulseaudio] module-role-cork.c: Using roles 'music' and 'video' as cork
roles.
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #15; argument:
"").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #16;
argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #17;
argument: "").
D: [pulseaudio] cli-command.c: Checking for existence of
'/usr/lib/pulse-2.0/modules/module-dbus-protocol.so': success
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Memstats
added for object /org/pulseaudio/core1/memstats
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device
added for object /org/pulseaudio/core1/sink0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Sink added
for object /org/pulseaudio/core1/sink0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device
added for object /org/pulseaudio/core1/source0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Source
added for object /org/pulseaudio/core1/source0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module2
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module3
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module4
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module5
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module6
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module7
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module8
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module9
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module10
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module11
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module12
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module13
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module14
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module15
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module16
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module17
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1 added for
object /org/pulseaudio/core1
I: [pulseaudio] module.c: Loaded "module-dbus-protocol" (index: #18;
argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index:
#19; argument: "").
I: [pulseaudio] module.c: Loaded "module-rtp-recv" (index: #20; argument:
"").
W: [pulseaudio] server-lookup.c: Unable to contact D-Bus:
org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon
without a $DISPLAY for X11
W: [pulseaudio] main.c: Unable to contact D-Bus:
org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon
without a $DISPLAY for X11
I: [pulseaudio] main.c: Daemon startup complete.
D: [pulseaudio] module-console-kit.c: dbus: interface=org.freedesktop.DBus,
path=/org/freedesktop/DBus, member=NameAcquired
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module18
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module19
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
added for object /org/pulseaudio/core1/module20
D: [pulseaudio] module-stream-restore.c: Not restoring device for stream
sink-input-by-media-role:stream, because already set to
'alsa_output.default'.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream RTP
Stream (PulseAudio RTP Stream on linuxbox), because already set.
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.default becomes
busy.
I: [pulseaudio] resampler.c: Using resampler 'speex-fixed-3'
I: [pulseaudio] resampler.c: Using s16le as working format.
I: [pulseaudio] resampler.c: Choosing speex quality setting 3.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432,
tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432,
tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 0 "RTP Stream (PulseAudio RTP
Stream on linuxbox)" on alsa_output.default with sample spec s16be 2ch
48000Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c:     media.role = "stream"
I: [pulseaudio] sink-input.c:     media.name = "RTP Stream (PulseAudio RTP
Stream on linuxbox)"
I: [pulseaudio] sink-input.c:     rtp.session = "PulseAudio RTP Stream on
linuxbox"
I: [pulseaudio] sink-input.c:     rtp.origin = "dave 3635954081 0 IN IP4
10.99.10.14"
I: [pulseaudio] sink-input.c:     rtp.payload = "127"
I: [pulseaudio] sink-input.c:     module-stream-restore.id =
"sink-input-by-media-role:stream"
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=41943040,
tlength=41943040, base=4, prebuf=76800, minreq=0 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=41943040,
tlength=41943040, base=4, prebuf=76800, minreq=4 maxrewind=0
I: [pulseaudio] module-rtp-recv.c: New session 'PulseAudio RTP Stream on
linuxbox'
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Stream
added for object /org/pulseaudio/core1/playback_stream0
D: [alsa-sink] module-rtp-recv.c: Requesting rewind due to end of underrun
D: [alsa-sink] alsa-sink.c: Requested to rewind 19200 bytes.
D: [alsa-sink] alsa-sink.c: Limited to 18816 bytes.
D: [alsa-sink] alsa-sink.c: before: 4704
D: [alsa-sink] alsa-sink.c: after: 4704
D: [alsa-sink] alsa-sink.c: Rewound 18816 bytes.
D: [alsa-sink] sink.c: Processing rewind...
D: [alsa-sink] sink-input.c: Have to rewind 18816 bytes on render memblockq.
D: [alsa-sink] source.c: Processing rewind...
D: [alsa-sink] module-rtp-recv.c: Updating sample rate
D: [alsa-sink] module-rtp-recv.c: wi=5006666 ri=4700000
D: [alsa-sink] module-rtp-recv.c: Write index deviates by 408.18 ms,
expected 500.00 ms
D: [alsa-sink] module-rtp-recv.c: Estimated target rate: 47134 Hz, using
average of 47983 Hz  (α=0.020)
I: [alsa-sink] module-rtp-recv.c: New rate of 47762 Hz not within 2â?° of
48000 Hz, forcing smaller adjustment
D: [alsa-sink] module-rtp-recv.c: Updated sampling rate to 47904 Hz.
D: [alsa-sink] module-rtp-recv.c: Updating sample rate
D: [alsa-sink] module-rtp-recv.c: wi=10026720 ri=9712758
D: [alsa-sink] module-rtp-recv.c: Write index deviates by 414.55 ms,
expected 500.00 ms
D: [alsa-sink] module-rtp-recv.c: Estimated target rate: 47965 Hz, using
average of 47969 Hz  (α=0.800)
I: [alsa-sink] module-rtp-recv.c: New rate of 47763 Hz not within 2â?° of
47904 Hz, forcing smaller adjustment
D: [alsa-sink] module-rtp-recv.c: Updated sampling rate to 47808 Hz.
D: [alsa-sink] module-rtp-recv.c: Updating sample rate
D: [alsa-sink] module-rtp-recv.c: wi=15066934 ri=14738955
D: [alsa-sink] module-rtp-recv.c: Write index deviates by 432.12 ms,
expected 500.00 ms
D: [alsa-sink] module-rtp-recv.c: Estimated target rate: 47977 Hz, using
average of 47969 Hz  (α=0.020)
D: [alsa-sink] module-rtp-recv.c: Updated sampling rate to 47805 Hz.
D: [pulseaudio] module-rtp-recv.c: Checking for dead streams ...
D: [alsa-sink] module-rtp-recv.c: Updating sample rate
D: [alsa-sink] module-rtp-recv.c: wi=20094969 ri=19740194
D: [alsa-sink] module-rtp-recv.c: Write index deviates by 459.03 ms,
expected 500.00 ms
D: [alsa-sink] module-rtp-recv.c: Estimated target rate: 48064 Hz, using
average of 47997 Hz  (α=0.297)
D: [alsa-sink] module-rtp-recv.c: Updated sampling rate to 47898 Hz.
^CI: [pulseaudio] main.c: Got signal SIGINT.
I: [pulseaudio] main.c: Exiting.
I: [pulseaudio] main.c: Daemon shutdown initiated.
I: [pulseaudio] module.c: Unloading "module-device-restore" (index: #0).
I: [pulseaudio] module.c: Unloaded "module-device-restore" (index: #0).
I: [pulseaudio] module.c: Unloading "module-stream-restore" (index: #1).
D: [pulseaudio] protocol-dbus.c: Interface
org.PulseAudio.Ext.StreamRestore1 removed from object
/org/pulseaudio/stream_restore1
D: [pulseaudio] protocol-dbus.c: Interface
org.PulseAudio.Ext.StreamRestore1.RestoreEntry removed from object
/org/pulseaudio/stream_restore1/entry0
I: [pulseaudio] module.c: Unloaded "module-stream-restore" (index: #1).
I: [pulseaudio] module.c: Unloading "module-card-restore" (index: #2).
I: [pulseaudio] module.c: Unloaded "module-card-restore" (index: #2).
I: [pulseaudio] module.c: Unloading "module-augment-properties" (index: #3).
I: [pulseaudio] module.c: Unloaded "module-augment-properties" (index: #3).
I: [pulseaudio] module.c: Unloading "module-alsa-sink" (index: #4).
D: [pulseaudio] module-always-sink.c: Autoloading null-sink as no other
sinks detected.
I: [pulseaudio] sink.c: Created sink 1 "auto_null" with sample spec s16le
2ch 48000Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     device.description = "Dummy Output"
I: [pulseaudio] sink.c:     device.class = "abstract"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 1 "auto_null.monitor" with sample
spec s16le 2ch 48000Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Dummy Output"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
D: [null-sink] module-null-sink.c: Thread starting up
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device
added for object /org/pulseaudio/core1/source1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Source
added for object /org/pulseaudio/core1/source1
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes idle,
timeout in 5 seconds.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device
added for object /org/pulseaudio/core1/sink1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Sink added
for object /org/pulseaudio/core1/sink1
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #21; argument:
"sink_name=auto_null sink_properties='device.description="Dummy Output"'").
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device
removed from object /org/pulseaudio/core1/sink0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Sink
removed from object /org/pulseaudio/core1/sink0
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.default becomes
idle, timeout in 5 seconds.
D: [alsa-sink] sink-input.c: Have to rewind 19168 bytes on render memblockq.
D: [alsa-sink] sink-input.c: Have to rewind 19188 bytes on implementor.
D: [alsa-sink] sink.c: Requesting rewind due to started move
D: [alsa-sink] alsa-sink.c: Requested to rewind 19200 bytes.
D: [alsa-sink] alsa-sink.c: Limited to 18720 bytes.
D: [alsa-sink] alsa-sink.c: before: 4680
D: [alsa-sink] alsa-sink.c: after: 4680
D: [alsa-sink] alsa-sink.c: Rewound 18720 bytes.
D: [alsa-sink] sink.c: Processing rewind...
D: [alsa-sink] source.c: Processing rewind...
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.default becomes
idle, timeout in 5 seconds.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [null-sink] sink.c: Requesting rewind due to finished move
D: [null-sink] module-null-sink.c: Requested to rewind 384000 bytes.
D: [null-sink] sink.c: Processing rewind...
D: [null-sink] sink-input.c: Have to rewind 384000 bytes on render
memblockq.
D: [null-sink] source.c: Processing rewind...
D: [null-sink] module-null-sink.c: Rewound 384000 bytes.
D: [pulseaudio] sink-input.c: Successfully moved sink input 0 to auto_null.
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes busy.
I: [pulseaudio] module-rescue-streams.c: Successfully moved sink input 0
"(null)" to auto_null.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device
removed from object /org/pulseaudio/core1/source0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Source
removed from object /org/pulseaudio/core1/source0
D: [pulseaudio] module-rescue-streams.c: No source outputs to move away.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
event.
D: [alsa-sink] alsa-sink.c: Thread shutting down
I: [pulseaudio] module.c: Unloaded "module-alsa-sink" (index: #4).
I: [pulseaudio] module.c: Unloading "module-udev-detect" (index: #5).
I: [pulseaudio] module.c: Unloaded "module-udev-detect" (index: #5).
I: [pulseaudio] module.c: Unloading "module-native-protocol-unix" (index:
#6).
I: [pulseaudio] module.c: Unloaded "module-native-protocol-unix" (index:
#6).
I: [pulseaudio] module.c: Unloading "module-default-device-restore" (index:
#7).
I: [pulseaudio] module.c: Unloaded "module-default-device-restore" (index:
#7).
I: [pulseaudio] module.c: Unloading "module-rescue-streams" (index: #8).
I: [pulseaudio] module.c: Unloaded "module-rescue-streams" (index: #8).
I: [pulseaudio] module.c: Unloading "module-always-sink" (index: #9).
I: [pulseaudio] module.c: Unloaded "module-always-sink" (index: #9).
I: [pulseaudio] module.c: Unloading "module-intended-roles" (index: #10).
I: [pulseaudio] module.c: Unloaded "module-intended-roles" (index: #10).
I: [pulseaudio] module.c: Unloading "module-suspend-on-idle" (index: #11).
I: [pulseaudio] module.c: Unloaded "module-suspend-on-idle" (index: #11).
I: [pulseaudio] module.c: Unloading "module-console-kit" (index: #12).
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
I: [pulseaudio] module.c: Unloaded "module-console-kit" (index: #12).
I: [pulseaudio] module.c: Unloading "module-systemd-login" (index: #13).
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
I: [pulseaudio] module.c: Unloaded "module-systemd-login" (index: #13).
I: [pulseaudio] module.c: Unloading "module-position-event-sounds" (index:
#14).
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
I: [pulseaudio] module.c: Unloaded "module-position-event-sounds" (index:
#14).
I: [pulseaudio] module.c: Unloading "module-role-cork" (index: #15).
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
D: [pulseaudio] flist.c: pulsecore/hashmap.c: entries flist is full (don't
worry)
I: [pulseaudio] module.c: Unloaded "module-role-cork" (index: #15).
I: [pulseaudio] module.c: Unloading "module-filter-heuristics" (index: #16).
I: [pulseaudio] module.c: Unloaded "module-filter-heuristics" (index: #16).
I: [pulseaudio] module.c: Unloading "module-filter-apply" (index: #17).
I: [pulseaudio] module.c: Unloaded "module-filter-apply" (index: #17).
I: [pulseaudio] module.c: Unloading "module-dbus-protocol" (index: #18).
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1 removed
from object /org/pulseaudio/core1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device
removed from object /org/pulseaudio/core1/sink1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Sink
removed from object /org/pulseaudio/core1/sink1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Device
removed from object /org/pulseaudio/core1/source1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Source
removed from object /org/pulseaudio/core1/source1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Stream
removed from object /org/pulseaudio/core1/playback_stream0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module0
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module1
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module2
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module3
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module4
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module5
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module6
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module7
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module8
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module9
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module10
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module11
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module12
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module13
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module14
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module15
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module16
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module17
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module18
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module19
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Module
removed from object /org/pulseaudio/core1/module20
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Memstats
removed from object /org/pulseaudio/core1/memstats
I: [pulseaudio] sink.c: Freeing sink 0 "alsa_output.default"
I: [pulseaudio] source.c: Freeing source 0 "alsa_output.default.monitor"
I: [pulseaudio] module.c: Unloaded "module-dbus-protocol" (index: #18).
I: [pulseaudio] module.c: Unloading "module-switch-on-port-available"
(index: #19).
I: [pulseaudio] module.c: Unloaded "module-switch-on-port-available"
(index: #19).
I: [pulseaudio] module.c: Unloading "module-rtp-recv" (index: #20).
I: [pulseaudio] module-rtp-recv.c: Freeing session 'PulseAudio RTP Stream
on linuxbox'
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
event.
D: [null-sink] module-null-sink.c: Requested to rewind 384000 bytes.
D: [null-sink] sink.c: Processing rewind...
D: [null-sink] source.c: Processing rewind...
D: [null-sink] module-null-sink.c: Rewound 13300 bytes.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] sink-input.c: Freeing input 0 "RTP Stream (PulseAudio RTP
Stream on linuxbox)"
I: [pulseaudio] module.c: Unloaded "module-rtp-recv" (index: #20).
I: [pulseaudio] module.c: Unloading "module-null-sink" (index: #21).
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
event.
D: [null-sink] module-null-sink.c: Thread shutting down
I: [pulseaudio] sink.c: Freeing sink 1 "auto_null"
I: [pulseaudio] source.c: Freeing source 1 "auto_null.monitor"
I: [pulseaudio] module.c: Unloaded "module-null-sink" (index: #21).
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
event.
I: [pulseaudio] main.c: Daemon terminated.
pi at musicplayer1 ~ $





On Sat, Mar 21, 2015 at 1:06 AM, Raymond Yau <superquad.vortex2 at gmail.com>
wrote:

> >
> > Working with a Raspberry Pi B+ with Hifiberry DAC+ on a fresh Raspbian
> install.
> >
> > I can't seem to get Pulseaudio to use the Hifiberry to play an incoming
> stream. When I run pulseaudio -v, among other things, I see the following:
> >
> > CODE: SELECT ALL
> > SNDRV_PCM_IOCTL_START failed (-77)
>
> -77 is EBADFD
>
> This mean PCM stream is already running but pulsesudio still call
> snd_pcm_start ?
>
> Need verbose pulseaudio log
>
> pulseaudio -vvvv
>
> Pulseaudio module-alsa-sink should not use "default" device , seem you
> have changed default.pa
>
>  argument: "").
> > I: [pulseaudio] alsa-sink.c: Successfully opened device default.
> > I: [pulseaudio] alsa-sink.c: Device doesn't support mmap(), falling back
> to UNIX read/write mode.
> > I: [pulseaudio] alsa-sink.c: Cannot enable timer-based scheduling,
> falling back to sound IRQ scheduling.
> > I: [pulseaudio] sink.c: Created sink 0 "alsa_output.default" with sample
> spec s16le 2ch 44100Hz and channel map front-left,front-right
> > I: [pulseaudio] sink.c:     alsa.resolution_bits = "16"
> > I: [pulseaudio] sink.c:     device.api = "alsa"
> > I: [pulseaudio] sink.c:     device.class = "sound"
> > I: [pulseaudio] sink.c:     alsa.class = "generic"
> > I: [pulseaudio] sink.c:     alsa.subclass = "generic-mix"
> > I: [pulseaudio] sink.c:     alsa.name = ""
> > I: [pulseaudio] sink.c:     alsa.id = "HiFiBerry DAC+ HiFi
> pcm512x-hifi-0"
> > I: [pulseaudio] sink.c:     alsa.subdevice = "0"
> > I: [pulseaudio] sink.c:     alsa.subdevice_name = "subdevice #0"
> > I: [pulseaudio] sink.c:     alsa.device = "0"
> > I: [pulseaudio] sink.c:     alsa.card = "0"
> > I: [pulseaudio] sink.c:     alsa.card_name = "snd_rpi_hifiberry_dacplus"
> > I: [pulseaudio] sink.c:     alsa.long_card_name =
> "snd_rpi_hifiberry_dacplus"
> > I: [pulseaudio] sink.c:     alsa.driver_name =
> "snd_soc_hifiberry_dacplus"
> > I: [pulseaudio] sink.c:     device.bus_path = "platform-sound"
> > I: [pulseaudio] sink.c:     sysfs.path = "/devices/sound/sound/card0"
> > I: [pulseaudio] sink.c:     device.string = "default"
> > I: [pulseaudio] sink.c:     device.buffering.buffer_size = "17632"
> > I: [pulseaudio] sink.c:     device.buffering.fragment_size = "4408"
> > I: [pulseaudio] sink.c:     device.access_mode = "serial"
> > I: [pulseaudio] sink.c:     device.description =
> "snd_rpi_hifiberry_dacplus"
> > I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
> > I: [pulseaudio] source.c: Created source 0 "alsa_output.default.monitor"
> with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
> > I: [pulseaudio] source.c:     device.description = "Monitor of
> snd_rpi_hifiberry_dacplus"
> > I: [pulseaudio] source.c:     device.class = "monitor"
> > I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
> > I: [pulseaudio] alsa-sink.c: Using 4.0 fragments of size 4408 bytes
> (24.99ms), buffer size is 17632 bytes (99.95ms)
> > I: [alsa-sink] core-util.c: Successfully enabled SCHED_RR scheduling for
> thread, with priority 5.
> > I: [alsa-sink] alsa-sink.c: Starting playback.
> > I: [alsa-sink] (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_START failed (-77)
> > I: [pulseaudio] module.c: Loaded "module-alsa-sink" (index: #4;
> argument: "").
> > I: [pulseaudio] module-udev-detect.c: Found 1 cards.
> > I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index:
> #6; argument: "").
> > I: [pulseaudio] module-default-device-restore.c: Restored default sink
> 'alsa_output.default'.
> > I: [pulseaudio] module-default-device-restore.c: Restored default source
> 'alsa_output.default.monitor'.
> > I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index:
> #7; argument: "").
> > I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #8;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #9;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #10;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #11;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-console-kit" (index: #12;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #13;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index:
> #14; argument: "").
> > I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #15;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #16;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #17;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-dbus-protocol" (index: #18;
> argument: "").
> > I: [pulseaudio] module.c: Loaded "module-switch-on-port-available"
> (index: #19; argument: "").
> > I: [pulseaudio] module.c: Loaded "module-rtp-recv" (index: #20;
> argument: "").
> > W: [pulseaudio] server-lookup.c: Unable to contact D-Bus:
> org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon
> without a $DISPLAY for X11
> > W: [pulseaudio] main.c: Unable to contact D-Bus:
> org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon
> without a $DISPLAY for X11
> > I: [pulseaudio] main.c: Daemon startup complete.
> > I: [pulseaudio] resampler.c: Using resampler 'speex-fixed-3'
> > I: [pulseaudio] resampler.c: Using s16le as working format.
> > I: [pulseaudio] resampler.c: Choosing speex quality setting 3.
> > I: [pulseaudio] sink-input.c: Created input 0 "RTP Stream (PulseAudio
> RTP Stream on linuxbox)" on alsa_output.default with sample spec s16be 2ch
> 48000Hz and channel map front-left,front-right
> > I: [pulseaudio] sink-input.c:     media.role = "stream"
> > I: [pulseaudio] sink-input.c:     media.name = "RTP Stream (PulseAudio
> RTP Stream on linuxbox)"
> > I: [pulseaudio] sink-input.c:     rtp.session = "PulseAudio RTP Stream
> on linuxbox"
> > I: [pulseaudio] sink-input.c:     rtp.origin = "MYNAME 3635426253 0 IN
> IP4 SERVERIP"
> > I: [pulseaudio] sink-input.c:     rtp.payload = "127"
> > I: [pulseaudio] sink-input.c:     module-stream-restore.id =
> "sink-input-by-media-role:stream"
> > I: [pulseaudio] module-rtp-recv.c: New session 'PulseAudio RTP Stream on
> linuxbox'
> >
> >
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150321/325dbd05/attachment-0001.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux