aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_init.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-26 19:29:06 +0100
committerMax Kellermann <max@duempel.org>2009-02-26 19:29:06 +0100
commit710a61a3dc2603f4ac63915c0fcce6a278fdce4c (patch)
treeebc9985579e01d6fbc049cbf68a1a24eefef7cb9 /src/output_init.c
parent4f2ac7ec2c789f290a9563f79ddbea1faeed24c9 (diff)
downloadmpd-710a61a3dc2603f4ac63915c0fcce6a278fdce4c.tar.gz
mpd-710a61a3dc2603f4ac63915c0fcce6a278fdce4c.tar.xz
mpd-710a61a3dc2603f4ac63915c0fcce6a278fdce4c.zip
pulse: removed pa_simple!=NULL checks
The MPD core guarantees that the audio_output object is always consistent, and our pa_simple!=NULL checks are superfluous. Also don't manually close the device on error in pulse_play(), since the MPD core does this automatically when the play() method returns 0.
Diffstat (limited to 'src/output_init.c')
0 files changed, 0 insertions, 0 deletions