Questions tagged [remoteio]

72 questions
0
votes
1 answer

Core Audio - Remote IO confusion

I am having trouble interpreting the behavior of the remoteIO audiounit callbacks in iOS. I am setting up a remoteIO unit with two callbacks, one as in input callback and one as an "render" callback. I am following a very similar remoteIO setup as…
Alex Bollbach
  • 4,370
  • 9
  • 32
  • 80
0
votes
1 answer

Playing .caf audio file with ExtAudioFileRead is not sync

My app does huge data processing on audio coming from the mic input. In order to get a "demo mode", I want to do the same thing based on a local .caf audio file. I managed to get the audio file. Now I am trying to use ExtAudioFileRead to read the…
jcr
  • 303
  • 1
  • 6
  • 16
0
votes
1 answer

Recording audio with Audio Unit with files segmented in X number of seconds each

I've been at this for a few days now. I'm not very familiar with the Audio Unit layer of the framework. Could someone point me to some full example on how I can let user record and than write the file on the fly with x number of interval. For…
0
votes
1 answer

AVAudioSession, AudioStreamBasicDescription and RemoteIO device defaults

I am in the process of trying to write an App that will do digital signal processing and want to make it as light as possible. One thing that confounded me for a while was just what the default values for various devices might be so that I could…
TJA
  • 2,969
  • 2
  • 25
  • 32
0
votes
1 answer

Apple CoreAudio on iOS: synthesis to Reverb2 AudioUnit to RemoteIO

I've successfully been synthesizing 16-bit linear PCM and outputing it to the RemoteIO AudioUnit. Now I'm trying to add a Reverb2 Audio Unit prior to outputing to RemoteIO. I'm creating an AudioGraph and setting the callback to the Reverb Unit, but…
windup
  • 455
  • 1
  • 5
  • 17
0
votes
1 answer

CoreAudio, iOS: Failed to use mono Input and stereo output with RemoteIO

I was trying to set audio input to mono and output to stereo using two AudioStreamBasicDescriptions for one RemoteIO AudioUnit, which is the only AudioUnit there. Then I registered two separate callbacks for input…
kakyo
  • 10,460
  • 14
  • 76
  • 140
0
votes
1 answer

Core Audio: kAudioOutputUnitProperty_SetInputCallback on a non-remoteIO unit

I'm new to Core Audio so I might not see something obvious… My aim is to process previously recorded audio signals. However, those signals should be filtered first. I don't need to play any audio. I only need to record and process it. My graph looks…
lbrndnr
  • 3,361
  • 2
  • 24
  • 34
0
votes
0 answers

Remote IO AudioBufferList Crash

Why would the following bolded line crash??? Any suggestions? static OSStatus AudioInputCallback(void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp…
Alistair
  • 101
  • 10
0
votes
0 answers

Why does this malloc crash for remote IO?

I'm trying to use malloc to create some memory for an audio buffer for Remote IO. It works the vast most of the time. But recently it's been crashing on some iOS 6.0.1 through 6.1.3, strangely on iPhone 5 and iPad 3-4, iPad 3-5, and iPad 3-6. …
Alistair
  • 101
  • 10
0
votes
1 answer

AudioOutputUnitStart replace the Music app

My application (VoIP one) is using kAudioSessionCategory_PlayAndRecord category. Everything is working perfect expecting the fact that When calling AudioOutputUnitStart the Music App is replaced by my application. Basically if I double tap the home…
silviu
  • 179
  • 3
  • 10
0
votes
0 answers

Handling interruptions while playing audio using OpenAL, RemoteIO and AVPlayer simultaneously

I am developing an app that requires playing audio using OpenAL, RemoteIO and AVPlayer simultaneously. I am also handling interruptions the way it is mentioned according to Apple's guidelines here:…
Bijoy Thangaraj
  • 5,434
  • 4
  • 43
  • 70
0
votes
1 answer

RemoteIO: effecting audio produced by app

In a nutshell: Is there a way to capture/manipulate all audio produced by an app using RemoteIO? I can get render callbacks which allow me to send audio to the speaker by hooking into RemoteIO's output bus for the input scope. But my input buffer…
Scrooch
  • 213
  • 1
  • 6
1 2 3 4
5