[pulseaudio-discuss] Bringing up new audio driver and pulse is not happy

jonsmirl at gmail.com jonsmirl at gmail.com
Mon Sep 22 10:50:36 PDT 2014


I'm bringing up an ALSA driver - 1c22400.iis-sgtl5000. This driver works
fine with aplay.

Something I'm doing in the driver is not making pulse happy. This is a
trace with one terminal running 'pulseaudio' and a second doing 'paplay
left.wav''. I don't hear anything when plays.

If I don't load "load-module module-rtp-recv" I can play left.wav under
pulse without problem. Does this speex resampler work on ARM? I have NEON
FPU.

# pulseaudio -vv
W: [pulseaudio] main.c: This program is not intended to be run as root
(unless --system is specified).
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: setpriority() worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 5.0
D: [pulseaudio] main.c: Compilation host: arm-buildroot-linux-gnueabihf
D: [pulseaudio] main.c: Compilation CFLAGS: -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  -Wall -W -Wextra
-Wno-long-long -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 -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux armv7l 3.16.0+ #323 SMP Tue
Sep 16 15:54:58 EDT 2014
D: [pulseaudio] main.c: Found 2 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 buildroot.
I: [pulseaudio] main.c: Using runtime directory
/root/.config/pulse/buildroot-runtime.
I: [pulseaudio] main.c: Using state directory /root/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-5.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 NEON VFPV3
I: [pulseaudio] svolume_arm.c: Initialising ARM optimized volume functions.
I: [pulseaudio] sconv_neon.c: Initialising ARM NEON optimized conversions.
I: [pulseaudio] mix_neon.c: Initialising ARM NEON optimized mixing
functions.
I: [pulseaudio] module-device-restore.c: Successfully opened database file
'/root/.config/pulse/buildroot-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0;
argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file
'/root/.config/pulse/buildroot-stream-volumes'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1;
argument: "").
I: [pulseaudio] module-card-restore.c: Successfully opened database file
'/root/.config/pulse/buildroot-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2;
argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3;
argument: "").
I: [puls[  588.864413] JDS frame_rate 44100
eaudio] module.c: Loaded "module-switch-on-port-available" (inde[
 588.871232] JDS sys_fs 44100
x: #4; argument: "").
D: [pulseaudio] module.c: Checking for ex[  588.879602] JDS
sgtl5000->sysclk 24000000
istence of '/usr/lib/pulse-5.0/modules/module-detect.so': succes[
 588.889149] JDS - SGTL5000_MCLK_FREQ_PLL int 15 frac 108
s
W: [pulseaudio] module.c: module-detect is deprecated: Pl[  588.900603] JDS
- sgtl5000_pcm_hw_params ok
ease use module-udev-detect instead of module-detect!
D: [p[  588.909797] JDS - sunxi_i2s_hw_params sysclk 0 rate 44100
ulseaudio] alsa-util.c: Checking for superset analog-stereo (front:%f)
D: [pulseaudio] alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM front:0
I: [pulseaudio] alsa-util.c: Error opening PCM device front:0: Invalid
argument
D: [pulseaudio] alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open hw:0
I: [pulseaudio] alsa-util.c: cannot disable ALSA period wakeups
D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 2972 ms
D: [pulseaudio] alsa-util.c: Set buffer size first (to 88200 samples),
period size second (to 88200 samples).
I: [pulseaudio] alsa-util.c: ALSA period wakeups were not disabled
I: [pulseaudio] alsa-sink.c: Successfully opened device hw:0.
I: [pulseaudio] alsa-sink.c: Selected mapping 'Analog Stereo'
(analog-stereo).
I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-sink.c: Successfully enabled timer-based scheduling
mode.
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] sink.c: Created sink 0 "alsa_output.0.analog-stereo" 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 = "1c22400.iis-sgtl5000 sgtl5000-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 = "1c22400.iis-sgtl5000"
I: [pulseaudio] sink.c:     alsa.long_card_name = "1c22400.iis-sgtl5000"
I: [pulseaudio] sink.c:     device.string = "hw:0"
I: [pulseaudio] sink.c:     device.buffering.buffer_size = "352800"
I: [pulseaudio] sink.c:     device.buffering.fragment_size = "58800"
I: [pulseaudio] sink.c:     device.access_mode = "mmap+timer"
I: [pulseaudio] sink.c:     device.profile.name = "analog-stereo"
I: [pulseaudio] sink.c:     device.profile.description = "Analog Stereo"
I: [pulseaudio] sink.c:     device.description = "1c22400.iis-sgtl5000
Analog Stereo"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card-analog"
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
I: [pulseaudio] source.c: Created source 0
"alsa_output.0.analog-stereo.monitor" with sample spec s16le 2ch 44100Hz
and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of
1c22400.iis-sgtl5000 Analog Stereo"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
I: [pulseaudio] alsa-sink.c: Using 6.0 fragments of size 58800 bytes
(333.33ms), buffer size is 352800 bytes (2000.00ms)
I: [pulseaudio] alsa-sink.c: Time scheduling watermark is 20.00ms
D: [pulseaudio] alsa-sink.c: hwbuf_unused=0
D: [pulseaudio] alsa-sink.c: setting avail_min=87319
D: [pulseaudio] alsa-util.c: snd_pcm_dump():
D: [pulseaudio] alsa-util.c: Hardware PCM card 0 '1c22400.iis-sgtl5000'
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       : MMAP_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         : 44100
D: [pulseaudio] alsa-util.c:   exact rate   : 44100 (44100/1)
D: [pulseaudio] alsa-util.c:   msbits       : 16
D: [pulseaudio] alsa-util.c:  [  589.260764]
dmaengine_pcm_prepare_and_submit substream ed126200
[  589.270518] sun4i_dma_prep_dma_cyclic len 352800 period 58800
[  589.276262] sun4i_dma_issue_pending
[  589.279747] find_and_use_pchan bit 0
[  589.283321] JDS - sunxi_i2s_trigger 1
[  589.287001] JDS - SUNXI_I2S_TXCNT 0
 buffer_size  : 88200
