Search results for

Popping Sound

19,600 results found

Post

Replies

Boosts

Views

Activity

Sound emission during an XCUITest
Greetings everyone, part of my XCUITest includes noise recognition and running voice commands. However, I noticed that during my XCUITests on my real device, the sound emission is completely blocked, means that I can't hear or produce any sound while testing. I haven't tested it on any simulator yet, but would need a solution to this issue for my real device testing anyway. Any takes on this? Thanks in advance
0
0
451
May ’23
How to disable AirPods connection sound
When playing a video in AVPlayer, when I put the AirPods in my ears, my player stops playing sound (but doesn't stop playing video), and the device is playing the system AirPods connection sound. And only after this sound ends, my player starts to play video's sound to the AirPods.How to disable that AirPods' system sound and change output route to the AirPods immediately, like in the Podcasts and YouTube iOS apps?
0
0
1.4k
Apr ’19
Best Approach for Reliable Background Audio Playback with Audio Ducking on Command from Server
I am developing an iOS app that needs to play spoken audio on demand from a server, while ducking the audio of background music from another app (e.g., SoundtrackYourBrand or Apple Music). This must work even when the app is in the background, and the server dictates when and what audio is played. Ideally, the message should be played within a minute of the server requesting it. Current Attempt & Observations I initially tried using Firebase Cloud Messaging (FCM) silent notifications to send a URL to an audio file, which the app would then play using AVPlayer. This works consistently when the app is active, but in the background, it only works about 60% of the time. In cases where it fails, iOS ducks the background music (e.g., from SoundtrackYourBrand) but never plays the spoken audio. Interestingly, when I play the audio without enabling audio ducking, it seems to work 100% of the time from my limited testing, even in the background. The app
0
0
351
Feb ’25
Reply to MacOS Big Sur Beta 10 - Youtube in Safari
I have the same problem on Big Sur however the problem has also popped up for me on Catalina and Mojave from time to time over the last few years. I tried disabling vp9 encoding as suggested but it didn't work for me. The solution I have used in the past that worked and seems to always work is to kill the coreaudiod process via Activity Monitor, allow it to automatically relaunch and wait a few minutes. If you kill coreaudiod and then loose all system sound you just need to wait longer and it will return.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’20
Detect if audio is playing on macOS
I would like my app to pause currently playing audio (from other applications) for a certain amount of time, and then resume it. I'm able to simulate the pause/play media key, but the problem is if the system is not playing audio, and then I simulate the key press, it starts playing audio, which is a big no no. So I need to detect if there is audio playing. Some things I have explored: kAudioDevicePropertyDeviceIsRunningSomewhere will detect whether is a device running that can play audio, but that doesn't mean it actually is playing audio. AVAudioSession.isOtherAudioPlaying is exactly what I'm looking for, but I'm not working on a Catalyst app, so it's not available to me. I came across this command, but it is not very accurate. If I pause music, it still returns true for the next 30 seconds or so: if [[ $(pmset -g | grep ' sleep') == *coreaudiod* ]]; then echo audio is playing; else echo no audio playing; fi Any ideas?
3
0
1.9k
Apr ’21
AirPods audio glitching
since updating to the newest ios 18 beta last night, my Audio is glitching out, like it is having connection problems while I’m sitting on my bed, with my phone 2 feet away from the AirPods. It sounds like a phone call breaking up when I am listening to music, or watching a video. I have restarted my phone several times, and it has not fixed it, and I have forgotten my AirPods, and reconnected the AirPods after.
0
0
341
Sep ’24
Does DriverKit currently offers audio-related APIs instead of IOKit's audio APIs?
According to Information in 2019wwdc, macOS 10.15 will be the last release to fully support kextsso,I'm trying to convert the virtual audio driver (kext) developed by IOKit into a dext developed by DriverKit,but I can't find audio driver in the DriverKit description document.Question1Does DriverKit currently offers audio-related APIs instead of IOKit's audio APIs? (e.g., IOAudioDevice.h, IOAudioEngine.h)If DriverKit offers audio-related APIs,give it's link for meQuestion2If DriverKit currently doesn't offer audio-related APIs instead of IOKit's audio APIsCan MacOS 10.16 or later support virtual audio driver(kext) to load?From the following information, I think the answer is no.================================================================================Information in 2019wwdc:macOS 10.15 will be the last release to fully support kexts without compromisesFor the capabilities and device families supported by System Extensions, using aKer
2
0
1.6k
May ’20