Merge branch 'develop' for release v3.31.1

This commit is contained in:
emeric
2022-09-08 20:44:13 +02:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ LMS.mediaplayer = function () {
_audioCtx = new (window.AudioContext || window.webkitAudioContext)(); _audioCtx = new (window.AudioContext || window.webkitAudioContext)();
_gainNode = _audioCtx.createGain(); _gainNode = _audioCtx.createGain();
source = _audioCtx.createMediaElementSource(_elems.audio); let source = _audioCtx.createMediaElementSource(_elems.audio);
source.connect(_gainNode); source.connect(_gainNode);
_gainNode.connect(_audioCtx.destination); _gainNode.connect(_audioCtx.destination);
_audioCtx.resume(); // not sure of this _audioCtx.resume(); // not sure of this
+2 -2
View File
@@ -55,7 +55,7 @@ namespace UserInterface
{ {
TrackList::TrackList(Filters& filters, PlayQueueController& playQueueController) TrackList::TrackList(Filters& filters, PlayQueueController& playQueueController)
: Template {Wt::WString::tr("Lms.Explore.TrackList.template")} : Template {Wt::WString::tr("Lms.Explore.TrackList.template")}
, _filters {_filters} , _filters {filters}
, _playQueueController {playQueueController} , _playQueueController {playQueueController}
{ {
addFunction("tr", &Wt::WTemplate::Functions::tr); addFunction("tr", &Wt::WTemplate::Functions::tr);
@@ -66,7 +66,7 @@ namespace UserInterface
refreshView(); refreshView();
}); });
filters.updated().connect([this] _filters.updated().connect([this]
{ {
refreshView(); refreshView();
}); });