aboutsummaryrefslogtreecommitdiffstats
path: root/src/sticker/SongSticker.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-12sticker/Song: add enum StickerOperator to sticker_song_find()Max Kellermann1-1/+4
2014-12-12sticker/Database: use the Error libraryMax Kellermann1-6/+10
2014-12-04SongSticker: remove obsolete documentationMax Kellermann1-2/+1
2014-02-04SongSticker: add Database reference parameterMax Kellermann1-2/+2
2014-01-29sticker: don't use classes Directory and SongMax Kellermann1-2/+2
Don't depend on the "simple" database plugin. This fixes an assertion failure / crash and allows using stickers with other plugins.
2014-01-24Sticker*: move to sticker/Max Kellermann1-0/+0
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-7/+7
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-08SongSticker: use Song referencesMax Kellermann1-5/+5
2013-11-28include cleanup using iwyuMax Kellermann1-1/+1
2013-10-19*: use references instead of pointersMax Kellermann1-2/+2
2013-10-17StickerDatabase: return std::stringMax Kellermann1-1/+6
2013-09-04util/Error: new error passing libraryMax Kellermann1-2/+0
Replaces GLib's GError.
2013-07-28song: convert header to C++Max Kellermann1-7/+7
2013-01-30TagPool, ...: include cleanupMax Kellermann1-3/+3
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-2/+2
2013-01-02sticker: convert to C++Max Kellermann1-4/+3
2012-02-02directory: require the caller to lock the db_mutexMax Kellermann1-0/+2
Reduce the number of lock/unlock cycles, and make database handling safer.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-04-28sticker: added sticker_delete_value()Max Kellermann1-0/+7
sticker_delete_value() deletes only one value in a sticker, while the old function sticker_delete() deletes all values.
2009-04-01song_sticker: added song_sticker_find()Max Kellermann1-0/+16
This is a wrapper for sticker_find(), which looks up the song object.
2009-03-14sticker: don't export sticker_list_values()Max Kellermann1-7/+0
sticker_list_values() is only used internally in sticker.c. Remove sticker_song_list_values() completely, it is superseded by sticker_song_get().
2009-03-14sticker: added "struct sticker"Max Kellermann1-0/+10
The sticker struct can be used for enumerating values. This will replace the sticker_list_values() function.
2009-03-13all: Update copyright header.Avuton Olrich1-3/+4
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-03-11Move from the opaque GPtrArray to GHashTable for sticker lists.Eric Wollesen1-5/+3
2009-03-03Add sticker list command.Eric Wollesen1-0/+10
[mk: merged memory leak patch; fixed indentation (tabs); fixed documentation typo]
2009-01-19sticker: added song sticker libraryMax Kellermann1-9/+24
This is a wrapper for the backend sticker library. It provides several glue functions which take a song object instead of type/uri.
2009-01-07pcm_prng: renamed prng() to pcm_prng()Max Kellermann1-1/+2
2009-01-03pcm_utils: use the custom PRNG for volume ditheringMax Kellermann1-11/+9
Don't use libc's rand() function, because it is slow. Our own trivial linear congruential generator is good enough for dithering.
2008-12-30listen: moved redirect_stdin() to daemon.cMax Kellermann1-0/+6
redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD.
2008-12-30main: moved daemonize() to daemon.cMax Kellermann1-12/+5
2008-12-27cmdline: use gboolean instead of intMax Kellermann1-4/+6
Prepare for the migration to the GLib option parser, which uses gboolean for flags.
2008-12-27moved command line parser to cmdline.cMax Kellermann1-7/+13
2008-10-31added prefix to header macrosMax Kellermann1-2/+2
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
2008-10-08don't include os_compat.hMax Kellermann1-1/+1
When there are standardized headers, use these instead of the bloated os_compat.h.
2008-09-09output: moved code from audioOutput.c to output_control.cMax Kellermann1-19/+0
Similar to decoder_control.c, output_control.c will provide functions for controlling the output thread (which will be implemented later).
2008-09-09output: removed keepAudioOutputAlive() declarationMax Kellermann1-1/+0
This function is declared, but is neither used nor implemented.
2008-09-08output: static audio_output_plugin list as arrayMax Kellermann1-17/+0
Instead of having to register each output plugin, store them statically in an array. This eliminates the need for the List library here, and saves some small allocations during startup.
2008-09-07output: renamed typedef AudioOutput to struct audio_outputMax Kellermann1-21/+22
Also rename AudioOutputPlugin to struct audio_output_plugin, and use forward declarations to reduce include dependencies.
2008-09-07output: added output_api.hMax Kellermann1-64/+3
Just like decoder_api.h, output_api.h provides the audio output API which is used by the plugins.
2008-09-07audio_format: converted typedef AudioFormat to struct audio_formatMax Kellermann1-4/+4
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies.
2008-08-29tag: renamed MpdTag and MpdTagItem to struct tag, struct mpd_tag_itemMax Kellermann1-2/+3
Getting rid of CamelCase; not having typedefs also allows us to forward-declare the structures.
2008-08-29pass constant pointersMax Kellermann1-2/+2
And again, convert arguments to const.
2008-08-26moved struct AudioFormat to audio_format.hMax Kellermann1-1/+1
We want to expose the AudioFormat structure to plugins; remove some clutter by moving its declaration to a separate header file.
2008-04-12const pointers in audioOutput.cMax Kellermann1-1/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@7345 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-12use size_t in audioOutput.c internalsMax Kellermann1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@7294 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-12use size_t and constant pointer in ao pluginsMax Kellermann1-2/+3
The audio output plugins should get a constant pointer, because they must not modify the buffer. Since the size is a non-negative buffer size in bytes, we should change its type to size_t. git-svn-id: https://svn.musicpd.org/mpd/trunk@7293 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-02-05fix -Wconst warningsMax Kellermann1-3/+3
[ew: cleaned up the dirty union hack a bit] Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-01-26fixed invalid C prototypesMax Kellermann1-1/+1
Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7142 09075e82-0dd4-0310-85a5-a0d7c8717e4f