aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_jack.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 19:19:41 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 19:19:41 +0200
commit3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660 (patch)
tree9f0d0af66dbad996f96bb1baa9afb922240db455 /src/audioOutputs/audioOutput_jack.c
parent1ce5f4d75ba5d3c151670fd36a816bfd8ee75c80 (diff)
downloadmpd-3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660.tar.gz
mpd-3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660.tar.xz
mpd-3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660.zip
playlist: replaced song_id_exists() with song_id_to_position()
Since all callers of song_id_exists() will map it to a song position after the check, introduce a new function called song_id_to_position() which performs both the check and the map lookup, including nice assertions.
Diffstat (limited to 'src/audioOutputs/audioOutput_jack.c')
0 files changed, 0 insertions, 0 deletions