Search results for

Popping Sound

19,356 results found

Post

Replies

Boosts

Views

Activity

webRTC sound in Safari
Hi, i have one question.We are developing an application for the webinar and we need better sound transmission system usage webRTC. Unfortunately, iOS does not support this service.It is something for the future planned development?Thanks AdamiPhone 5, iOS 9.3
0
0
587
Mar ’16
What is the UTI for AAC audio?
I need to know what the Uniform Type Identifier is for an AAC audio file.Context: I'm building an audio player app that plays DRM'd AAC files using HLS. I want to support offline playback, but I don't want to use AVFoundation's offline stuff (via AVAssetDownloadTask) because it'll delete the files out from under me when it needs to reclaim disk space (according to this presentation at WWDC 2016). So I'm downloading the files myself and using AVAssetResourceLoaderDelegate (walkthrough here) to serve files from the disk instead of the network when I want to. But the player just buffers forever. I tried serving a plain, unecrypted AAC file with no HLS involvement, and it failed the same way. I tried a plain, unencrypted MP3 file, and it worked. I changed the UTI provided to loadingRequest.contentInformationRequest.contentType in resourceLoader:shouldWaitForLoadingOfRequestedResource: from the correct audio.mp3 to audio.aac and it failed the same way. From this I infer that what I need is the co
0
0
1.5k
Apr ’18
Recording Audio Noice
HiI have problems recording audio for an VoIP app on iPhone 6s and iPhone 7. The same code is working OK with iPhone 6. All the devices are running the last iOS version (11.1.2).I got a distortion/noice in the audio like a metallic voice.I am using Audio Queue and the AudioStreamBasicDescription is started:Format: LinearPCMFlags: PCMIsSignedInterger, PCMIsPackedFramesPerPacket: 1ChannelsPerFrame: 1BitsPerChannel: 16BytesPerPacket: 2BytesPerFrame: 2Reserved: 0I allocate and enqueue 3 buffers of 60 ms before stating. The buffer is enqueued again in the callback.I have noted from the log in Xcode the following lines:Dec 1 14:00:43 DEs-iPhone TetraFlexClientMobile(AudioToolbox)[644] <Notice>: AUBase.cpp:1474:DoRender: /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreAudioServices/CoreAudioServices-975.2.5/CoreAudioUtility/Source/CADSP/AUPublic/AUBase/AUBase.cpp:1474 86 frames, 2 bytes/frame, expected 172-byte buffer; ioData.mBuffers[0].mDataByteSize=170; kAudio_ParamErrorDec 1
2
0
1.2k
Dec ’17
How do you add a Audio Player to Xcode?
How can you add a live audio player to Xcode where they will have a interactive UI to control the audio and they will be able to exit out of the app and or turn their device off and it will keep playing? Is their a framework or API that will work for this? Thanks! Really need help with this…. 🤩 I have looked everywhere and haven’t found something that works….
0
0
1.4k
Mar ’22
Prevent audio from flowing through speakers
I need to prevent audio from flowing through the speakers, however I do want audio to flow through the headphones if they are plugged in.Basically I need to turn off the speakers while my app is running.I have searched high and low, but all I can find is how to prevent headphones from being used, which is the opposite of what I need.
0
0
320
Nov ’19
How to pause/stop all active audio playbacks when my application needs to start audio playback from background?
Intention: Our application goes to background (background audio playback enabled) > We open any iOS application that starts audio playback (i.e: youtube, or music player) > after some moments, our application activates it's audio session to start playingback some audio (while our application is still alive in the background)What We tried: When our application wants to play the audio from background, it set's the AVAudioSession category to AVAudioSessionCategoryPlayback. Expectation: The current foreground application with active audioplayback will pause it's audio playback, and our application's playback will be the only sound that would be heard.Observation:The current foreground application keeps playing it's audio session. And our application fails to activate audiosession (from background) with non-mixable AVAudioSessionCategoryPlayback.Counter measure that We tried: With the above category, we also set AVAudioSession Options AV
0
0
950
Mar ’20
ReplayKit with background audio
Hi, when I start a screen recording session (with microphone enabled) the phone automatically switch every audio playback from the default speaker to the call speaker (the one in the top, used during phone calls) and it returns normal when I stop the recording.The same result happens from my app using ReplayKit and from iOS 11 system screen recording, it behave the same, every sound (from game, spotify, whatever...) comes only from the top speaker, resulting in a very low volume.I tryed with iPhone 6s, 7 and X with iOS 11.2.2 and iOS 11.2.5, nothing change.I don't understand if this is a bug or a feature, and most of all if I can override this setting in my app, allowing the user to record his voice from microphone with music in the background.Many thanks,Michele
1
0
1.9k
Jan ’18
Ans: Solving 6S distorted audio - avoid bad audio format assumptions
Hi there,I have this following audio distorted audio issue. I play 48kHz Audio AAC file using the AVPlayer Framework and I experience distorted audio only on iPhone 6S.. So I'm trying to avoid some bad assumptions about audio formats with no luck with this following code :+ (void) setupAudioSpeaker{NSError * audioSessionError = nil; [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayback error: &audioSessionError];if (audioSessionError) { NSLog(@AVAudioSession Error %ld, %@, (long)audioSessionError.code, audioSessionError.localizedDescription); }NSTimeInterval bufferDuration =.005; [[AVAudioSession sharedInstance] setPreferredIOBufferDuration:bufferDuration error:&audioSessionError];if (audioSessionError) { NSLog(@Error %ld, %@, (long)audioSessionError.code, audioSessionError.localizedDescription); }double sampleRate = 48000; [[AVAudioSession sharedInstance] setPreferredSampleRate:sampleRate error:&audioSessionError];if (audioSessio
2
0
1.3k
Oct ’15
Audio processing in the background
I've been trying to generate a waveform from an audio file without having to play it all.Looks like the only solution is using an OfflineAudioContext but this seems to work on ALL the browsers but Safari. Am I missing something?https://codepen.io/nuthinking/pen/LzQqmP?editors=0010Thanks a lot!
0
0
540
May ’18
Bachelor Audio Streaming
Hello fellow developers, I am currently working on my bachelor thesis. Therefore my task is to develop a rudimentary solution to stream 2 channel audio from MacOS to an IOS device over Wifi, highest quality possible. Latency is not a major concern, but keeping it low would be great. So i thought of developing something like Wifi2Hifi. That would probably be as rudimentary as possible. I'm not very deep inside the subject. Still researching and collecting thoughts and ideas. If someone could point me to sources and literature on audio related networking/streaming, i would be glad. Also thoughts on networking protocols i could use, or api's etc., would be greatly appreciated. Thanks a lot.
1
0
251
Jul ’20
WebRTC recording audio has buzz
I'm using Release 34 (Safari 11.0, WebKit 12604.1.27.0.1)I use the following code to get microphone input and forward the audio to speakers -- note that I use headset so no feedback.var _streamSource; var _audioContext= new webkitAudioContext(); function startMic() { var constraints = { audio:true, video:false }; navigator.mediaDevices.getUserMedia(constraints). then(micStarted).catch(micDenied); } function micStarted(stream) { _streamSource= _audioContext.createMediaStreamSource(stream); _streamSource.connect(_audioContext.destination); } function micDenied(error) { console.log(error) }The audio playback of mic input is horribly distorted with a buzzing sound which makes it hard to listen to. I tried the same code in other browsers and the microphone audio plays back fine without buzz.
1
0
1.4k
Jul ’17