{
  "accessibility" : [
    "The button is labelled \"Mute\" or \"Unmute\" (also its tooltip on macOS) and has a 44-point target on iOS.",
    "The slider is labelled \"Volume\"; its value is spoken as a localised percentage, or \"Muted\" at 0. It is adjustable with VoiceOver.",
    "The level is conveyed by the symbol's shape and the spoken value, not by colour."
  ],
  "category" : "media",
  "changelog" : [
    {
      "changes" : [
        "Release 1.1.0: see the project changelog."
      ],
      "date" : "2026-12-03",
      "version" : "1.1.0"
    },
    {
      "changes" : [
        "Initial release."
      ],
      "date" : "2026-12-02",
      "version" : "1.0.0"
    }
  ],
  "dependencies" : [
    {
      "id" : "glass-foundation",
      "version" : "1.1.0"
    }
  ],
  "description" : "Volume of the application's own playback, with mute.",
  "examples" : [
    {
      "code" : "import SwiftUI\nimport SPGlassKit\n\npublic struct GlassVolumeControlExample: GlassExample {\n    public static let componentID = \"glass-volume-control\"\n    @State private var musicVolume = 0.65\n    @State private var effectsVolume = 0.0\n\n    public init() {}\n\n    public var body: some View {\n        Form {\n            Section(\"Music\") {\n                GlassVolumeControl(volume: $musicVolume, showsValue: true)\n                LabeledContent(\"Level applied to the player\", value: musicVolume, format: .percent.precision(.fractionLength(0)))\n            }\n            Section(\"Effects (starts muted)\") {\n                GlassVolumeControl(volume: $effectsVolume, unmuteLevel: 0.4)\n            }\n            Section(\"Disabled\") {\n                GlassVolumeControl(volume: .constant(0.3))\n                    .disabled(true)\n            }\n        }\n        .formStyle(.grouped)\n    }\n}\n\n#Preview(\"GlassVolumeControl\") { GlassVolumeControlExample().glassTheme(.emerald) }\n",
      "title" : "GlassVolumeControl example"
    }
  ],
  "files" : [
    {
      "bytes" : 7443,
      "path" : "Media/Media/GlassVolumeControl.swift",
      "sha256" : "ae6f9381ae90195bc4a5e6ed5efba7ad609912efcbb28cb4b1defe30f7f797e8"
    }
  ],
  "frameworks" : [

  ],
  "id" : "glass-volume-control",
  "kind" : "native-wrapper",
  "license" : "MIT",
  "minimumOS" : {
    "iOS" : "26.0",
    "iPadOS" : "26.0",
    "macOS" : "26.0"
  },
  "name" : "GlassVolumeControl",
  "platforms" : [
    "iOS",
    "iPadOS",
    "macOS"
  ],
  "schemaVersion" : 1,
  "sha256" : "50ed50932a8824468266b06886937c1eee99b410cfe4d679e24add84552185b8",
  "symbols" : [
    "GlassVolumeControl",
    "GlassVolumeState"
  ],
  "version" : "1.1.0"
}
