summaryrefslogtreecommitdiff
path: root/src/Partition.cxx
AgeCommit message (Collapse)Author
2017-03-10Partition: handle SYNC_WITH_PLAYER before TAG_MODIFIEDMax Kellermann
The TAG_MODIFIED handler (i.e. playlist::TagModified()) works only if the modified song is the current song - something that is not updated until SYNC_WITH_PLAYER is finished. This fixes tag updates right after a new song is started.
2017-01-03update copyright yearMax Kellermann
2016-12-03decoder/Control: add attribute configured_audio_formatMax Kellermann
Obsoletes the same variable from AudioConfig.cxx.
2016-12-03ReplayGainGlobal: move replay_gain_mode to struct PartitionMax Kellermann
2016-12-03Partition: pass ReplayGainConfig to constructorMax Kellermann
2016-12-03player/Control: make ReplayGainConfig constMax Kellermann
2016-11-25{decoder,player}/Control: add ReplayGain{Config,Mode} attributesMax Kellermann
Don't use the global variables in class DecoderBridge; instead, forward these values to the decoder thread via PlayerControl and DecoderControl.
2016-11-24ReplayGainMode: convert to strictly-typed enumMax Kellermann
2016-11-24Partition: add UpdateEffectiveReplayGainMode()Max Kellermann
Move code from replay_gain_get_real_mode().
2016-10-26Instance: remove Error parameter from GetDatabase()Max Kellermann
2016-10-26Instance: add GetDatabaseOrThrow()Max Kellermann
2016-06-17util/BindMethod: new utility class for callbacksMax Kellermann
Replaces the old BoundMethod template.
2016-03-10Partition: use Instance::EmitIdle()Max Kellermann
2016-03-10Partition: eliminate GlobalEvents.hxx, add mask constantsMax Kellermann
2016-03-10Partition: use CallbackMaskMonitor, replacing class GlobalEvents::MonitorMax Kellermann
2016-03-10Instance: move GlobalEvents::Monitor to PartitionMax Kellermann
All remaining events are specific to the Partition.
2016-03-10queue/Playlist: add interface QueueListener, replacing calls to idle_add()Max Kellermann
2016-03-05Partition: un-inline the constructorMax Kellermann
2016-03-05GlobalEvents: expose the internal classMax Kellermann
Move the GlobalEvents::Monitor instance into class Instance. Eliminate all global variables.
2016-03-05Partition: add method EmitIdle()Max Kellermann
Prepare for moving idle events to class Partition. Right now, it's just a wrapper for idle_add().
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-08-06Partition: add method GetDatabase()Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-02-21PlayerListener: new interface to replace GlobalEvents accessMax Kellermann
2014-02-19Mixer: add class MixerListenerMax Kellermann
Use a listener interface instead of GlobalEvents.
2014-02-01Playlist: pass Database to DatabaseModified()Max Kellermann
Don't use global variable.
2014-02-01Partition: disable DatabaseModified() if not ENABLE_DATABASEMax Kellermann
2014-01-28OutputAll: convert to class, move instance to class PartitionMax Kellermann
Another big chunk of code for multi-player support.
2014-01-13copyright year 2014Max Kellermann
2014-01-09DetachedSong: fork of struct SongMax Kellermann
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2013-10-22Playlist: refresh new tags after database updateMax Kellermann
Fixes regression from commit e96779d.
2013-10-22Partition: add method DatabaseModified()Max Kellermann
2013-10-22Playlist: copy stream tags from the PlayerThreadMax Kellermann
Finally restores an important feature that has been broken for several months when the PlayerThread started working with Song copies instead of pointers to the Queue's Song instances (commit e96779d).
2013-10-21Partition: add methods TagModified(), SyncWithPlayer()Max Kellermann
Move code from class Instance.