Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
f9fc3a42
Commit
f9fc3a42
authored
Jan 15, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fifo_buffer: move to util/
parent
76bc28ab
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
23 additions
and
23 deletions
+23
-23
Makefile.am
Makefile.am
+10
-10
ClientNew.cxx
src/ClientNew.cxx
+1
-1
ClientRead.cxx
src/ClientRead.cxx
+1
-1
InotifySource.cxx
src/InotifySource.cxx
+1
-1
flac_encoder.c
src/encoder/flac_encoder.c
+2
-2
null_encoder.c
src/encoder/null_encoder.c
+2
-2
wave_encoder.c
src/encoder/wave_encoder.c
+2
-2
httpd_client.c
src/output/httpd_client.c
+1
-1
osx_output_plugin.c
src/output/osx_output_plugin.c
+1
-1
text_input_stream.c
src/text_input_stream.c
+1
-1
fifo_buffer.c
src/util/fifo_buffer.c
+0
-0
fifo_buffer.h
src/util/fifo_buffer.h
+0
-0
growing_fifo.c
src/util/growing_fifo.c
+0
-0
growing_fifo.h
src/util/growing_fifo.h
+0
-0
run_convert.c
test/run_convert.c
+1
-1
No files found.
Makefile.am
View file @
f9fc3a42
...
@@ -208,8 +208,6 @@ src_mpd_SOURCES = \
...
@@ -208,8 +208,6 @@ src_mpd_SOURCES = \
src/DatabaseSelection.cxx src/DatabaseSelection.hxx
\
src/DatabaseSelection.cxx src/DatabaseSelection.hxx
\
src/ExcludeList.cxx src/ExcludeList.hxx
\
src/ExcludeList.cxx src/ExcludeList.hxx
\
src/fd_util.c
\
src/fd_util.c
\
src/fifo_buffer.c src/fifo_buffer.h
\
src/growing_fifo.c src/growing_fifo.h
\
src/filter_config.c
\
src/filter_config.c
\
src/filter_plugin.c
\
src/filter_plugin.c
\
src/filter_registry.c
\
src/filter_registry.c
\
...
@@ -343,6 +341,8 @@ endif
...
@@ -343,6 +341,8 @@ endif
# Generic utility library
# Generic utility library
libutil_a_SOURCES
=
\
libutil_a_SOURCES
=
\
src/util/fifo_buffer.c src/util/fifo_buffer.h
\
src/util/growing_fifo.c src/util/growing_fifo.h
\
src/util/LazyRandomEngine.cxx src/util/LazyRandomEngine.hxx
\
src/util/LazyRandomEngine.cxx src/util/LazyRandomEngine.hxx
\
src/util/SliceBuffer.hxx
\
src/util/SliceBuffer.hxx
\
src/util/HugeAllocator.cxx src/util/HugeAllocator.hxx
\
src/util/HugeAllocator.cxx src/util/HugeAllocator.hxx
\
...
@@ -1077,6 +1077,7 @@ test_run_input_SOURCES = test/run_input.c \
...
@@ -1077,6 +1077,7 @@ test_run_input_SOURCES = test/run_input.c \
src/fd_util.c
src/fd_util.c
test_dump_text_file_LDADD
=
\
test_dump_text_file_LDADD
=
\
libutil.a
\
$(INPUT_LIBS)
\
$(INPUT_LIBS)
\
$(ARCHIVE_LIBS)
\
$(ARCHIVE_LIBS)
\
$(GLIB_LIBS)
$(GLIB_LIBS)
...
@@ -1085,7 +1086,7 @@ test_dump_text_file_SOURCES = test/dump_text_file.cxx \
...
@@ -1085,7 +1086,7 @@ test_dump_text_file_SOURCES = test/dump_text_file.cxx \
src/IOThread.cxx
\
src/IOThread.cxx
\
src/ConfigFile.cxx src/tokenizer.c src/utils.c src/string_util.c
\
src/ConfigFile.cxx src/tokenizer.c src/utils.c src/string_util.c
\
src/Tag.cxx src/TagNames.c src/TagPool.cxx
\
src/Tag.cxx src/TagNames.c src/TagPool.cxx
\
src/text_input_stream.c
src/fifo_buffer.c
\
src/text_input_stream.c
\
src/uri.c
\
src/uri.c
\
src/fd_util.c
src/fd_util.c
...
@@ -1106,7 +1107,7 @@ test_dump_playlist_SOURCES = test/dump_playlist.cxx \
...
@@ -1106,7 +1107,7 @@ test_dump_playlist_SOURCES = test/dump_playlist.cxx \
src/Song.cxx src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagSave.cxx
\
src/Song.cxx src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagSave.cxx
\
src/tag_handler.c src/tag_file.c
\
src/tag_handler.c src/tag_file.c
\
src/audio_check.c src/pcm_buffer.c
\
src/audio_check.c src/pcm_buffer.c
\
src/text_input_stream.c
src/fifo_buffer.c
\
src/text_input_stream.c
\
src/cue/cue_parser.c src/cue/cue_parser.h
\
src/cue/cue_parser.c src/cue/cue_parser.h
\
src/fd_util.c
src/fd_util.c
...
@@ -1200,7 +1201,6 @@ if ENABLE_ENCODER
...
@@ -1200,7 +1201,6 @@ if ENABLE_ENCODER
noinst_PROGRAMS
+=
test
/run_encoder
noinst_PROGRAMS
+=
test
/run_encoder
test_run_encoder_SOURCES
=
test
/run_encoder.c
\
test_run_encoder_SOURCES
=
test
/run_encoder.c
\
test
/stdbin.h
\
test
/stdbin.h
\
src/fifo_buffer.c src/growing_fifo.c
\
src/ConfigFile.cxx src/tokenizer.c
\
src/ConfigFile.cxx src/tokenizer.c
\
src/utils.c src/string_util.c
\
src/utils.c src/string_util.c
\
src/Tag.cxx src/TagNames.c src/TagPool.cxx
\
src/Tag.cxx src/TagNames.c src/TagPool.cxx
\
...
@@ -1210,6 +1210,7 @@ test_run_encoder_SOURCES = test/run_encoder.c \
...
@@ -1210,6 +1210,7 @@ test_run_encoder_SOURCES = test/run_encoder.c \
test_run_encoder_LDADD
=
\
test_run_encoder_LDADD
=
\
$(ENCODER_LIBS)
\
$(ENCODER_LIBS)
\
libpcm.a
\
libpcm.a
\
libutil.a
\
$(TAG_LIBS)
\
$(TAG_LIBS)
\
$(GLIB_LIBS)
$(GLIB_LIBS)
endif
endif
...
@@ -1226,12 +1227,12 @@ test_test_vorbis_encoder_SOURCES = test/test_vorbis_encoder.c \
...
@@ -1226,12 +1227,12 @@ test_test_vorbis_encoder_SOURCES = test/test_vorbis_encoder.c \
src/audio_format.c
\
src/audio_format.c
\
src/audio_parser.c
\
src/audio_parser.c
\
src/pcm_buffer.c
\
src/pcm_buffer.c
\
src/fifo_buffer.c src/growing_fifo.c
\
$(ENCODER_SRC)
$(ENCODER_SRC)
test_test_vorbis_encoder_CPPFLAGS
=
$(AM_CPPFLAGS)
\
test_test_vorbis_encoder_CPPFLAGS
=
$(AM_CPPFLAGS)
\
$(ENCODER_CFLAGS)
$(ENCODER_CFLAGS)
test_test_vorbis_encoder_LDADD
=
$(MPD_LIBS)
\
test_test_vorbis_encoder_LDADD
=
$(MPD_LIBS)
\
$(ENCODER_LIBS)
\
$(ENCODER_LIBS)
\
libutil.a
\
$(GLIB_LIBS)
$(GLIB_LIBS)
endif
endif
...
@@ -1253,7 +1254,6 @@ test_run_normalize_LDADD = \
...
@@ -1253,7 +1254,6 @@ test_run_normalize_LDADD = \
test_run_convert_SOURCES
=
test
/run_convert.c
\
test_run_convert_SOURCES
=
test
/run_convert.c
\
src/dsd2pcm/dsd2pcm.c
\
src/dsd2pcm/dsd2pcm.c
\
src/fifo_buffer.c
\
src/audio_format.c
\
src/audio_format.c
\
src/audio_check.c
\
src/audio_check.c
\
src/audio_parser.c
src/audio_parser.c
...
@@ -1279,7 +1279,6 @@ test_run_output_SOURCES = test/run_output.cxx \
...
@@ -1279,7 +1279,6 @@ test_run_output_SOURCES = test/run_output.cxx \
src/audio_parser.c
\
src/audio_parser.c
\
src/timer.c src/clock.c
\
src/timer.c src/clock.c
\
src/Tag.cxx src/TagNames.c src/TagPool.cxx
\
src/Tag.cxx src/TagNames.c src/TagPool.cxx
\
src/fifo_buffer.c src/growing_fifo.c
\
src/page.c
\
src/page.c
\
src/socket_util.c
\
src/socket_util.c
\
src/resolver.c
\
src/resolver.c
\
...
@@ -1323,9 +1322,10 @@ if ENABLE_INOTIFY
...
@@ -1323,9 +1322,10 @@ if ENABLE_INOTIFY
noinst_PROGRAMS
+=
test
/run_inotify
noinst_PROGRAMS
+=
test
/run_inotify
test_run_inotify_SOURCES
=
test
/run_inotify.cxx
\
test_run_inotify_SOURCES
=
test
/run_inotify.cxx
\
src/fd_util.c
\
src/fd_util.c
\
src/fifo_buffer.c
\
src/InotifySource.cxx
src/InotifySource.cxx
test_run_inotify_LDADD
=
$(GLIB_LIBS)
test_run_inotify_LDADD
=
\
libutil.a
\
$(GLIB_LIBS)
endif
endif
test_test_byte_reverse_SOURCES
=
\
test_test_byte_reverse_SOURCES
=
\
...
...
src/ClientNew.cxx
View file @
f9fc3a42
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include "ClientList.hxx"
#include "ClientList.hxx"
#include "Partition.hxx"
#include "Partition.hxx"
#include "fd_util.h"
#include "fd_util.h"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
extern
"C"
{
extern
"C"
{
#include "resolver.h"
#include "resolver.h"
}
}
...
...
src/ClientRead.cxx
View file @
f9fc3a42
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "config.h"
#include "config.h"
#include "ClientInternal.hxx"
#include "ClientInternal.hxx"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/InotifySource.cxx
View file @
f9fc3a42
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "config.h"
#include "config.h"
#include "InotifySource.hxx"
#include "InotifySource.hxx"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include "fd_util.h"
#include "fd_util.h"
#include "mpd_error.h"
#include "mpd_error.h"
...
...
src/encoder/flac_encoder.c
View file @
f9fc3a42
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
#include "encoder_plugin.h"
#include "encoder_plugin.h"
#include "audio_format.h"
#include "audio_format.h"
#include "pcm_buffer.h"
#include "pcm_buffer.h"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include "growing_fifo.h"
#include "
util/
growing_fifo.h"
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/encoder/null_encoder.c
View file @
f9fc3a42
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
#include "config.h"
#include "config.h"
#include "encoder_api.h"
#include "encoder_api.h"
#include "encoder_plugin.h"
#include "encoder_plugin.h"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include "growing_fifo.h"
#include "
util/
growing_fifo.h"
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/encoder/wave_encoder.c
View file @
f9fc3a42
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
#include "config.h"
#include "config.h"
#include "encoder_api.h"
#include "encoder_api.h"
#include "encoder_plugin.h"
#include "encoder_plugin.h"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include "growing_fifo.h"
#include "
util/
growing_fifo.h"
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
...
...
src/output/httpd_client.c
View file @
f9fc3a42
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "config.h"
#include "httpd_client.h"
#include "httpd_client.h"
#include "httpd_internal.h"
#include "httpd_internal.h"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include "page.h"
#include "page.h"
#include "icy_server.h"
#include "icy_server.h"
#include "glib_socket.h"
#include "glib_socket.h"
...
...
src/output/osx_output_plugin.c
View file @
f9fc3a42
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "config.h"
#include "osx_output_plugin.h"
#include "osx_output_plugin.h"
#include "output_api.h"
#include "output_api.h"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include <glib.h>
#include <glib.h>
#include <CoreAudio/AudioHardware.h>
#include <CoreAudio/AudioHardware.h>
...
...
src/text_input_stream.c
View file @
f9fc3a42
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "config.h"
#include "config.h"
#include "text_input_stream.h"
#include "text_input_stream.h"
#include "input_stream.h"
#include "input_stream.h"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include <glib.h>
#include <glib.h>
...
...
src/fifo_buffer.c
→
src/
util/
fifo_buffer.c
View file @
f9fc3a42
File moved
src/fifo_buffer.h
→
src/
util/
fifo_buffer.h
View file @
f9fc3a42
File moved
src/growing_fifo.c
→
src/
util/
growing_fifo.c
View file @
f9fc3a42
File moved
src/growing_fifo.h
→
src/
util/
growing_fifo.h
View file @
f9fc3a42
File moved
test/run_convert.c
View file @
f9fc3a42
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#include "audio_format.h"
#include "audio_format.h"
#include "pcm_convert.h"
#include "pcm_convert.h"
#include "conf.h"
#include "conf.h"
#include "fifo_buffer.h"
#include "
util/
fifo_buffer.h"
#include "stdbin.h"
#include "stdbin.h"
#include <glib.h>
#include <glib.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment