Search results for

Popping Sound

19,356 results found

Post

Replies

Boosts

Views

Activity

How to send an playback event from my custom app to remote control in iPhone?
I made a simple app to play audio using custom audio engine.The audio engine supports audio format that encrypted like audio DRM and used a framework of Audio Unit.If the remote control in iPhone presses a playback button then must playing audio and changing playback icon to pause icon. So, my custom audio app had played, but the icon in remote controller was not changed.I think that may my custom app don't send an event notification to remote control. I want to send an event that my audio app is playing.I would like to get your good idea.rcc = [MPRemoteCommandCenter sharedCommandCenter];pauseCommand = [rcc pauseCommand];[pauseCommand setEnabled:YES];[pauseCommand addTarget:self action:@selector(playOrPauseEvent:)];playCommand = [rcc playCommand];[playCommand setEnabled:YES];[playCommand addTarget:self action:@selector(playOrPauseEvent:)];...- (MPRemoteCommandHandlerStatus) playOrPauseEvent: (MPRemoteCommandEvent *)playOrPauseEve
0
0
208
Jul ’15
Reply to Renting movies within an app?
Your reading of 2.3 is incorrect - it applies to physical products or services, not digital media. You may certainly use IAP to provide access to digital media through an app; because there may be a time limit or use limit you will use a non-renewing subscription or a consumable IAP. That is the best user experience but it involves paying Apple 30%. If that is an issue you will want to read guideline 11.14 and operate within that.11.14 Apps can read or play approved content (specifically magazines, newspapers, books, audio, music, video and cloud storage) that is subscribed to or purchased outside of the App, as long as there is no button or external link in the App to purchase the approved content. Apple will only receive a portion of revenues for content purchased inside the AppAlso - why not post this question on the In App Purchase forum?
Jul ’15
Reply to Can't open Xcode 6.4 on El Capitan
2015-07-20 16:30:53.276 Xcode[1943:204629] ### Failed to load Addressbook class CNContactNameFormatterobjc[1943]: Class IDEBlockScrollView is implemented in both /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/IDEKit and /Applications/Xcode.app/Contents/PlugIns/IDEProductsUI.ideplugin/Contents/MacOS/IDEProductsUI. One of the two will be used. Which one is undefined.2015-07-20 16:30:53.604 Xcode[1943:204634] DeveloperPortal: Using pre-existing current store at URL (file:/2015-07-20 16:30:53.909 Xcode[1943:204675] 16:30:53.905 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
Jul ’15
Reply to How to share or save Audio after Effects, like altering pitch or rate?
The sample is installing a tap on the main mixer when recording. The mixer node is being fed by output of the effected audio and therefore what gets recorded to the file is the resultant mix. The sample uses 2 players and 2 effects but basically it's setting up the engine like this:Player 1 -> Effect 1 - > Main Mixer - > OutputPlayer 2 -> Effect 2 - > | | Tap off Main Mixer - > Audio File OutputYour code appears to be placing a tap on an audioPlayerNode, thereby just recording the output of the player.The fact that the sample is in Obj-C shouldn't make a difference.
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’15
Reply to Can Audio Unit Extensions be hosted using AU v2 API?
There are bridges between both versions to make life as easy as possible for hosts. v3 hosts can use v2 AUs while v2 hosts are required to make some minor API changes to be able to host v3 audio units.This information is discussed at about the 20min point in the WWDC Session < https://developer.apple.com/videos/wwdc/2015/?id=508 >.The summary comes down to the v2 host checking for a new flag kAudioComponentFlag_RequiresAsyncInstantiation and then using the new AudioComponentInstantiate insted of AudioComponentInstanceNew. There is also a new property from retrieving the v3 units view dependent on the flag kAudioComponentFlag_IsV3AudioUnit.The above Audio Unit Extensions presentation also has an accompanying v3 extension and host example for download.
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’15
I use AudioQueue to record,why call the callback nearly at the same time
I am trying to use the AudioQueue to get the raw PCM audio data,but when the program is running ,it will first call four callbacks with an interval of 0.001s(seem to happen at the same time),and then after 0.5s it will call the next four callbacks repeatedly.Does anyone have come across this situation?note:I make reference to an example (SpeakHere);I set my buffer size as 2048 Bytes; here are the part of my programs:_recordFormat.mSampleRate = 8000;_recordFormat.mChannelsPerFrame = 1;_recordFormat.mFormatID = kAudioFormatLinearPCM;if (inFormatID == kAudioFormatLinearPCM){ _recordFormat.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger | kLinearPCMFormatFlagIsPacked; _recordFormat.mBitsPerChannel = 16; _recordFormat.mBytesPerPacket = _recordFormat.mBytesPerFrame = (_recordFormat.mBitsPerChannel / 8) * _recordFormat.mChannelsPerFrame; _recordFormat.mFramesPerPacket = 1;}while I am running the APP the print is shown as follow:(note the time)2015-07-20 16:45:53.235 HelloWorld[4115:239431] bufferByteSize
0
0
116
Jul ’15
Reply to nsurlsessiond crashes EXC_RESOURCE CPU in iOS 8.3
You should definitely file a bug about this. Please post your bug number, just for the record.If you can reliably reproduce the problem then it'd be great if you could attach a small test project to the bug. Also, if you can make sure it still happens on iOS 9 beta, that'd be grand.It sounds like something you're doing is tying nsurlsessiond up in knots such that it's got stuck in a tight loop. Eventually the watchdog kills it and things recover. However, given that your just dealing with a single upload task, it's not obvious how you managed to convince the daemon to get itself into this state. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Trouble loading library in Audio Unit Plugin.
I'm really new to xcode and Mac Development, so please bear with me.I'm trying to create an Audio Units plugin that will use the Chromium Embedded Framework. I've seen and successfully compiled projects such as this one:https://github.com/acristoffers/CEFSimpleSampleAnd I've been able to create a compiled and loading Audio Unit plugin too. However, When I try to load the Chromium Embedded Framework.framework via copying into the Frameworks folder and use the following build script:install_name_tool -change @executable_path/Chromium Embedded Framework @executable_path/../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework $PROJECT_DIR/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded FrameworkI get this error on test of the AU: AU Validation Tool Version: 1.6.1a1 Copyright 2003-2013, Apple Inc. All Rights Reserved. Specify -h (-help) for command options -------------------------------------------------- VALIDATING AUDIO UNIT: 'aufx' - 'FILT'
0
0
554
Jul ’15
Reply to Lot of NSURLSession errors when downloading too much files
It sounds like you're crashing nsurlsessiond, the daemon responsible for handling NSURLSession background sessions. This is obviously not good, and also indicative of a bug in nsurlessiond because app code isn't supposed to be able to cause it to fail like this . If you import crash logs from the device (attach via USB, sync via iTunes, look in Xcode's Devices window), do you see any recent nsurlsessiond crash logs? If so, please post one. I tap on the startDownloads button many times (about 20-30 times to start about 2000-3000 downloads) and wait some seconds.So the total number of tasks you're starting is 40,000 to 90,000? Or 2,000 to 3,000? The latter should be fine; the former would definitely be asking for trouble.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to How to do synchronous network calls if NSURLConnection.sendSynchronousRequest is depricated
For my use case, I don't care whatsoever about speed. Speed is completely irrelevant in this case. What I need is a syncronous solution because I have network calls that depend on the results of previous network calls. This can go 3 layers deep in my case.Reading through this thread, it sounds like you've got a misconception of how asynchronous code works.Your original psuedo code:dispatch async or whatever way we want to get off the main ui thread { Make network calls synchronously to fetch multiple accounts (outer loop) { Make network calls synchronously to fetch products in each account (inner loop) { } } reload UI on main UI thread}Proper asynchronous code:Make asynchronous call to fetch multiple accounts with completion handler { Make asynchronous calls to fetch products for each account with completion handler { create list of products, and dispatch asynch addition of (account, product list) info onto main thread when done }}Three layers deep is nothing, you could go arbitrarily deeply nested.
Jul ’15
Watch Alarms not working at all
My watch alarms are not working at all. I tried to use the nightstand feature, and the watch would light up at the time the alarm was set for, and indicate the alarm had been triggered. However, there was no sound or haptic alert. Tried this several times, with a reset, and no change in behavior. Checked mute/sound etc. and tried several configurations: haptic 0, 1, 2, sound mute on/off etc. No change in behavior. Pretty consistent when it's in nightstand mode: watch would light up, ask if you wanted to snooze or not, but no sound or vibration. It's worse outside of nightstand: when the alarm should go off, nothing happens at all. I'll go back into the alarm app, and the triggered alarm is now set to off. This happens repeatedly and consistently. WatchOS 2 beta 3
3
0
8.9k
Jul ’15
Reply to Why can't extensions that declare protocol conformance be set to a specific access level?
Thanks for that feedback and glad you've already filed a radar for this! I will as well. Based on the documentation referenced in my earlier post, it sounds like this was a deliberate decision rather than an unexpected bug. I was hoping, if that's the case, that someone from the Swift team might be willing to share the rationale behind the decision. But my hope is that it's just a not-yet-implemented feature that is intended to go in sooner than later.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’15
Reply to verify subscription externally?
I was considering creating two different subscriptions.A base level for the company.Then, I would define multiple types of subscriptions, 1 for each number of users a company might want.Looks like I need to define multiple types of subscriptions, all including the base level.Example:base2users for $39.base3users for $39+$7=46base4users for $39+(2 * $7) = 53etcThen when they wanted to add a user, I would just cancel their existing subscription and sign them up for the new one.Does this sound plausible? I really appreciate your help and feedback navigating this stuff.-j
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’15