You are not logged in.
Crossfading works at first, but then one or two tracks later in the playlist it stops working.
audio_output {
type "pulse"
name "Pulse Audio Daemon"
server "localhost"
format "44100:16:2"
}
...
audio_buffer_size "16384"
buffer_before_play "50%"
That's 8 megabytes of cache for crossfading. By the metric of the PulseAudio Wiki (1.5 Mb = 6 seconds of 44.1 KHz, 16-bit stereo) this should give me up to roughly 32 seconds of crossfading. Could any of the following things cause crossfading to stop working?--
- I'm using mpd-pulse built via tarball from the AUR
- I have crossfade set to 20 seconds
- I am using ncmpcpp / gmpc
- The shortest song in the playlist is 1:09
- I have not set max_output_buffer_size, so it should be the default (8192 kb)
- Random/shuffle is on
- The playlist is fairly large (over 50 tracks)
- My music files are mostly FLAC, but they're all just plain old 44.1 KHz, 16-bit audio from CD's--no fancy 24-bit vinyl rips.
- The size of MPD's audio cache is about 1.5% of my total memory according to top
- Some of my other configuration files:
pcm.snd_card{
type hw
card 0
device 0
}
pcm.pulse{
type pulse
}
ctl.pulse {
type pulse
}
# Essentially I have pulseaudio running for streams over tc/ip and multiple apps but use ALSA for device control, i.e. volume.
options snd-cmipci index=0
.ifexists module-hal-detect.so
load-module module-hal-detect
.else
load-module module-detect
.endif
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.1.1/16
load-module module-stream-restore
load-module module-device-restore
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-suspend-on-idle
load-module module-position-event-sounds
load-module module-volume-restore table="/var/pulse/volume-restore.table"
Last edited by deconstrained (2009-09-01 22:44:50)
Offline
Okay, so I decreased crossfading to 15 seconds, and it works for about 4-5 plays, but then stops working. Is this because the cache is running out? Should I try increasing it?
Last edited by deconstrained (2009-09-01 23:38:05)
Offline