| Commit message (Collapse) | Author | Age |
|
|
|
| |
Replace a "static" buffer with the PCM buffer library.
|
|
|
|
| |
Replace a "static" buffer with the PCM buffer library.
|
|
|
|
|
|
| |
This library allocates temporary buffers for storing PCM conversion
results. It should replace all those "static" buffer variables which
are racy and never freed.
|
|
|
|
|
| |
Be sure that the output thread has quite before we start destructing
the output object.
|
|
|
|
|
| |
Free memory allocated by the notify object (GMutex, GCond) when it's
not used by the output object anymore.
|
| |
|
|
|
|
|
| |
Free memory allocated by libsamplerate when the output or the decoder
is closed.
|
|
|
|
|
| |
1024 is 2^10, and allows gcc to use bit shift operations instead of
multiplication / division.
|
|
|
|
|
| |
In generic PCM functions allowing all sample formats, pass a void
pointer instead of a char pointer.
|
| |
|
|
|
|
|
| |
All what's left in pcm_utils.h is the pcm_range() utility function,
which is only used internally by pcm_volume and pcm_mix.
|
|
|
|
| |
The function does not need the full pcm_convert_state struct.
|
|
|
|
| |
Moved all code which converts the sample format to a separate library.
|
| |
|
| |
|
|
|
|
|
| |
Moved the software mixing code (used by crossfading) to a separate
library.
|
|
|
|
| |
Moved the software volume code to a separate library.
|
|
|
|
|
| |
We are going to split the pcm_utils.c library, and pcm_range() will be
useful for several sub libraries.
|
|
|
|
| |
Get rid of the non-portable Linux list library, part III (final).
|
|
|
|
| |
Get rid of the non-portable Linux list library, part II.
|
|
|
|
| |
Get rid of the non-portable Linux list library, part I.
|
|
|
|
| |
Fix a typo in the icy-metadata patch.
|
|
|
|
|
| |
Declare and initialize MPD_LIBS and MPD_CFLAGS before the "OS specific
defaults" section.
|
|
|
|
| |
Both are unused.
|
|
|
|
|
| |
Yesterday's patch set changed tagItemFoundAndMatches() and moved the
strcmp() return value into a bool, but forgot to add the ==0 check.
|
|
|
|
| |
"#ifdef G_BYTE_ORDER == G_BIG_ENDIAN" cannot work, of course.
|
|
|
|
|
|
| |
Zeroconf, curl, libsamplerate. No libid3tag for now, because
libid3tag should be automatically disabled when no decoders using it
are enabled.
|
|
|
|
|
| |
Don't separate basic options from their according tests. Due to lots
of interdependencies, we won't do that for the plugins yet.
|
|
|
|
|
| |
Print input plugins first, then archive, metadatab, decoder,
converter, encoder, output plugins.
|
|
|
|
|
| |
Initialize the CFLAGS (warnings, errors) after all the libraries,
because some library checks may be broken with -Werror or -pedantic.
|
|
|
|
|
| |
AC_CHECK_HEADERS defines HAVE_LOCALE_H, so we don't have to manually
define HAVE_LOCALE.
|
|
|
|
|
| |
First do the checks for mandatory stuff (libc features, glib,
pkg-config), then all the options.
|
|
|
|
| |
Don't check for inttypes.h and langinfo.h.
|
| |
|
|
|
|
| |
Fix a typo.
|
|
|
|
| |
Use g_strndup() instead of g_memdup().
|
|
|
|
| |
Make db_load(), db_save() and db_check() return bool instead of int.
|
|
|
|
|
| |
For updating the database, directory_update_init() should be called
explicitly.
|
| |
|
|
|
|
| |
It's unused.
|
|
|
|
| |
The notify library is easier to use, and has no disadvantages.
|
| |
|
|
|
|
|
| |
Start the daemon after --create-db. This makes --create-db a flag
which discards the old database and starts with a fresh one.
|
| |
|
|
|
|
|
|
| |
Handle the DELETE and UPDATE events in separate callbacks:
song_delete_event() safely deletes a song, and update_finished_event()
is called when database update is complete.
|
|
|
|
|
| |
GLib mandates that you initialize all GError objects with NULL prior
to passing it.
|
|
|
|
|
| |
Pass NULL instead of &error to g_convert(). We're not interested in
the error object.
|
|
|
|
| |
Use GLib's g_build_filename() instead of pfx_dir().
|
| |
|
| |
|