Search results for

Popping Sound

19,349 results found

Post

Replies

Boosts

Views

Activity

Text Selection ToolTip Pop View
Hey, I’m still relatively new to swiftUI and was wondering if swiftUIs ToolTip feature is what I was looking for. The thing I was looking for is something similar to the both Screenshots, where some Text is selected and upon the text selection, on the users view, immediately pops up a blurred (glassy design?) view with a variety of options. These options are usually buttons and when clicking on them, the user may be directed to another view (via navigation link?) and after the user may have done something in this new view, it gets popped from the navigation link. Thus the user again sees the initial view (like on the two example screenshots) with still the same text being selected and the tooltip view being shown. If the users taps elsewhere, thus the selection should go away as usual and therefore the tooltip view as well. To sum up, is tooltip that what I’m thinking it may can do? And eventually if it’s true that this feature, if it’s the right tool, is only available to iOS 15+? Thank you for your
1
0
1.5k
Jun ’22
"Tap into" an audio stream?
I am trying to understand if the tvOS app(s) I want to make are currently possible. Happy to file feature requests if useful... I want to build a sophisticated audio processor for tvOS. This processor would not be a media player but would pick up or tap into the audio stream, do things to it, and send it on its way. Something like what the MTAudioProcessingTap Audio Processor sample code does, but intercepting the audio stream rather than playing a media asset.Based on my initial read of the controls for tvOS (focus engine, etc), I'm guessing the audio control interface would be on an iOS device, talking to the tvOS app via Bluetooth or wifi. If anyone has any architectural suggestions to investigate I'd appreciate it. I've worked a little bit with AVFoundation, but have primarily stayed higher-level for my lightweight media code.
1
0
586
Sep ’15
AVPlayer Network Audio
So I'm using AVSampleBufferDisplayLayer to display a video. I also want to have the accompanying audio with an AVPlayer. Both files come from the network. I'm having an issue with the audio, and it refuses to play because the file on the network does not have a file extension (which is a constraint I have to work with).I've solved the issue by downloading the entire audio file, writing it to the disk and then loading that into the AVPlayer, which works fine. However this creates long loading times because most of the audio files are > 15MB, so the video actually ends up loading before the audio because I'm streaming it in segments. I've tried using a combination of AVAsset and AVPlayerItem to try to solve this already. Any ideas?
0
0
493
May ’17
Positional audio from an SKVideoNode
My SceneKit app includes a SpriteKit scene which renders video via an SKVideoNode. The SpriteKit scene is assigned as a material on a SceneKit node, so the 3D scene has a video, along with its audio, playing in it. Very cool. Thanks Apple for such great integration between SpriteKit and SceneKit!I'm wondering if its possible to do positional audio here. Lets say the AV file offers 5.1 sound. I'd like to take the 6 audio tracks and assign them to SceneKit nodes (as 6 loudspeakers in the scene). This way, as the user rotates they'll hear the audio rotating with them.SpriteKit offers a listener node - but it only knows about 2D, rotation can't be specified for it.SceneKit offers an audioListener node, which'd be great; but I can't see a way to tell it about the audio playing via SpriteKit. I have the AVPlayer/AVPlayerItem.Any ideas on if this is possible?
1
0
612
Nov ’15
Car audio connection
Hi All,My application mutes the sound when the screen goes to sleep when connecting with car audio and USB.Is there a way to prevent muting?The application is created with objective-c.I do not use carplay.Thanks in advance.
0
0
1.3k
Aug ’18
NO SOUND
My iPad 7th generation updated to iOS 18.3 I’m getting the loading 5 bar symbol and No sound at all . Tried hard resetting multiple time and nothing works
3
0
398
Dec ’24
USB Audio Failing
Just like this thread (https://forums.developer.apple.com/thread/4273), I'me having huge problems with USB Audio.My Plantronics .Audio 995 USB headset disconnects after a while (funny that's usually when I launch an Android Studio project or a more heavy workload) with the message:USB Sound assertion in /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleUSBAudio/AppleUSBAudio-301.52/AppleUSBAudioStream.cpp at line 2867I have the remove the USB dongle and insert it again to have sound. This is huge mess with USB Audio, please fix it. El Capitan 10.11.1
2
0
1.2k
Nov ’15
How do I pop views from inside the GameScene class?
I am a noob to swift and programming in general and i am trying to make my first app.I have made it using a navigation controller which has a root view controller (MainViewController.swift). on this view controller i have a button which pushes the game view controller on to the scene: @IBAction func moveToGame(_ sender: Any) { let gameVC = self.storyboard?.instantiateViewController(withIdentifier: gameVC) as! GameViewController navigationController?.pushViewController(gameVC, animated: true) }I have then made the GameScene class conform to the SKPhysicsContactDelegate protocol and sat up this function inside the GameScene class: func didBegin(_ contact: SKPhysicsContact) { if contact.bodyA.node?.name == asteroide || contact.bodyA.node?.name == starman { } }what i then want to do, is to move back to the first view controller when this function is called. I first tried the function:navigationController?.popViewController(animated: true)but this doesn't seem to work inside the GameScene class. (It works when i p
0
0
576
Jun ’18
Audio Alerts in background
So I am working on an app that requires different audio files to be played using an NSTimer every X amount of time. Yes, it needs to play the audio in the background as well, but I have had inconsistent results trying to do so. I have searched the web thoroughly to find a solution to this problem, but I have had no luck.I have enabled background modes and checked off item 0(audio) and made sure it was in my info.plist. I have set the App does not run in background key to NO in the info.plist. In the viewDidLoad method of the VC, I have set the AVAudioCategory to categoryPlayback and set the AVAudioSession to active. I have also moved these lines of code around in different places of the app to look for different results, and the best results I have gotten is that the app will continue to run in the background sometimes and at other times it will suspend.Through all of my searching, I have seen forums explaining how to play audio in the background. However, I have not found
3
0
1.8k
May ’17
No audio input using M-Audio fasttrack in Garageband
Running El Capitan 10.11.4 BetaNot getting any audio input using Fast track M Audio. Is there a solution? Basically it shows up as an Unknown Device and is not being recognized. Tried reinsalling the driver; 1.9.6 but no luck (can get a very bad audio input when using quicktime)Also tried removing ~Library/Preferences/com.apple.BezelServices.plist ; rebooted and cleared the pram; Still No luck. Need a Solution so I can get back to work writing some serious musicThanks
0
0
383
Feb ’16
NavigationStack does not pop back if NavigationLink disappears
Imagine a SwiftUI View having an @ObservedObject var someObject that can update anytime in the background (for example via network connection) and showing a NavigationLink based on some condition of it: if someObject.someCondition { NavigationLink(destination: { DetailView() }, label: { ... }) } If you now tapped the NavigationLink, DetailView will be pushed on the current NavigationView. Now if afterwards someCondition would change to false, DetailView would be popped off again, since the Link to the View would not exist anymore: This was always the behaviour of NavigationViews with .navigationViewStyle(.stack) set since I use them. navigationViewStyle is deprecated now, but by using NavigationStack I don't get this behaviour anymore. The DetailView would stay on the Stack, even if the NavigationLink would not exist anymore at all. Is there a way to reproduce this old behavior again?
0
0
625
Apr ’23