Minor cleanup
This commit is contained in:
@@ -129,5 +129,4 @@ namespace lms::ui
|
|||||||
Wt::WAnchor* _artist{};
|
Wt::WAnchor* _artist{};
|
||||||
Wt::WPushButton* _playQueue{};
|
Wt::WPushButton* _playQueue{};
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace lms::ui
|
} // namespace lms::ui
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ namespace lms::ui
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<audio::TranscodeOutputFormat> AudioFormatToTranscodingFormat(db::TranscodingOutputFormat format)
|
std::optional<audio::TranscodeOutputFormat> audioFormatToTranscodingFormat(db::TranscodingOutputFormat format)
|
||||||
{
|
{
|
||||||
switch (format)
|
switch (format)
|
||||||
{
|
{
|
||||||
@@ -171,7 +171,7 @@ namespace lms::ui
|
|||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::optional<audio::TranscodeOutputFormat> outputFormat{ AudioFormatToTranscodingFormat(*format) };
|
const std::optional<audio::TranscodeOutputFormat> outputFormat{ audioFormatToTranscodingFormat(*format) };
|
||||||
if (!outputFormat)
|
if (!outputFormat)
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user