Search results for

“Popping Sound”

20,614 results found

Post

Replies

Boosts

Views

Activity

[NavigationStack] No animation on push after programmatically pop view
Hello! As written in the post title, when I try to pop view programmatically, the next push transition doesn't have animations. Specifically, I pop view programmatically by removing the last element or all the elements from the path array. If I pop the view by tapping the system back button, the animations on push transitions work correctly. Here an example of the code I am using with the navigationStack: struct ContentView: View { @Binding var navigationPath: [Int] var body: some View { NavigationStack(path: $navigationPath) { DetailView(level: 0) .navigationDestination(for: Int.self, destination: DetailView.init) } } } Furthermore, I have noticed that if I embed the DetailView of my example in a List, the push animations works always in the correct way using the programmatically pop view. Is there any workaround which could solve the problem? Thank you in advance!
1
0
1.3k
Jul ’23
Suppress focus sound?
Is there a way to suppress the focus sound when using the remote to swipe across multiple buttons?I'm writing a music app and want the buttons to play their own sounds (rather than the tvOS system sound) when scrolling over the buttons.
1
0
446
Oct ’15
Reply to How to Fix Cracking and Popping Sound ?
Yes. I have the same problem. MacBook Pro (16-inch, 2021) Monterey 12.2.1. Until recently I've been using my Focusrite audio interface for everything but I noticed when I unplugged it that all Apple-created audio [so Apple TV, QuickTime videos etc] has terrible crackling and popping on when using the native audio engine. If I play the same QuickTime videos through VLC they're fine – so it's not a hardware problem. As far as I can see I can't reinstall Quicktime without reinstalling the whole OS which I am absolutely not going to do. I guess the only thing to do is wait until Apple release a new software update which will hopefully overwrite the broken component. Assuming they notice it's broken of course. Has anyone at Apple ever responded to any of these threads?
Topic: Community SubTopic: Apple Developers Tags:
Mar ’22
Can i stop notification sound?
in my app, notification has play 20sec sound. i want to stop notification sound when new push notification same thread identifier I tried the methods in the link below https://stackoverflow.com/questions/57568491/handling-remote-push-notification-sounds-when-app-is-terminated https://stackoverflow.com/questions/55324708/how-to-cancel-a-local-notification-trigger-in-swift But I didn't achieve what I wanted Is what I want impossible on OS? Additionally, the sound will only play continuously on the lock screen. If the screen is not locked, the sound is turned off and the sound applied to the new notification is played.
0
0
1.6k
Sep ’22
AVAssetWriter audio compression settings for multichannel audio
With a 4 channel audio input, I get error while recording a movie using AVAssetWriter and using LPCM codec. Are 4 audio channels not supported by AVAssetWriterInput? Here are my compression settings: var aclSize:size_t = 0 var currentChannelLayout:UnsafePointer? = nil /* * outputAudioFormat = CMSampleBufferGetFormatDescription(sampleBuffer) * for the latest sample buffer received in captureOutput sampleBufferDelegate */ if let outputFormat = outputAudioFormat { currentChannelLayout = CMAudioFormatDescriptionGetChannelLayout(outputFormat, sizeOut: &aclSize) } var currentChannelLayoutData:Data = Data() if let currentChannelLayout = currentChannelLayout, aclSize > 0 { currentChannelLayoutData = Data.init(bytes: currentChannelLayout, count: aclSize) } let numChannels = AVAudioSession.sharedInstance().inputNumberOfChannels audioSettings[AVSampleRateKey] = 48000.0 audioSettings[AVFormatIDKey] = kAudioFormatLinearPCM audioSettings[AVLinearPCMIsBigEndianKey] = false audioSettings[AVLinearPCMB
1
0
1.1k
Oct ’22
The audio unit of kAudioUnitSubType_VoiceProcessingIO can't query Audio Workgroup
I know the VoiceProcessingIO audio unit will create a aggregate audio device. But there are error kAudioUnitErr_InvalidProperty (-10789) during getting kAudioOutputUnitProperty_OSWorkgroup property in recent macOS Monterey 12.2.1 or BigSur 11.6.4. os_workgroup_t workgroup = NULL; UInt32 sSize; OSStatus sStatus; sSize = sizeof(os_workgroup_t); sStatus = AudioUnitGetProperty(mAudioUnit, kAudioOutputUnitProperty_OSWorkgroup, kAudioUnitScope_Global, 1, &workgroup, &sSize); if (sStatus != noErr) { NSLog(@Error %d, sStatus); } And the same code works fine on iOS 15.3.1 but not macOS. Have you any hint to resolve this issue?
0
0
1.1k
Mar ’22
Callkit UI does not pop up
Hi, I am using Callkit to make a VOIP application recently. But when I use Callkit to make a call out, after the call is connected, I hang up normally, and another call comes in and the following interface appears; Callkit UI error - https://developer.apple.com/forums/content/attachment/3282dcba-263d-4384-aabd-a9b654605858 Callkit UI is not in the foreground - https://developer.apple.com/forums/content/attachment/41cb1f19-7b9f-4c97-b66b-fb320e3e1a5f When I click on the titlebar, the interface will pop up Incoming call ui - https://developer.apple.com/forums/content/attachment/90f37ceb-299e-4c2f-840b-a083ee10e0af This problem can also be reproduced in the SpeakerBox sample code; Model Name: iPhone 7 Software Version: 14.1
0
0
530
Nov ’20
Sound quality
Am a musician/DJ. Jumped from 14 Pro Max iOS 17 to 16 Pro Max iOS 18.1 b4. For each audio source(music app/yt music etc.) same track/eq/volume compared side by side. With the new device, overall it's a bit muffled and damping music when highs and lows are mixed. Most noticeable when listening to high vocals and acoustic instruments. Drum and bass sound much like on an old Nokia. On 14 Pro it's nothing like that. Thank you
1
0
628
Sep ’24
Is it possible to play a sound?
Is it actually possible to play a sound on iOSplaySoundFileNamed() causes memory leaksSKAudioNode() crashes when you leave the app and return, and you can't play sounds simultaneouslyAVAudioPlayer causes lag, and you can't play sounds simultaneouslyIs it even possible?
1
0
770
Jul ’17
AlarmKit - Custom Sounds?
Could someone please explain how to use a custom sound when setting up an alarm using AlarmKit? It keeps playing a default sound. Also, I keep having an issue where the alarm sound plays but doesn’t show the alarm interface buttons unless the screen is locked.
14
0
748
Jun ’25
[NavigationStack] No animation on push after programmatically pop view
Hello! As written in the post title, when I try to pop view programmatically, the next push transition doesn't have animations. Specifically, I pop view programmatically by removing the last element or all the elements from the path array. If I pop the view by tapping the system back button, the animations on push transitions work correctly. Here an example of the code I am using with the navigationStack: struct ContentView: View { @Binding var navigationPath: [Int] var body: some View { NavigationStack(path: $navigationPath) { DetailView(level: 0) .navigationDestination(for: Int.self, destination: DetailView.init) } } } Furthermore, I have noticed that if I embed the DetailView of my example in a List, the push animations works always in the correct way using the programmatically pop view. Is there any workaround which could solve the problem? Thank you in advance!
Replies
1
Boosts
0
Views
1.3k
Activity
Jul ’23
Sound recognition
Can I use Apple's sound recognition in my augmented reality app to trigger content ? Or is there another source I can use?
Replies
0
Boosts
0
Views
779
Activity
May ’24
LivePhotosKit.Player audio support
Does LivePhotosKit have audio support? I can not hear sound from the LivePhotos hosted online using LivePhotosKit. Is there an audio option needed to be declared? Thanks!
Replies
2
Boosts
0
Views
563
Activity
Sep ’17
Suppress focus sound?
Is there a way to suppress the focus sound when using the remote to swipe across multiple buttons?I'm writing a music app and want the buttons to play their own sounds (rather than the tvOS system sound) when scrolling over the buttons.
Replies
1
Boosts
0
Views
446
Activity
Oct ’15
Reply to How to Fix Cracking and Popping Sound ?
Yes. I have the same problem. MacBook Pro (16-inch, 2021) Monterey 12.2.1. Until recently I've been using my Focusrite audio interface for everything but I noticed when I unplugged it that all Apple-created audio [so Apple TV, QuickTime videos etc] has terrible crackling and popping on when using the native audio engine. If I play the same QuickTime videos through VLC they're fine – so it's not a hardware problem. As far as I can see I can't reinstall Quicktime without reinstalling the whole OS which I am absolutely not going to do. I guess the only thing to do is wait until Apple release a new software update which will hopefully overwrite the broken component. Assuming they notice it's broken of course. Has anyone at Apple ever responded to any of these threads?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Mar ’22
pycharm message window has more high priority than osx pop
i am using pycharm connecting to remote raspberry pi using ssh code base in apple system needs to be synced with code base in raspberry pi but pop up to overwrite permission pop up was hidden behind the message box of pycharm.we didnt know that apple pop behind the message box and it waiting waiting for long time and exhausted
Replies
0
Boosts
0
Views
273
Activity
Jan ’21
Can i stop notification sound?
in my app, notification has play 20sec sound. i want to stop notification sound when new push notification same thread identifier I tried the methods in the link below https://stackoverflow.com/questions/57568491/handling-remote-push-notification-sounds-when-app-is-terminated https://stackoverflow.com/questions/55324708/how-to-cancel-a-local-notification-trigger-in-swift But I didn't achieve what I wanted Is what I want impossible on OS? Additionally, the sound will only play continuously on the lock screen. If the screen is not locked, the sound is turned off and the sound applied to the new notification is played.
Replies
0
Boosts
0
Views
1.6k
Activity
Sep ’22
AVAssetWriter audio compression settings for multichannel audio
With a 4 channel audio input, I get error while recording a movie using AVAssetWriter and using LPCM codec. Are 4 audio channels not supported by AVAssetWriterInput? Here are my compression settings: var aclSize:size_t = 0 var currentChannelLayout:UnsafePointer? = nil /* * outputAudioFormat = CMSampleBufferGetFormatDescription(sampleBuffer) * for the latest sample buffer received in captureOutput sampleBufferDelegate */ if let outputFormat = outputAudioFormat { currentChannelLayout = CMAudioFormatDescriptionGetChannelLayout(outputFormat, sizeOut: &aclSize) } var currentChannelLayoutData:Data = Data() if let currentChannelLayout = currentChannelLayout, aclSize > 0 { currentChannelLayoutData = Data.init(bytes: currentChannelLayout, count: aclSize) } let numChannels = AVAudioSession.sharedInstance().inputNumberOfChannels audioSettings[AVSampleRateKey] = 48000.0 audioSettings[AVFormatIDKey] = kAudioFormatLinearPCM audioSettings[AVLinearPCMIsBigEndianKey] = false audioSettings[AVLinearPCMB
Replies
1
Boosts
0
Views
1.1k
Activity
Oct ’22
No sound in iPad
My app which was built for iOS12 with videos has no sound in iPad, but has sound in iPhone. The app has sound with headphones on. I tried to unmute and couple of other things. Can someone help as I donot know if it is an iOS issue, code or my iPad issu.
Replies
1
Boosts
0
Views
959
Activity
Mar ’19
How to add interactive pop gesture using SwiftUI in iOS16?
Considering the latest updates added in iOS16 in terms of programmatic navigation, is there a dedicated SwiftUI way of adding the interactive-pop-gesture interaction in the NavigationStack / NavigationSplitView?
Replies
0
Boosts
0
Views
903
Activity
Mar ’23
The audio unit of kAudioUnitSubType_VoiceProcessingIO can't query Audio Workgroup
I know the VoiceProcessingIO audio unit will create a aggregate audio device. But there are error kAudioUnitErr_InvalidProperty (-10789) during getting kAudioOutputUnitProperty_OSWorkgroup property in recent macOS Monterey 12.2.1 or BigSur 11.6.4. os_workgroup_t workgroup = NULL; UInt32 sSize; OSStatus sStatus; sSize = sizeof(os_workgroup_t); sStatus = AudioUnitGetProperty(mAudioUnit, kAudioOutputUnitProperty_OSWorkgroup, kAudioUnitScope_Global, 1, &workgroup, &sSize); if (sStatus != noErr) { NSLog(@Error %d, sStatus); } And the same code works fine on iOS 15.3.1 but not macOS. Have you any hint to resolve this issue?
Replies
0
Boosts
0
Views
1.1k
Activity
Mar ’22
Callkit UI does not pop up
Hi, I am using Callkit to make a VOIP application recently. But when I use Callkit to make a call out, after the call is connected, I hang up normally, and another call comes in and the following interface appears; Callkit UI error - https://developer.apple.com/forums/content/attachment/3282dcba-263d-4384-aabd-a9b654605858 Callkit UI is not in the foreground - https://developer.apple.com/forums/content/attachment/41cb1f19-7b9f-4c97-b66b-fb320e3e1a5f When I click on the titlebar, the interface will pop up Incoming call ui - https://developer.apple.com/forums/content/attachment/90f37ceb-299e-4c2f-840b-a083ee10e0af This problem can also be reproduced in the SpeakerBox sample code; Model Name: iPhone 7 Software Version: 14.1
Replies
0
Boosts
0
Views
530
Activity
Nov ’20
Sound quality
Am a musician/DJ. Jumped from 14 Pro Max iOS 17 to 16 Pro Max iOS 18.1 b4. For each audio source(music app/yt music etc.) same track/eq/volume compared side by side. With the new device, overall it's a bit muffled and damping music when highs and lows are mixed. Most noticeable when listening to high vocals and acoustic instruments. Drum and bass sound much like on an old Nokia. On 14 Pro it's nothing like that. Thank you
Replies
1
Boosts
0
Views
628
Activity
Sep ’24
Is it possible to play a sound?
Is it actually possible to play a sound on iOSplaySoundFileNamed() causes memory leaksSKAudioNode() crashes when you leave the app and return, and you can't play sounds simultaneouslyAVAudioPlayer causes lag, and you can't play sounds simultaneouslyIs it even possible?
Replies
1
Boosts
0
Views
770
Activity
Jul ’17
AlarmKit - Custom Sounds?
Could someone please explain how to use a custom sound when setting up an alarm using AlarmKit? It keeps playing a default sound. Also, I keep having an issue where the alarm sound plays but doesn’t show the alarm interface buttons unless the screen is locked.
Replies
14
Boosts
0
Views
748
Activity
Jun ’25