D: [pulseaudio] alsa-util.c:   period_size  : 14700
D: [pulseaudio] alsa-util.c:   period_time  : 333333
D: [pulseaudio] alsa-util.c:   tstamp_mode  : ENABLE
D: [pulseaudio] alsa-util.c:   period_step  : 1
D: [pulseaudio] alsa-util.c:   avail_min    : 87319
D: [pulseaudio] alsa-util.c:   period_event : 0
D: [pulseaudio] alsa-util.c:   start_threshold  : -1
D: [pulseaudio] alsa-util.c:   stop_threshold   : 1445068800
D: [pulseaudio] alsa-util.c:   silence_threshold: 0
D: [pulseaudio] alsa-util.c:   silence_size : 0
D: [pulseaudio] alsa-util.c:   boundary     : 1445068800
D: [pulseaudio] alsa-util.c:   appl_ptr     : 0
D: [pulseaudio] alsa-util.c:   hw_ptr       : 0
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Thread starting
up
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] core-util.c:
SCHED_RR|SCHED_RESET_ON_FORK worked.
I: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] core-util.c: Successfully
enabled SCHED_RR scheduling for thread, with priority 5.
I: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Starting
playback.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Cutting sleep
time for the initial iterations by half.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Cutting sleep
time for the initial iterations by half.
D: [pulseaudio] module-device-restore.c: Could not set format on sink
alsa_output.0.analog-stereo
I: [pulseaudio] module.c: Loaded "module-alsa-sink" (index: #6; argument:
"device_id=0").
I: [pulseaudio] module-detect.c: loaded 1 modules.
I: [pulseaudio] module.c: Loaded "module-detect" (index: #5; argument: "").
D: [pulseaudio] module.c: Checking for existence of
'/usr/lib/pulse-5.0/modules/module-jackdbus-detect.so': failure
D: [pulseaudio] module.c: Checking for existence of
'/usr/lib/pulse-5.0/modules/module-esound-protocol-unix.so': success
I: [pulseaudio] module.c: Loaded "module-esound-protocol-unix" (index: #7;
argument: "").
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #8;
argument: "").
D: [pulseaudio] module.c: Checking for existence of
'/usr/lib/pulse-5.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.0.analog-stereo'.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
I: [pulseaudio] module-default-device-restore.c: Restored default source
'alsa_output.0.analog-stereo.monitor'.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index:
#9; argument: "").
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #10;
argument: "").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #11;
argument: "").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #12;
argument: "").
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo
becomes idle, timeout in 5 seconds.
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #13;
argument: "").
D: [pulseaudio] module.c: Checking for existence of
'/usr/lib/pulse-5.0/modules/module-console-kit.so': failure
D: [pulseaudio] module.c: Checking for existence of
'/usr/lib/pulse-5.0/modules/module-systemd-login.so': failure
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: "").
I: [pulseaudio] module.c: Loaded "module-rtp-recv" (index: #18; argument:
"").
I: [pulseaudio] main.c: Daemon startup complete.
I: [pulseaudio] module.c: Unloading "module-detect" (index: #5).
I: [pulseaudio] module.c: Unloaded "module-detect" (index: #5).
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove
event.
D: [pulseaudio] module-stream-restore.c: Not restoring device for stream
sink-input-by-media-role:stream, because already set to
'alsa_output.0.analog-stereo'.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream RTP
Stream (PulseAudio RTP Stream on terra), because already set.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format
= "\"s16be\""  format.rate = "44100"  format.channels = "2"
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo
becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo
becomes idle, timeout in 5 seconds.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c:   rate 44100 -> 44100 (method speex-float-1)
D: [pulseaudio] resampler.c:   format s16be -> s16le (intermediate
float32le)
D: [pulseaudio] resampler.c:   channels 2 -> 2 (resampling 2)
I: [pulseaudio] resampler.c: Choosing speex quality setting 1.
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 terra)" on alsa_output.0.analog-stereo with sample spec s16be 2ch
44100Hz 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 terra)"
I: [pulseaudio] sink-input.c:     rtp.session = "PulseAudio RTP Stream on
terra"
I: [pulseaudio] sink-input.c:     rtp.origin = "jonsmirl 3620243173 0 IN
IP4 192.168.1.50"
I: [pulseaudio] sink-input.c:     rtp.payload = "10"
I: [pulseaudio] sink-input.c:     module-stream-restore.id =
"sink-input-by-media-role:stream"
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Cutting sleep
time for the initial iterations by half.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Cutting sleep
time for the initial iterations by half.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=41943040,
tlength=41943040, base=4, prebuf=44100, minreq=0 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=41943040,
tlength=41943040, base=4, prebuf=44100, minreq=4 maxrewind=0
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Cutting sleep
time for the initial iterations by half.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Latency set to
250.00ms
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c:
hwbuf_unused=308700
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: setting
avail_min=87319
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Requesting
rewind due to latency change.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Requested to
rewind 352800 bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Limited to
268472 bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: before: 67118
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: after: 67118
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Rewound 268472
bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink.c: Processing rewind...
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink-input.c: Have to rewind
268472 bytes on render memblockq.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] source.c: Processing
rewind...
I: [pulseaudio] module-rtp-recv.c: New session 'PulseAudio RTP Stream on
terra'
I: [pulseaudio] client.c: Created 0 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29
I: [pulseaudio] protocol-native.c: Got credentials: uid=0 gid=0 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for
pacat
D: [pulseaudio] module-intended-roles.c: Not setting device for stream
left.wav, because it lacks role.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format
= "\"s16le\""  format.rate = "48000"  format.channels = "1"
 format.channel_map = "\"mono\""
