mpd/src
Max Kellermann 113c1c0af5 queueSong() cannot fail
All (indirect) callers of queueSong() ensure that the queue state is
BLANK, so there is no need to check it in queueSong() again.  As a
side effect, queueSong() cannot fail anymore, and can return void.
Also, playlist_queueError and all its error handling can go away.
2008-08-26 08:27:17 +02:00
..
audioOutputs made "sample_size" static const 2008-08-26 08:27:16 +02:00
inputPlugins flac: decoder command means EOF 2008-08-26 08:27:16 +02:00
mp4ff fixed invalid C prototypes 2008-01-26 12:46:09 +00:00
ack.h The massive copyright update 2007-04-05 03:22:33 +00:00
audio_format.h added inline function audio_format_time_to_size() 2008-08-26 08:27:09 +02:00
audio.c clean up CPP includes 2008-08-26 08:27:03 +02:00
audio.h moved struct AudioFormat to audio_format.h 2008-08-26 08:27:06 +02:00
audioOutput.c moved struct AudioFormat to audio_format.h 2008-08-26 08:27:06 +02:00
audioOutput.h moved struct AudioFormat to audio_format.h 2008-08-26 08:27:06 +02:00
buffer2array.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
buffer2array.h clean up CPP includes 2008-04-12 04:19:26 +00:00
charConv.c clean up CPP includes 2008-04-12 04:19:26 +00:00
charConv.h clean up CPP includes 2008-04-12 04:19:26 +00:00
command.c playlist: eliminate unused fd parameters 2008-08-26 08:27:16 +02:00
command.h command.h: include sllist.h which defines struct strnode 2008-04-12 04:27:09 +00:00
compress.c compress.c: fix skips/distortion introduced in r7146 2008-02-05 10:17:45 +00:00
compress.h fixed "comparison between signed and unsigned" 2008-01-26 12:46:37 +00:00
condition.c introduce struct condition as a more correct version of Notify 2008-06-30 02:43:22 +00:00
condition.h introduce struct condition as a more correct version of Notify 2008-06-30 02:43:22 +00:00
conf.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
conf.h clean up CPP includes 2008-04-12 04:19:26 +00:00
crossfade.c moved code to crossfade.c 2008-08-26 08:27:09 +02:00
crossfade.h moved code to crossfade.c 2008-08-26 08:27:09 +02:00
dbUtils.c converted MpdTagItem.type to an enum 2008-08-26 08:27:09 +02:00
dbUtils.h clean up CPP includes 2008-04-12 04:19:26 +00:00
decode.c added flag "decoder.seeking" 2008-08-26 08:27:14 +02:00
decode.h moved code to player_thread.c 2008-08-26 08:27:09 +02:00
decoder_api.c added flag "decoder.seeking" 2008-08-26 08:27:14 +02:00
decoder_api.h added decoder_read() 2008-08-26 08:27:14 +02:00
decoder_internal.h added flag "decoder.seeking" 2008-08-26 08:27:14 +02:00
decoder_list.c renamed functions in decoder_list.h 2008-08-26 08:27:09 +02:00
decoder_list.h renamed functions in decoder_list.h 2008-08-26 08:27:09 +02:00
directory.c clean up CPP includes 2008-04-12 04:19:26 +00:00
directory.h clean up CPP includes 2008-04-12 04:19:26 +00:00
gcc.h gcc.h: fix compilation with !(gcc >= 3) 2008-01-27 23:10:41 +00:00
inputStream_file.c added InputStream.ready 2008-08-26 08:27:10 +02:00
inputStream_file.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream_http_auth.h http: initial rewrite using ringbuffer + pthreads 2008-06-30 02:43:13 +00:00
inputStream_http.c added InputStream.ready 2008-08-26 08:27:10 +02:00
inputStream_http.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream.c added InputStream.ready 2008-08-26 08:27:10 +02:00
inputStream.h added InputStream.ready 2008-08-26 08:27:10 +02:00
interface.c Fix the problem of songs not advancing without client activity 2008-04-12 09:46:11 +00:00
interface.h clean up CPP includes 2008-04-12 04:19:26 +00:00
ioops.c Always compile ioops.h, since main_notify uses it now 2008-04-13 18:04:02 +00:00
ioops.h Always compile ioops.h, since main_notify uses it now 2008-04-13 18:04:02 +00:00
list.c clean up CPP includes 2008-04-12 04:19:26 +00:00
list.h clean up CPP includes 2008-04-12 04:19:26 +00:00
listen.c unlink the socket before bind() 2008-04-12 04:20:56 +00:00
listen.h clean up CPP includes 2008-04-12 04:19:26 +00:00
locate.c converted MpdTagItem.type to an enum 2008-08-26 08:27:09 +02:00
locate.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
log.c fix sign compare warnings 2008-04-12 04:06:52 +00:00
log.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
ls.c renamed functions in decoder_list.h 2008-08-26 08:27:09 +02:00
ls.h renamed inputPlugin.* to decoder_list.* 2008-08-26 08:27:08 +02:00
main_notify.c use the notify library in main_notify.c 2008-08-26 08:27:05 +02:00
main_notify.h Fix the problem of songs not advancing without client activity 2008-04-12 09:46:11 +00:00
main.c moved code to player_thread.c 2008-08-26 08:27:09 +02:00
Makefile.am moved code to player_thread.c 2008-08-26 08:27:09 +02:00
metadataChunk.c Drop metadata updates from HTTP for now (input HTTP, and shout) 2008-04-12 04:08:12 +00:00
metadataChunk.h Drop metadata updates from HTTP for now (input HTTP, and shout) 2008-04-12 04:08:12 +00:00
mpd_types.h clean up CPP includes 2008-04-12 04:19:26 +00:00
myfprintf.c clean up CPP includes 2008-04-12 04:19:26 +00:00
myfprintf.h clean up CPP includes 2008-04-12 04:19:26 +00:00
normalize.c const pointers in normalize.c 2008-04-15 05:56:54 +00:00
normalize.h moved struct AudioFormat to audio_format.h 2008-08-26 08:27:06 +02:00
notify.c notify: don't use camelCase in notify.[ch] 2008-06-01 22:24:44 +00:00
notify.h notify: don't use camelCase in notify.[ch] 2008-06-01 22:24:44 +00:00
os_compat.h os_compat.h: add sys/uio.h for writev/readv 2008-06-30 02:42:34 +00:00
outputBuffer.c moved convState to struct decoder 2008-08-26 08:27:06 +02:00
outputBuffer.h eliminate OUTPUT_BUFFER_DC_STOP, OUTPUT_BUFFER_DC_SEEK 2008-08-26 08:27:07 +02:00
path.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
path.h clean up CPP includes 2008-04-12 04:19:26 +00:00
pcm_utils.c enable -Wpointer-arith, -Wstrict-prototypes 2008-08-26 08:27:02 +02:00
pcm_utils.h moved struct AudioFormat to audio_format.h 2008-08-26 08:27:06 +02:00
permission.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
permission.h clean up CPP includes 2008-04-12 04:19:26 +00:00
player_thread.c fix a comment regarding the player queue 2008-08-26 08:27:17 +02:00
player_thread.h moved code to player_thread.c 2008-08-26 08:27:09 +02:00
player.c queueSong() cannot fail 2008-08-26 08:27:17 +02:00
player.h queueSong() cannot fail 2008-08-26 08:27:17 +02:00
playerData.c added PlayerControl.command 2008-08-26 08:27:07 +02:00
playerData.h clean up CPP includes 2008-08-26 08:27:03 +02:00
playlist.c queueSong() cannot fail 2008-08-26 08:27:17 +02:00
playlist.h playlist: eliminate unused fd parameters 2008-08-26 08:27:16 +02:00
replayGain.c constant pointers in replayGain.c 2008-04-12 04:21:28 +00:00
replayGain.h moved struct AudioFormat to audio_format.h 2008-08-26 08:27:06 +02:00
ringbuf.c fixed ringbuf.c warnings 2008-08-25 15:49:06 +02:00
ringbuf.h fixed ringbuf.c warnings 2008-08-25 15:49:06 +02:00
sig_handlers.c clean up CPP includes 2008-08-26 08:27:03 +02:00
sig_handlers.h clean up CPP includes 2008-04-12 04:19:26 +00:00
signal_check.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
signal_check.h clean up CPP includes 2008-04-12 04:19:26 +00:00
sllist.c clean up CPP includes 2008-04-12 04:19:26 +00:00
sllist.h clean up CPP includes 2008-04-12 04:19:26 +00:00
song.c assert song->url != NULL 2008-08-26 08:27:11 +02:00
song.h song: document get_song_url() 2008-04-12 04:08:18 +00:00
state_file.c unsigned counters 2008-03-26 10:38:48 +00:00
state_file.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
stats.c clean up CPP includes 2008-04-12 04:19:26 +00:00
stats.h clean up CPP includes 2008-04-12 04:19:26 +00:00
storedPlaylist.c clean up CPP includes 2008-04-12 04:19:26 +00:00
storedPlaylist.h clean up CPP includes 2008-04-12 04:19:26 +00:00
tag.c converted MpdTagItem.type to an enum 2008-08-26 08:27:09 +02:00
tag.h converted MpdTagItem.type to an enum 2008-08-26 08:27:09 +02:00
tagTracker.c whitespace cleanup 2008-04-12 04:19:32 +00:00
tagTracker.h clean up CPP includes 2008-04-12 04:19:26 +00:00
timer.c fixed -Wshadow warnings 2008-01-26 12:46:21 +00:00
timer.h moved struct AudioFormat to audio_format.h 2008-08-26 08:27:06 +02:00
tree.c enable -Wpointer-arith, -Wstrict-prototypes 2008-08-26 08:27:02 +02:00
tree.h fix -Waggregate-return 2008-01-26 12:46:30 +00:00
utf8.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
utf8.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
utils.c utils: pthread_{mutex,cond}_init can fail, so check for it 2008-06-30 02:43:17 +00:00
utils.h utils: pthread_{mutex,cond}_init can fail, so check for it 2008-06-30 02:43:17 +00:00
volume.c enable -Wpointer-arith, -Wstrict-prototypes 2008-08-26 08:27:02 +02:00
volume.h clean up CPP includes 2008-04-12 04:19:26 +00:00
zeroconf.c enable -Wpointer-arith, -Wstrict-prototypes 2008-08-26 08:27:02 +02:00
zeroconf.h zeroconf: reformat (with mpd-indent.sh + manual tweaks) 2008-01-03 10:03:28 +00:00