summaryrefslogtreecommitdiffstats
path: root/src/mixer/playerinfo.h
AgeCommit message (Collapse)Author
2020-12-31Fix current track display/broadcasting/recording when starting auto-DJDaniel Schürmann
2020-12-02Merge branch '2.3' of github.com:mixxxdj/mixxx into cleanup-headersJan Holthuis
2020-11-19Pass non-trivial/large function args by referenceJan Holthuis
Fixes a bunch of `-Wclazy-function-args-by-ref` warnings. See https://github.com/KDE/clazy/blob/master/docs/checks/README-function-args-by-ref.md for details. Most of these changes are automated, using the clazy fixit by setting the `CLAZY_EXPORT_FIXES` before compilation and then running: $ mkdir /tmp/patch $ find ../src -iname "*.yaml" -exec mv {} /tmp/patch \; $ clang-apply-replacements /tmp/patch
2020-11-10Remove long copyright headersxerus2000
2020-11-10Use #pragma once everywherexerus2000
2020-09-29replace #include "track/track.h" by "track_decl.h" in all header filesDaniel Schürmann
2020-08-04mixer/playerinfo: Make implicit PlayerInfo creation explicitJan Holthuis
Until now, the `PlayerInfo` singleton was instantiated implicitly when it was first accessed. This commit makes the instantiation explicit by adding a dedicated `PlayerInfo::create()` method. When running tests directly via `mixxx-test` (i.e. not a via `ctest`), all tests will be executed in the *same* process. Thus, the singleton will be instantiated by the first test that accessses the instance, but stay alive until `mixxx-test` is terminated. The `PlayerInfo` instance will repeatedly call `updateCurrentlyPlayingDeck()` through the `timerEvent()` mehtod during its lifetime. This will access some COs, e.g. `[Master],num_decks`. Depending on the currently running test, these COs may or may not be present. When `QCoreApplication::processEvents()` is called, there might be a `timerEvent()` in the queue and will cause CO access. If the CO is *not* present for that test, the test will throw a `DEBUG_ASSERT`. By making the singleton instantiation more explicit, we can add `PlayerInfo::create()` and `PlayerInfo::destroy()` calls only to the constructor/destructor of text fixtures that need it, and ensure that the timer doesn't cause failed debug assertions in unrelated tests. This fixes the remaining `DEBUG_ASSERT` issues and paves the way for merging PR #2911.
2020-06-01Use override keyword in mixer classesDaniel Schürmann
2017-03-26Implemented inhibit on playJosepMaJAZ
2016-04-27Replace use of "slave" with "proxy" or "follower" everywhere.RJ Ryan
2016-04-27Move all Control classes to src/control.RJ Ryan
2016-04-26Rename TrackInfoObject to Track.RJ Ryan
At long last! Also move trackinfoobject.h/cpp to src/track/track.h/cpp.
2016-01-10Merge remote-tracking branch 'upstream/master' into ContrlObjectSlaveDirectDaniel Schürmann
Conflicts: src/dlgprefshoutcast.cpp src/dlgprefshoutcast.h
2016-01-09Move classes that represent mixing "devices" into mixer/.RJ Ryan
PlayerManager should be renamed MixerManager at some point. I didn't to avoid causing too many merge conflicts.