Search results for

“Popping Sound”

20,421 results found

Post

Replies

Boosts

Views

Activity

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
2.0k
Apr ’21
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
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.7k
May ’20
Playing Video (with audio; from asset) and recording video and audio (from front camera)?
Hi, I do not know if is this possible, but I have problem to achieve this. I have UIView (VideoView) who has AVPlayerLayer, and plays some video from assets, and have own audio. Over this view, have another (smaller) UIView (CameraView) who have: AVCaptureVideoPreviewLayer (show front camera) AVCaptureSession AVCaptureDevice AVAudioSession to show preview of user front camera and record audio & video from self. And run in same time. Similar to FaceTime Call. AVAudioSession in CameraView is set up something like this: let audioSession = AVAudioSession.sharedInstance() do { if #available(iOS 11.0, *) { try audioSession.setCategory(.playAndRecord, mode: .spokenAudio, policy: AVAudioSession.RouteSharingPolicy.default, options: [.duckOthers]) } else { try audioSession.setCategory(.playAndRecord, mode: .spokenAudio) } try audioSession.setActive(true) } catch let error { print(Audio setup error, #file, #function, #line, error.localizedDescription) } But still, I have some kind of echo
0
0
716
Aug ’20
Playing a sound effect before record video makes video's sound volume is low
I am using AudioService API to play a sound effect before start video recoding, I found a weird thing that the final result video's volume is relative to sound effect volume. if sound effect volume is big, the final video's volume became so low, if sound effect volume is quite, final video's volume is big. I think the iphone's microphone or audio framework make this, maybe it detected the peak volume and balance audio record volume. I use 'playAndRecord' to record video, dosen't change it when play sound effect. need help to slove this issue, i want the video's volume is constants
0
0
829
Aug ’22
Issue with Applepay pop up addresses Portugal & Romania
We are facing issues with the Apple Pay pop up addresses. So for Portugal and Romania, we would like to collect the user's Province/State as part of the checkout experience. We already do that with other payment methods, however, we noticed Apple Pay pop up doesn't include state/province fields for these two countries, which causes orders to arrive with that field as blank. This is causing a lot of logistics issues during fulfillment. Is there a way to fix this and have the field appear for Portugal and Romania users? Case reference: 102869141084 Thank you!
1
0
249
May ’26
Audio problem in VoIP App
Hi,Our VoIP App was fully tested and working fine on iOS 8 for Incoming and outgoing calls.When iOS 9.0.1 was installed on iphone 4 and 6, Audio sound quality of outgoing call part was NOT understandable.After we upgraded our VoIP app, using XCode 7.0 we recompiled our code with no error or warnings yet the audio quality problem in outgoing call still exists.Without any error or warnings, can you inform us of what changes in “Audio” that might affect this ?Our App is using following iOS Audio Frameworks1- AV Foundation framework2- Audio ToolKit framework3- Core Audio frameworkAdditionally, we use GSM Codec for our VoIP calls.Any ideas on how can we progress to a satisfactory solution?Thanks and RegardsMajid Hameed Khan
2
0
480
Oct ’15
Inter-app audio replacement?
I have one iOS app that is an iPad touchscreen virtual musical instrument. I have another app that is an audio visualizer (36-th octave spectrum analyzer). I used to use inter-app audio to pipe audio samples from the first app to either the second app, or to GarageBand for recording. But inter-app audio has been deprecated. My question is what is Apple's suggested method (API's etc.) to get audio samples generated in one UI app to play and display in another UI app (say on an iPad, where both apps can be on the display) in performance-near-real-time without using inter-app audio?
1
0
1.2k
Jun ’20
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
383
Sep ’24
Audio streaming corruption on iOS with an Asynchronous USB audio class 1.0 interface
Hi everyone,I'm developing a USB Audio + MIDI interface. The audio part of the interface supports Asynchronous USB audio class 1.0.Lately I am having some issues on iOS with specific Apple Devices (iPhone 7, 7 Plus and X).After a random amount of time from the beginning of audio playback, all of a sudden, the audio stream can become corrupt (very loud digital distortion).The interface works fine on all other Apple devices, Macs and Windows PCs.The problem started to appear with iOS 11. I never experienced anything similar with iOS 10.I am trying to figure out what is causing the problem looking also at the USB packet stream but even when the problem arise nothing strange happens. The audio data sent by the OS is clearly corrupted (abrupt changes in the samples value).As anyone having similar problems?Thanks
0
0
608
Jan ’18
Airplay , HDMI audio output
I'm curious. Does audio output via Airplay or HDMI have increased volume in the treble ? I'm currently attenuating the treble by about 10db or higher compared to lower frequencies.Aside from bit depth and samping frequency, which audio output provides better sound ? HDMI vs Airplay audio output...which has less jitter ?Thanks.
0
0
501
Jun ’17
No Sound Output
After a little effort, I got the Apple TV configured. Everything seems to work, except I am not getting any sound from it when I try to play content (I tried a free TV shows as a test).I know the HDMI cable is OK, it's the same cable I use with my Roku box. Using the volume controls on the remote makes the LED blink, but nothing else happens. I even tried using AirPlay with an iPad app that generates sound, but nothing was heard.Any ideas?
2
0
403
Sep ’15
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?
Replies
3
Boosts
0
Views
2.0k
Activity
Apr ’21
Sound only incall
speakers sound works only for call them incoming not for sms or mail vidéo music...
Replies
0
Boosts
0
Views
92
Activity
Aug ’16
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:
Replies
Boosts
Views
Activity
Dec ’20
CMAudioClock for audio input on iOS
On iOS, I don't see a way to create a CMClock that is synchronised to Audio input source currently in use by RemoteIO unit, API is only for Audio output. Is there a way to access the audio clock for RemoteIO unit?
Replies
0
Boosts
0
Views
299
Activity
Jun ’20
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
Replies
2
Boosts
0
Views
1.7k
Activity
May ’20
Playing Video (with audio; from asset) and recording video and audio (from front camera)?
Hi, I do not know if is this possible, but I have problem to achieve this. I have UIView (VideoView) who has AVPlayerLayer, and plays some video from assets, and have own audio. Over this view, have another (smaller) UIView (CameraView) who have: AVCaptureVideoPreviewLayer (show front camera) AVCaptureSession AVCaptureDevice AVAudioSession to show preview of user front camera and record audio & video from self. And run in same time. Similar to FaceTime Call. AVAudioSession in CameraView is set up something like this: let audioSession = AVAudioSession.sharedInstance() do { if #available(iOS 11.0, *) { try audioSession.setCategory(.playAndRecord, mode: .spokenAudio, policy: AVAudioSession.RouteSharingPolicy.default, options: [.duckOthers]) } else { try audioSession.setCategory(.playAndRecord, mode: .spokenAudio) } try audioSession.setActive(true) } catch let error { print(Audio setup error, #file, #function, #line, error.localizedDescription) } But still, I have some kind of echo
Replies
0
Boosts
0
Views
716
Activity
Aug ’20
Playing a sound effect before record video makes video's sound volume is low
I am using AudioService API to play a sound effect before start video recoding, I found a weird thing that the final result video's volume is relative to sound effect volume. if sound effect volume is big, the final video's volume became so low, if sound effect volume is quite, final video's volume is big. I think the iphone's microphone or audio framework make this, maybe it detected the peak volume and balance audio record volume. I use 'playAndRecord' to record video, dosen't change it when play sound effect. need help to slove this issue, i want the video's volume is constants
Replies
0
Boosts
0
Views
829
Activity
Aug ’22
Issue with Applepay pop up addresses Portugal & Romania
We are facing issues with the Apple Pay pop up addresses. So for Portugal and Romania, we would like to collect the user's Province/State as part of the checkout experience. We already do that with other payment methods, however, we noticed Apple Pay pop up doesn't include state/province fields for these two countries, which causes orders to arrive with that field as blank. This is causing a lot of logistics issues during fulfillment. Is there a way to fix this and have the field appear for Portugal and Romania users? Case reference: 102869141084 Thank you!
Replies
1
Boosts
0
Views
249
Activity
May ’26
Audio problem in VoIP App
Hi,Our VoIP App was fully tested and working fine on iOS 8 for Incoming and outgoing calls.When iOS 9.0.1 was installed on iphone 4 and 6, Audio sound quality of outgoing call part was NOT understandable.After we upgraded our VoIP app, using XCode 7.0 we recompiled our code with no error or warnings yet the audio quality problem in outgoing call still exists.Without any error or warnings, can you inform us of what changes in “Audio” that might affect this ?Our App is using following iOS Audio Frameworks1- AV Foundation framework2- Audio ToolKit framework3- Core Audio frameworkAdditionally, we use GSM Codec for our VoIP calls.Any ideas on how can we progress to a satisfactory solution?Thanks and RegardsMajid Hameed Khan
Replies
2
Boosts
0
Views
480
Activity
Oct ’15
Inter-app audio replacement?
I have one iOS app that is an iPad touchscreen virtual musical instrument. I have another app that is an audio visualizer (36-th octave spectrum analyzer). I used to use inter-app audio to pipe audio samples from the first app to either the second app, or to GarageBand for recording. But inter-app audio has been deprecated. My question is what is Apple's suggested method (API's etc.) to get audio samples generated in one UI app to play and display in another UI app (say on an iPad, where both apps can be on the display) in performance-near-real-time without using inter-app audio?
Replies
1
Boosts
0
Views
1.2k
Activity
Jun ’20
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.
Replies
0
Boosts
0
Views
383
Activity
Sep ’24
UIImagePickerController lost Audio
some downloaded video, edited in photo album. when choose it in UIimagePickerController, the result Video lose audio! BUT,if not edit in album,it's correct!
Replies
0
Boosts
0
Views
451
Activity
Mar ’23
Audio streaming corruption on iOS with an Asynchronous USB audio class 1.0 interface
Hi everyone,I'm developing a USB Audio + MIDI interface. The audio part of the interface supports Asynchronous USB audio class 1.0.Lately I am having some issues on iOS with specific Apple Devices (iPhone 7, 7 Plus and X).After a random amount of time from the beginning of audio playback, all of a sudden, the audio stream can become corrupt (very loud digital distortion).The interface works fine on all other Apple devices, Macs and Windows PCs.The problem started to appear with iOS 11. I never experienced anything similar with iOS 10.I am trying to figure out what is causing the problem looking also at the USB packet stream but even when the problem arise nothing strange happens. The audio data sent by the OS is clearly corrupted (abrupt changes in the samples value).As anyone having similar problems?Thanks
Replies
0
Boosts
0
Views
608
Activity
Jan ’18
Airplay , HDMI audio output
I'm curious. Does audio output via Airplay or HDMI have increased volume in the treble ? I'm currently attenuating the treble by about 10db or higher compared to lower frequencies.Aside from bit depth and samping frequency, which audio output provides better sound ? HDMI vs Airplay audio output...which has less jitter ?Thanks.
Replies
0
Boosts
0
Views
501
Activity
Jun ’17
No Sound Output
After a little effort, I got the Apple TV configured. Everything seems to work, except I am not getting any sound from it when I try to play content (I tried a free TV shows as a test).I know the HDMI cable is OK, it's the same cable I use with my Roku box. Using the volume controls on the remote makes the LED blink, but nothing else happens. I even tried using AirPlay with an iPad app that generates sound, but nothing was heard.Any ideas?
Replies
2
Boosts
0
Views
403
Activity
Sep ’15