Merge branch 'develop' for release v3.31.1
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user