Initial Commit

This commit is contained in:
2026-03-27 09:21:41 +01:00
commit e9b6412d71
40 changed files with 6801 additions and 0 deletions
@@ -0,0 +1,20 @@
//
// AudioPlayerEnvironment.swift
// Mobile Music Assistant
//
// Created by Sven Hanold on 26.03.26.
//
import SwiftUI
// Environment key for audio player
private struct AudioPlayerKey: EnvironmentKey {
static let defaultValue: MAAudioPlayer? = nil
}
extension EnvironmentValues {
var audioPlayer: MAAudioPlayer? {
get { self[AudioPlayerKey.self] }
set { self[AudioPlayerKey.self] = newValue }
}
}