Search results for

Popping Sound

19,345 results found

Post

Replies

Boosts

Views

Activity

AVAudioEngine synchronize with AVPlayer
Is there a way to synchronize AVAudioEngine playback (for audio) in sync with AVPlayer for visual playback? The AVPlayer documentation describes the property masterClock as the means to synchronizing video-only movies with audio played by another source. I cant find any in AVAudioEngine that contains a CMClockRef object.
4
0
4.1k
Jun ’15
Reply to Anyone else experiencing BT connection issues?
One of my users can connect his bluetooth device just fine to his phone. But when a call comes in and he answers it, even though the phone thinks it's in Bluetooth mode, the audio and voice is coming out the normal phone speakers/mic.He has to switchit to normal, then switch it to bluetooth and it works again, until the start of the next call.iPhone6 Plus AT&T
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Audio quality on custom rate
hi, i have a simple avaudioplayer, wich runs with a custom rate from -16% to +16%. If the rate is not exactly 1.0 the Sound quality is really bad.i tried 48khz aiff and wav format And set a 48khz sample rate To my Audio Session as well.quality is still bad... can anyone help me?
2
0
4.0k
Jun ’15
Reply to Will updating my iPhone to iOS 9 stop call functionality?
I had the same issue until I found what was causing it. Prior to installing iOS 9 beta 1 I had changed my Call Audio Routing to Bluetooth Headset from Automatic. After not being able to make or receive calls after installing iOS 9 beta 1, I downgraded back to iOS 8.3. Then I found the solution and set the Call Audio Routing back to Automatic reinstalled iOS 9 Beta 1 and now I can make and receive calls.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Can't restore backup to iOS8 from 9 beta
Just to be clear, because I'm new to ios betas. I do a full iTunes backup of my iPad 2 WiFi, then instal ios9, I SHOULD be able to restore back to that ios 8.3 no problem? Because it sounds like that's what the OP is trying to do essentialy, and it's failing. That blurb in the notes usually goes for OS X as well, but at least with OS X we can clone/restore back completely from backup with out issue. I might wait for B 2 regardless, but i'ts still nice to know what i'm getting into.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Hey Siri
Anyone else use hey siri and have the phone wake up but not provide an audio cue it's listening? I think it didn't hear me so don't say anything and then I get a sorry I didn't get that. Well, I didn't know you were listening! I usually use it when I don't actaully see the phone screen but am in the same room so it happens often.
2
0
228
Jun ’15
Sample code to play sound?
So wondering if anyone has gotten the watch to play any sounds. I've been looking for good sample code to update my old application which relied on the phone to produce the sounds. I found different examples people have been using and nothing seems to work. Currently my code looks as follows:import WatchKitimport Foundationvar player: WKAudioFilePlayer!class InterfaceController: WKInterfaceController { @IBOutlet var TestButton: WKInterfaceButton! override func awakeWithContext(context: AnyObject?) { super.awakeWithContext(context) // Configure interface objects here. } override func willActivate() { // This method is called when watch view controller is about to be visible to user super.willActivate() } override func didDeactivate() { // This method is called when watch view controller is no longer visible super.didDeactivate() } @IBAction func testPressed() { print(test pressed) let filePath = NSBundle.mainBundle().pathForResource(flute, ofType: mp3)! let fileUrl = NSURL.fileURLWithPath(fil
4
0
1.8k
Jun ’15
Reply to Sample code to play sound?
I haven't tried playing sounds yet, but some thoughts come to mind:Double-check that the mp3 asset can be found and is correctly loaded by the WKAudioFilePlayerCheck that your Watch is not mutedCheck the error property of the WKAudioFilePlayer to find out why it is not playing audio
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to NSTableView dynamic cell row height?
I’m afraid there’s no magic bullet for this. PeterNeg is right that you have to use -tableView:heightOfRow:, but it’s quite complicated to set up, because you’ll need to maintain a cache or row heights (so that you don’t recalculate them every time your delegate is queried, which will slow things down), and you’ll have to do all the height calculations on your own using NSLayoutManager methods. You’ll also need to observe changes to the frame of the edited text field, and changes to the text, and tell your table to resize accordingly.Below is a full breakdown of how I achieve this in my app. Mine is done in NSOutlineView and in Objective-C, but the principle is the same, so you can adapt this for NSTableView and Swift.1. Keep a dictionary of row heights. This will store the row height NSNumber against a unique ID of some sort associated with your model object.2. Maintain an isRecalculatingRowHeights BOOL.3. Implement a -recalculateRowHeights method which:a. Removes all objects from the rowHeights dictionary.b
Topic: UI Frameworks SubTopic: AppKit Tags:
Jun ’15