File tree Expand file tree Collapse file tree 3 files changed +16
-151
lines changed
Expand file tree Collapse file tree 3 files changed +16
-151
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7676 <string >fetch </string >
7777 <string >processing </string >
7878 <string >remote-notification </string >
79+ <string >audio </string >
7980 </array >
8081 <key >UILaunchScreen </key >
8182 <dict />
9091 <string >UIInterfaceOrientationPortrait </string >
9192 <string >UIInterfaceOrientationPortraitUpsideDown </string >
9293 </array >
94+ <key >com.apple.developer.icloud-container-identifiers </key >
95+ <array >
96+ <string >iCloud.com.alexemry.Infini-iOS </string >
97+ </array >
98+ <key >com.apple.developer.icloud-services </key >
99+ <array >
100+ <string >CloudKit </string >
101+ </array >
102+ <key >com.apple.developer.ubiquity-container-identifiers </key >
103+ <array >
104+ <string >iCloud.com.alexemry.Infini-iOS </string >
105+ </array >
93106 <key >kTCCServiceMediaLibrary </key >
94107 <string >This app needs permission to allow your PineTime to control your music. </string >
95- <key >com.apple.developer.icloud-container-identifiers </key >
96- <array >
97- <string >iCloud.com.alexemry.Infini-iOS </string >
98- </array >
99- <key >com.apple.developer.icloud-services </key >
100- <array >
101- <string >CloudKit </string >
102- </array >
103- <key >com.apple.developer.ubiquity-container-identifiers </key >
104- <array >
105- <string >iCloud.com.alexemry.Infini-iOS </string >
106- </array >
107108</dict >
108109</plist >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class MusicController {
1414 static let shared = MusicController ( )
1515
1616 private let bleManager = BLEManager . shared
17- private let volumeNotch : Float = 0.1
17+ private let volumeNotch : Float = ( 1 / 15 )
1818 private var musicPlayer = MPMusicPlayerController . systemMusicPlayer
1919 private var musicPlaying = 0
2020
@@ -53,7 +53,7 @@ class MusicController {
5353
5454 do {
5555 try session. setCategory ( . playback, options: . mixWithOthers)
56- try session. setActive ( false )
56+ try session. setActive ( true )
5757 } catch {
5858 log ( " Unable to activate audio session: \( error. localizedDescription) " , caller: " MusicController " )
5959 }
@@ -86,7 +86,7 @@ class MusicController {
8686 guard allowVolumeControl else { return }
8787
8888 let session = AVAudioSession . sharedInstance ( )
89- let sessionVolume = session. outputVolume // FIXME: session.outputVolume is always 1
89+ let sessionVolume = session. outputVolume
9090
9191 print ( session. outputVolume)
9292
You can’t perform that action at this time.
0 commit comments