I created a UISwitch. And wants it to control sound. But not work.@interface SoundViewController () { AVPlayer *_audioPlayer; } @end @implementation SoundViewController -(IBAction)soundSwitch:(id)sender{ if (_soundSwitch.on) { CFBundleRef mainBundle = CFBundleGetMainBundle(); CFURLRef soundFileURLRef; soundFileURLRef = CFBundleCopyResourceURL(mainBundle, (CFStringRef) @soundN ame), NULL); UInt32 soundID; AudioServicesCreateSystemSoundID(soundFileURLRef, &soundID); AudioServicesPlaySystemSound(soundID); }else { / } }No sound is playing. Please help. Thanks
Search results for
Popping Sound
19,600 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
So I updated to ios14 I wanted to try spatial audio with my AirPods Pro. It works 50/50 like when I move my head it picks it up and changes where the audio comes from but when I move my phone it doesn’t pick it up I’m on a 7 plus both devices are on the latest firmware. Do let me know now what I can do. Btw I don’t use Apple TV I was watching the Apple event on the Apple TV app.
Hello all! I've been having this issue for a while, on my iPhone 12 Pro. The volume when listening to music, watching YouTube, TikTok, etc. It will randomly lower, but the actual audio slider won't it will still be at max volume but get very quiet. I've followed other instructions such as turn off audio awareness, and other settings but nothing seems to be working. And phone calls too Has anyone else had this issue and managed to fix it?
Topic:
Media Technologies
SubTopic:
Audio
As you know, calling this in Javascript:let auth = music.authorize();Opens the authorization menu in a pop-up (when the user has yet to grant permissions to the app).But the problem here is that Safari is blocking this action *because* of the pop-up. Anyone had any luck solving it?
Relatively new to Swift, but I created a music trivia game and another simple game, both of which incorporate audio. The audio capabilities work perfectly fine within Simulator but don't work when I port the apps to my phone. Any help would be greatly appreciated, thanks.
For the lock screen sound, i really miss the old sound now, as i always liked that sound to lock the screen, i preffer to make it an option to change from old sound and the new sound, in this way it will be more lovely when ever i want i can change it.i hope you can change itThank you for reading
Hi, I'm trying to play multiple video/audio file with AVPlayer using AVMutableComposition. Each video/audio file can process simultaneously so I set each video/audio in individual tracks. I use only local file. let second = CMTime(seconds: 1, preferredTimescale: 1000) let duration = CMTimeRange(start: .zero, duration: second) var currentTime = CMTime.zero for _ in 0...4 { let mutableTrack = composition.addMutableTrack( withMediaType: .audio, preferredTrackID: kCMPersistentTrackID_Invalid ) try mutableTrack?.insertTimeRange( duration, of: audioAssetTrack, at: currentTime ) currentTime = currentTime + second } When I set many audio tracks (maybe more than 5), the first part sounds a little different from original when it starts. It seems like audio's front part is skipped. But when I set only two tracks, AVPlayer plays as same as original file. avPlayer.play() How can I fix it? Why do audio tracks affect that don't have any playing parts wh
In one of my iOS application I need to integrate a website, and I am successfully done that part, inside we have a option to deposit money to play the poker game for that we have two modes of payment 1. cashfree and 2. paytm. Though paytm mode I can able to do that part successfully, but through cashfree mode, I can't able to do it, out of my debugging I cam e to know that through the cashfree mode at the final stage, the website is trying to show a success or failure selection pop up in a new tab. From the WKWebView success or failure selection pop up is not loading. I followed couple of solutions which are exist over different articles and forums but no luck. below are my respective WKWebView references @IBOutlet weak var wkWebView: WKWebView! var popupWebView : WKWebView? func configureWebView(webViewName: WKWebView?, url: String) { if let webView = webViewName{ webView.isOpaque = false webView.uiDelegate = self webView.backgroundColor = colorLiteral(red: 0.1333333333, green: 0.1725490196
I am currently developing an application using PhoneGap, it has some visuals and plays sounds. I use the PhoneGap Media Plugin for Audio playback, this uses the AVAudioPlayer on iOS.I do have very little experience on native iOS development.I'm creating a kind of book application with slides.I have one long MP3 which plays in the background. This contains the voice and is translated to several languages. This soundfile is pretty long, i encode it to MP3 to save space, and the device should be using Hardware decoding for this track.The other sounds are language independent. Each slide has some sounds that play independent of user interaction, and some play when the user taps a specific sprite on the screen. The sound effects i.e. the language independent content is in a adpcm ima4 wav format, this is done to make it easier for the CPU to decode the audio.On Android this all works well, and the player can decode and playback all my sounds without any problem
Hi there, I’m getting iOS 14.2 beta pop up message every time I open my phone for this I have removed the iOS profile from my phone two days back. But now I won’t be able to download profile again to get the new patch. can you please help me?
When trying to play an element through Web Audio using createMediaElementSource, I hear cracking noises at the beginning of the audio. This issue is observed on different iOS versions for eg. 13.0 and above. Kindly help us to resolve this issue for our web application.
I'm working on a little light and sound controller in Swift, driving DMX lights and audio. For the audio portion, I need to play a bunch of looping sounds (long-duration MP3s), and occasionally play sound effects (short-duration sounds, varying formats). I want all of this mixed into selected channels on specific devices. That is, I might have one audio stream going to the left channel, and a completely different one going to the right channel. What's the right API to do this from Swift? Core Audio? AVPlayer stuff?
Topic:
Media Technologies
SubTopic:
Audio
According to the documentation, you can set the mediaFileURL of a custom message to an audio file - which will play and display with a graphical waveform representation.As far as I can tell (based on other posts, testing, looking at code), this is not the case at all.What's really irritating is that if you use a video file, it works, but the video is perpetually muted - there appears to be no way for the end user or the developer to enable sound.
I'm not sure if this only happen on my device.Every time i unlock my device, a pop-up show A new iOS update is now available. Please update from the iOS 11 beta.I had upgarded to iOS 11.2 beta 1 and my apple watch on watchOS 4.2 beta 1.
https://learn.microsoft.com/en-us/answers/questions/320776/how-to-override-the-audio-track-details-underneath.html Audio/subtitles #EXT-X-MEDIA:NAME=eng-300,TYPE=AUDIO,LANGUAGE=eng”,GROUP-ID=audio,CODECS=mp4a.40.2,DEFAULT=YES,AUTOSELECT=YES,URI=300/2043--profile--4.3.m3u8 #EXT-X-MEDIA:NAME=“eng-500,TYPE=AUDIO,LANGUAGE=“eng”,GROUP-ID=audio,CODECS=mp4a.40.2,DEFAULT=NO,AUTOSELECT=YES,URI=500/2043--profile--4.3.m3u8 Currently we are getting English, English are audio track names Requirement’s : We should show like English(Dolby) , English(Stereo) please provide suggestions will be helpful to us 1.Since we are using TVOS native AvPlayer so customisation was not possible