I: [pulseaudio] sink-input.c: Trying to change sample rate
I: [pulseaudio] sink.c: Cannot update rate, SINK_IS_RUNNING, will keep
using 44100 Hz
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo
becomes busy, resuming.
D: [pulseaudio] resampler.c: Channel matrix:
D: [pulseaudio] resampler.c:        I00
D: [pulseaudio] resampler.c:     +------
D: [pulseaudio] resampler.c: O00 | 1.000
D: [pulseaudio] resampler.c: O01 | 1.000
I: [pulseaudio] remap.c: Using mono to stereo remapping
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c:   rate 48000 -> 44100 (method speex-float-1)
D: [pulseaudio] resampler.c:   format s16le -> s16le (intermediate
float32le)
D: [pulseaudio] resampler.c:   channels 1 -> 2 (resampling 1)
I: [pulseaudio] resampler.c: Choosing speex quality setting 1.
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 1 "left.wav" on
alsa_output.0.analog-stereo with sample spec s16le 1ch 48000Hz and channel
map mono
I: [pulseaudio] sink-input.c:     media.format = "WAV (Microsoft)"
I: [pulseaudio] sink-input.c:     application.name = "paplay"
I: [pulseaudio] sink-input.c:     media.name = "left.wav"
I: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX socket
client"
I: [pulseaudio] sink-input.c:     native-protocol.version = "29"
I: [pulseaudio] sink-input.c:     application.process.id = "164"
I: [pulseaudio] sink-input.c:     application.process.user = "root"
I: [pulseaudio] sink-input.c:     application.process.host = "buildroot"
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 =
"buildroot"
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=1960.00 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304,
tlength=192000, base=2, prebuf=190082, minreq=1920 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304,
tlength=192000, base=2, prebuf=190082, minreq=1920 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 3960.00 ms = 1960.00 ms +
2*20.00 ms + 1960.00 ms
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Latency set to
250.00ms
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c:
hwbuf_unused=308700
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: setting
avail_min=87319
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] protocol-native.c:
Requesting rewind due to end of underrun.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Requested to
rewind 352800 bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Limited to
43060 bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: before: 10765
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: after: 10765
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Rewound 43060
bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink.c: Processing rewind...
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink-input.c: Have to rewind
43060 bytes on render memblockq.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink-input.c: Have to rewind
43060 bytes on render memblockq.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] source.c: Processing
rewind...
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] protocol-native.c: Implicit
drain of 'left.wav'
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink.c: Found underrun 2996
bytes ago (39288 bytes ahead in playback buffer)
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink.c: Found underrun 43620
bytes ago (456 bytes ahead in playback buffer)
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] protocol-native.c: Drain
acknowledged of 'left.wav'
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Latency set to
250.00ms
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c:
hwbuf_unused=308700
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: setting
avail_min=87319
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Requested to
rewind 352800 bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Limited to
43068 bytes.
I: [pulseaudio] sink-input.c: Freeing input 1 "left.wav"
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: before: 10767
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: after: 10767
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Rewound 43068
bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink.c: Processing rewind...
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink-input.c: Have to rewind
43068 bytes on render memblockq.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] source.c: Processing
rewind...
I: [pulseaudio] client.c: Freed 0 "paplay"
I: [pulseaudio] protocol-native.c: Connection died.
D: [pulseaudio] module-rtp-recv.c: Checking for dead streams ...
I: [pulseaudio] core.c: We are idle, quitting...
I: [pulseaudio] main.c: Daemon shutdown initiated.
I: [pulsea[  614.540703] JDS - sunxi_i2s_trigger 0
[  614.547641] JDS - SUNXI_I2S_TXCNT 2227256
udio] module.c: Unloading "module-rtp-recv" (index: #18).
I: [pulseaudio] module-rtp-recv.c: Freeing session 'PulseAudio RTP Stream
on terra'
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: hwbuf_unused=0
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: setting
avail_min=87319
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Requested to
rewind 352800 bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Limited to
28476 bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: before: 7119
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: after: 7119
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Rewound 28476
bytes.
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] sink.c: Processing rewind...
D: [alsa-sink-1c22400.iis-sgtl5000 sgtl5000-0] source.c: Processing
rewind...
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo
becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo
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 "RTP Stream (PulseAudio RTP
Stream on terra)"
I: [pulseaudio] module.c: Unloaded "module-rtp-recv" (index: #18).
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-filter-heuristics" (index: #16).
I: [pulseaudio] module.c: Unloaded "module-filter-heuristics" (index: #16).
I: [pulseaudio] module.c: Unloading "module-role-cork" (index: #15).
I: [pulseaudio] module.c: Unloaded "module-role-cork" (index: #15).
I: [pulseaudio] module.c: Unloading "module-position-event-sounds" (index:
#14).
I: [pulseaudio] module.c: Unloaded "module-position-event-sounds" (index:
#14).
I: [pulseaudio] module.c: Unloading "module-suspend-on-idle" (index: #13).
I: [pulseaudio] module.c: Unloaded "module-suspend-on-idle" (index: #13).
I: [pulseaudio] module.c: Unloading "module-intended-roles" (index: #12).
I: [pulseaudio] module.c: Unloaded "module-intended-roles" (index: #12).
I: [pulseaudio] module.c: Unloading "module-always-sink" (index: #11).
I: [pulseaudio] module.c: Unloaded "module-always-sink" (index: #11).
I: [pulseaudio] module.c: Unloading "module-rescue-streams" (index: #10).
I: [pulseaudio] module.c: Unloaded "module-rescue-streams" (index: #10).
I: [pulseaudio] module.c: Unloading "module-default-device-restore" (index:
#9).
I: [pulseaudio] module.c: Unloaded "module-default-device-restore" (index:
#9).
I: [pulseaudio] module.c: Unloading "module-native-protocol-unix" (index:
#8).
I: [pulseaudio] module.c: Unloaded "module-native-protocol-unix" (index:
#8).
I: [pulseaudio] module.c: Unloading "module-esound-protocol-unix" (index:
#7).
I: [pulseaudio] module.c: Unloaded "module-esound-protocol-unix" (index:
#7).
I: [pulseaudio] module.c: Unloading "module-alsa-sink" (index: #6).
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-1c22400.iis-sgtl5000 sgtl5000-0] alsa-sink.c: Thread shutting
down
I: [pulseaudio] sink.c: Freeing sink 0 "alsa_output.0.analog-stereo"
I: [pulseaudio] source.c: Freeing source 0
"alsa_output.0.analog-stereo.monitor"
I: [pulseaudio] module.c: Unloaded "module-alsa-sink" (index: #6).
I: [pulseaudio] module.c: Unloading "module-switch-on-port-available"
(index: #4).
I: [pulseaudio] module.c: Unloaded "module-switch-on-port-available"
(index: #4).
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-card-restore" (index: #2).
I: [pulseaudio] module.c: Unloaded "module-card-restore" (index: #2).
I: [pulseaudio] module.c: Unloading "module-stream-restore" (index: #1).
I: [pulseaudio] module.c: Unloaded "module-stream-restore" (index: #1).
I: [pulseaudio] module.c: Unloading "module-device-restore" (index: #0).
I: [pulseaudio] module.c: Unloaded "module-device-restore" (index: #0).
I: [pulseaudio] main.c: Daemon terminated.
#


-- 
Jon Smirl
jonsmirl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140922/291699ee/attachment-0001.html>


More information about the pulseaudio-discuss mailing list