mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 01:07:46 +00:00
Add audio-visualizer settings
feat(audio): wire audio-visualizer settings into navigation and menu feat(audio): add audio-visualizer settings screen with live previews feat(audio): add audio-visualizer settings strings fix(audio): move visualizer setting to Account section; render at feed size feat(audio): add Classic (default) and Static visualiser styles
This commit is contained in:
+4
-2
@@ -21,15 +21,17 @@
|
||||
package com.vitorpamplona.amethyst.commons.audio
|
||||
|
||||
enum class VisualizerStyle {
|
||||
OFF,
|
||||
CLASSIC,
|
||||
BARS,
|
||||
WAVES,
|
||||
RADIAL,
|
||||
AURORA,
|
||||
STATIC,
|
||||
OFF,
|
||||
;
|
||||
|
||||
companion object {
|
||||
val DEFAULT = WAVES
|
||||
val DEFAULT = CLASSIC
|
||||
|
||||
fun fromName(name: String?): VisualizerStyle = entries.firstOrNull { it.name == name } ?: DEFAULT
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user