//
//  AudioConstants.swift
//  AudioPlaybackKit
//
//  Created by Matt Bruce on 9/8/25.
//

import Foundation
import AVFAudio

/// Audio-related constants and configuration
public enum AudioConstants {
    
    // MARK: - Audio Session Configuration
    public enum AudioSession {
        public static let category = AVAudioSession.Category.playback
        public static let mode = AVAudioSession.Mode.default
        public static let options: AVAudioSession.CategoryOptions = [.mixWithOthers]
    }
    
    // MARK: - Playback Settings
    public enum Playback {
        public static let numberOfLoops = -1 // Infinite loop
        public static let prepareToPlay = true
    }
    
    // MARK: - Volume
    public enum Volume {
        public static let min: Float = 0.0
        public static let max: Float = 1.0
        public static let `default`: Float = 0.8
    }
}
