mpd/src
Max Kellermann 2f76db4c78 output: close device on play error
When an output plugin fails to play a chunk, close it.  This replaces
various manual close() calls in nearly all plugins.
2008-10-29 20:40:33 +01:00
..
decoder decoder: automatically flush the output buffer after decoder exits 2008-10-29 17:29:06 +01:00
output output: close device on play error 2008-10-29 20:40:33 +01:00
ack.h ack: converted ACK_ERROR_* macros to enum 2008-10-22 21:40:32 +02:00
audio_format.h audio_format: added audio_format_frame_size() 2008-10-10 14:41:37 +02:00
audio.c output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
audio.h output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
audioOutput.c output: moved code from audioOutput.c to output_control.c 2008-09-09 10:02:34 +02:00
audioOutput.h don't include os_compat.h 2008-10-08 10:49:29 +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
client.c command: no CamelCase 2008-10-22 21:40:44 +02:00
client.h client: converted permissions to unsigned 2008-10-17 23:53:28 +02:00
command.c command: removed range check from check_bool() 2008-10-26 16:19:33 +01:00
command.h command: use the bool datatype instead of int 2008-10-22 21:41:54 +02: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 don't include os_compat.h 2008-10-08 10:49:29 +02:00
condition.h don't include os_compat.h 2008-10-08 10:49:29 +02: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 audio_format: renamed sampleRate to sample_rate 2008-10-10 14:40:54 +02:00
crossfade.h audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
database.c utils: use g_str_has_prefix() instead of prefixcmp() 2008-10-28 20:33:56 +01:00
database.h database: renamed get_get_song() to db_get_song() 2008-10-09 16:26:09 +02:00
dbUtils.c stored_playlist: no CamelCase 2008-10-22 17:21:59 +02:00
dbUtils.h pass "struct client" to dbUtils.c, song.c, tag_print.c 2008-09-07 13:53:55 +02:00
decoder_api.c decoder: automatically flush the output buffer after decoder exits 2008-10-29 17:29:06 +01:00
decoder_api.h decoder: automatically flush the output buffer after decoder exits 2008-10-29 17:29:06 +01:00
decoder_control.c don't include os_compat.h 2008-10-08 10:49:29 +02:00
decoder_control.h notify: removed the "Notify" typedef 2008-10-08 10:49:16 +02:00
decoder_internal.h pcm_utils: renamed ConvState to struct pcm_convert_state 2008-10-21 21:59:43 +02:00
decoder_list.c ffmpeg: new decoder plugin 2008-10-17 22:27:33 +02:00
decoder_list.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
decoder_thread.c decoder: automatically flush the output buffer after decoder exits 2008-10-29 17:29:06 +01:00
decoder_thread.h renamed decoderInit() to decoder_thread_start() 2008-08-26 08:44:29 +02:00
directory_print.c directory: moved dirvec struct declaration to dirvec.h 2008-10-09 15:24:05 +02:00
directory_print.h diretory: moved code to directory_save.c, directory_print.c 2008-10-09 15:23:37 +02:00
directory_save.c utils: use g_str_has_prefix() instead of prefixcmp() 2008-10-28 20:33:56 +01:00
directory_save.h diretory: moved code to directory_save.c, directory_print.c 2008-10-09 15:23:37 +02:00
directory.c path: replaced mpd_basename() with g_path_get_basename() 2008-10-20 22:18:12 +02:00
directory.h directory: added directory_get_name() 2008-10-13 16:32:39 +02:00
dirvec.c dirvec: fixed GCC shadow warning 2008-10-26 21:28:16 +01:00
dirvec.h dirvec: add dirvec_for_each iterator 2008-10-21 01:30:30 +02:00
dlist.h imported list.h from the Linux kernel sources 2008-08-28 20:02:20 +02:00
gcc.h gcc.h: fix compilation with !(gcc >= 3) 2008-01-27 23:10:41 +00:00
idle.c command: added command "idle" 2008-10-14 22:38:14 +02:00
idle.h command: added command "idle" 2008-10-14 22:38:14 +02:00
input_curl.c input_stream: convert offset and size to the off_t data type 2008-10-28 20:39:09 +01:00
input_curl.h input_stream: added struct input_plugin 2008-10-26 20:38:44 +01:00
input_file.c input_file: don't use buffered I/O 2008-10-28 20:41:24 +01:00
input_file.h input_stream: added struct input_plugin 2008-10-26 20:38:44 +01:00
input_stream.c input_stream: convert offset and size to the off_t data type 2008-10-28 20:39:09 +01:00
input_stream.h input_stream: convert offset and size to the off_t data type 2008-10-28 20:39:09 +01:00
ioops.c don't include os_compat.h 2008-10-08 10:49:29 +02:00
ioops.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
list.c don't include os_compat.h 2008-10-08 10:49:29 +02:00
list.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
listen.c listen: fix "struct ucred" check 2008-10-18 18:21:49 +02:00
listen.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
locate.c locate: use g_utf8_casefold() instead of string_toupper() 2008-10-15 19:36:37 +02:00
locate.h song: converted typedef Song to struct song 2008-10-08 10:49:11 +02:00
log.c don't include os_compat.h 2008-10-08 10:49:29 +02:00
log.h CPP include cleanup 2008-10-08 10:49:26 +02:00
ls.c utils: use g_str_has_prefix() instead of prefixcmp() 2008-10-28 20:33:56 +01:00
ls.h command: added print_spl_list() 2008-10-22 19:16:35 +02:00
main_notify.c don't include os_compat.h 2008-10-08 10:49:29 +02:00
main_notify.h main_notify: define main_task so we can use it for assertions 2008-10-06 18:31:59 +02:00
main.c utils: use g_str_has_prefix() instead of prefixcmp() 2008-10-28 20:33:56 +01:00
Makefile.am output: don't compile plugins which are disabled 2008-10-26 21:58:37 +01:00
mapper.c mapper: don't return database path with leading slash 2008-10-19 00:05:39 +02:00
mapper.h mapper: moved musicDir initialization from path.c 2008-10-15 19:36:33 +02:00
metadata_pipe.c Switch to C99 types (retaining compat with old compilers) 2008-09-29 13:29:33 +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
normalize.c audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
normalize.h audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
notify.c use the "bool" data type instead of "int" 2008-10-08 11:03:39 +02:00
notify.h use the "bool" data type instead of "int" 2008-10-08 11:03:39 +02:00
os_compat.h assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
output_api.c output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
output_api.h output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
output_control.c output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
output_control.h output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
output_init.c output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
output_internal.h output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
output_list.c pulse: no CamelCase 2008-10-29 20:37:15 +01:00
output_list.h output: don't compile plugins which are disabled 2008-10-26 21:58:37 +01:00
output_thread.c output: close device on play error 2008-10-29 20:40:33 +01:00
output_thread.h output: one thread per audio output 2008-09-24 07:20:26 +02:00
outputBuffer.c output_buffer: don't split frames 2008-10-23 16:48:49 +02:00
outputBuffer.h output_buffer: converted ob_is_empty() to inline 2008-10-12 00:42:22 +02:00
path.c path: removed pathcpy_trunc() 2008-10-20 22:18:42 +02:00
path.h path: removed pathcpy_trunc() 2008-10-20 22:18:42 +02:00
pcm_channels.c pcm_channels: added 24 bit implementations 2008-10-23 20:04:37 +02:00
pcm_channels.h pcm_channels: added 24 bit implementations 2008-10-23 20:04:37 +02:00
pcm_dither.c pcm_dither: added generic 24 to 16 bit dithering 2008-10-23 16:58:07 +02:00
pcm_dither.h pcm_dither: added generic 24 to 16 bit dithering 2008-10-23 16:58:07 +02:00
pcm_resample_fallback.c pcm_resample: implemented 24 bit resampling 2008-10-23 20:02:51 +02:00
pcm_resample_libsamplerate.c pcm_resample: support for libsamplerate < 0.1.3 2008-10-24 08:41:34 +02:00
pcm_resample.c pcm_utils: moved code to pcm_resample.c 2008-10-23 20:00:51 +02:00
pcm_resample.h pcm_resample: implemented 24 bit resampling 2008-10-23 20:02:51 +02:00
pcm_utils.c pcm_utils: added 24 bit conversion functions 2008-10-23 20:11:37 +02:00
pcm_utils.h pcm_utils: moved code to pcm_resample.c 2008-10-23 20:00:51 +02:00
permission.c client: converted permissions to unsigned 2008-10-17 23:53:28 +02:00
permission.h client: converted permissions to unsigned 2008-10-17 23:53:28 +02:00
player_control.c command: added command "idle" 2008-10-14 22:38:14 +02:00
player_control.h player: added commands QUEUE and CANCEL 2008-10-12 00:07:54 +02:00
player_thread.c output: use bool for return values and flags 2008-10-29 20:40:27 +01:00
player_thread.h moved code to player_thread.c 2008-08-26 08:27:09 +02:00
playerData.c CPP include cleanup 2008-10-08 10:49:26 +02:00
playerData.h moved code to pc_init(), dc_init() 2008-08-26 08:45:14 +02:00
playlist_save.c stored_playlist: don't map files outside the database 2008-10-23 09:54:42 +02:00
playlist_save.h playlist: moved code to playlist_save.c 2008-10-14 11:10:47 +02:00
playlist.c utils: use g_str_has_prefix() instead of prefixcmp() 2008-10-28 20:33:56 +01:00
playlist.h stored_playlist: renamed and moved spl_delete() to stored_playlist.c 2008-10-23 09:54:32 +02:00
replayGain.c assume stdint.h and stddef.h are available 2008-09-29 15:53:53 +02:00
replayGain.h audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
ringbuf.c don't include os_compat.h 2008-10-08 10:49:29 +02:00
ringbuf.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
sig_handlers.c database: renamed functions, "db_" prefix and no CamelCase 2008-10-08 11:07:55 +02:00
sig_handlers.h clean up CPP includes 2008-04-12 04:19:26 +00:00
signal_check.c signal_check.c: don't use leading underscores 2008-10-20 22:18:03 +02:00
signal_check.h clean up CPP includes 2008-04-12 04:19:26 +00:00
sllist.c don't include os_compat.h 2008-10-08 10:49:29 +02:00
sllist.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
song_print.c directory: fix update in root directory 2008-10-08 11:55:52 +02:00
song_print.h song: converted typedef Song to struct song 2008-10-08 10:49:11 +02:00
song_save.c directory: eliminate CamelCase 2008-10-08 11:07:58 +02:00
song_save.h song: converted typedef Song to struct song 2008-10-08 10:49:11 +02:00
song.c song: check file type in song_file_update() 2008-10-15 22:43:24 +02:00
song.h playlist: added support for adding songs not in the music database 2008-10-15 22:35:13 +02:00
songvec.c update: fix multiple deletes from *vec iterators 2008-10-21 01:35:11 +02:00
songvec.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
state_file.c don't include os_compat.h 2008-10-08 10:49:29 +02: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 database: renamed functions, "db_" prefix and no CamelCase 2008-10-08 11:07:55 +02:00
stats.h stats: don't pass "fd" to printStats() 2008-09-07 14:02:57 +02:00
stored_playlist.c stored_playlist: fixed signed comparison warning 2008-10-26 16:26:44 +01:00
stored_playlist.h stored_playlist: renamed and moved spl_delete() to stored_playlist.c 2008-10-23 09:54:32 +02:00
strset.c strset: fix duplicate values 2008-09-08 12:07:08 +02:00
strset.h added string set library 2008-09-08 11:46:04 +02:00
tag_id3.c Makefile.am: don't compile disabled sources 2008-10-17 21:13:23 +02:00
tag_id3.h Makefile.am: don't compile disabled sources 2008-10-17 21:13:23 +02:00
tag_internal.h CPP include cleanup 2008-10-08 10:49:26 +02:00
tag_pool.c tag_item: avoid wasting space when struct is unpackable 2008-10-13 09:40:14 +02:00
tag_pool.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
tag_print.c pass "struct client" to dbUtils.c, song.c, tag_print.c 2008-09-07 13:53:55 +02:00
tag_print.h pass "struct client" to dbUtils.c, song.c, tag_print.c 2008-09-07 13:53:55 +02:00
tag_save.c tag: added buffered versions of the tag_print.c code 2008-09-07 13:36:05 +02:00
tag_save.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
tag.c don't include os_compat.h 2008-10-08 10:49:29 +02:00
tag.h tag_item: avoid wasting space when struct is unpackable 2008-10-13 09:40:14 +02:00
timer.c audio_format: added audio_format_frame_size() 2008-10-10 14:41:37 +02:00
timer.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
update.c path: replaced mpd_basename() with g_path_get_basename() 2008-10-20 22:18:12 +02:00
update.h update: make the job id unsigned 2008-10-09 19:20:05 +02:00
utf8.c added "length" parameter to validUtf8String() 2008-08-29 09:38:58 +02:00
utf8.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
utils.c utils: use g_str_has_prefix() instead of prefixcmp() 2008-10-28 20:33:56 +01:00
utils.h utils: use g_str_has_prefix() instead of prefixcmp() 2008-10-28 20:33:56 +01:00
volume.c utils: use g_str_has_prefix() instead of prefixcmp() 2008-10-28 20:33:56 +01:00
volume.h don't include os_compat.h 2008-10-08 10:49:29 +02:00
zeroconf.c Makefile.am: don't compile disabled sources 2008-10-17 21:13:23 +02:00
zeroconf.h zeroconf: reformat (with mpd-indent.sh + manual tweaks) 2008-01-03 10:03:28 +00:00