aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-26 20:34:47 +0100
committerMax Kellermann <max@duempel.org>2008-10-26 20:34:47 +0100
commitdbc7e9ba2f57c71a9b73cd6d035ba2906190be72 (patch)
tree0f9a55ed4a533d4daf266f6748acb30830a6f095 /src/decoder_thread.c
parent97a9c7a8e094f830e70fdb479425c96e182f8b5e (diff)
downloadmpd-dbc7e9ba2f57c71a9b73cd6d035ba2906190be72.tar.gz
mpd-dbc7e9ba2f57c71a9b73cd6d035ba2906190be72.tar.xz
mpd-dbc7e9ba2f57c71a9b73cd6d035ba2906190be72.zip
input_stream: no CamelCase
Renamed all functions and variables.
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index d6171a5fe..3c56dfbcb 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -43,7 +43,7 @@ static void decodeStart(void)
song_get_url(song, path_max_fs);
dc.current_song = dc.next_song; /* NEED LOCK */
- if (openInputStream(&inStream, path_max_fs) < 0) {
+ if (input_stream_open(&inStream, path_max_fs) < 0) {
dc.error = DECODE_ERROR_FILE;
goto stop_no_close;
}
@@ -61,12 +61,12 @@ static void decodeStart(void)
if (dc.command != DECODE_COMMAND_NONE)
goto stop;
- ret = bufferInputStream(&inStream);
+ ret = input_stream_buffer(&inStream);
if (ret < 0)
goto stop;
}
- /* for http streams, seekable is determined in bufferInputStream */
+ /* for http streams, seekable is determined in input_stream_buffer */
dc.seekable = inStream.seekable;
if (dc.command == DECODE_COMMAND_STOP)
@@ -132,7 +132,7 @@ static void decodeStart(void)
continue;
if (plugin->file_decode != NULL) {
- closeInputStream(&inStream);
+ input_stream_close(&inStream);
close_instream = false;
decoder.plugin = plugin;
ret = plugin->file_decode(&decoder,
@@ -156,7 +156,7 @@ static void decodeStart(void)
stop:
if (close_instream)
- closeInputStream(&inStream);
+ input_stream_close(&inStream);
stop_no_close:
dc.state = DECODE_STATE_STOP;
dc.command = DECODE_COMMAND_NONE;