Questions tagged [remoteio]

The tag has no usage guidance.

remoteio
30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
602 views

iOS 16 RemoteIO: Input data proc returned inconsistent 2 packets

I am getting an error in iOS 16. This error doesn't appear in previous iOS versions. I am using RemoteIO to playback live audio at 4000 hz. The error is the following: Input data proc returned ...
ndr's user avatar
  • 72
4 votes
0 answers
643 views

Airplay output from RemoteIO pass through

To prove a concept I am trying to output the iDevice microphone over Airplay. I have modified the AurioTouch code to provide the pass through, and it works fine using Airplay Mirroring from 4S / iPad ...
thf_dave's user avatar
  • 383
4 votes
1 answer
454 views

recording against a metronome of set length using remote IO

I was able to create the exact functionality I wanted to avaudioplayer and avaudiorecorder but of course experienced latency problems. So after reading pretty much every article on the web and ...
the-a-train's user avatar
  • 1,133
3 votes
0 answers
909 views

MultiRoute Audio Input in iOS

We've been working with AudioUnits in Core Audio. It is simultaniously a very powerful audio framework, and one of the worst documented which makes it both a joy and a frustration to work with. We ...
Leonhard Printz's user avatar
3 votes
1 answer
486 views

Eliminating current playing track sound in recording track

I am looking to use RemoteI/O for audio recording and playing.I am very poor to understand core audio, because of that I followed Amazing Audio open source.So far I can able to Record and play with ...
ajay's user avatar
  • 3,285
2 votes
1 answer
296 views

How to connect multiple AudioUnits in Swift?

I currently have a RemoteIO Audio Unit configured and working, it simply takes input, and passes it to output, so I can hear myself through the headphones of my iPhone when I speak into its microphone....
Luke's user avatar
  • 9,612
2 votes
0 answers
172 views

Remote IO Audio Unit is not capturing audio from speaker or remote stream

I am using following code to record audio and writing it in file - (void) initializeOutputUnit { OSStatus status; // Describe audio component AudioComponentDescription desc; desc....
iosdev1111's user avatar
  • 1,062
2 votes
1 answer
4k views

Active noise cancellation in iOS

I'm trying to do active noise cancellation in iOS using remote I/O. I have been able to get the audio buffer in 8.24 fixed point format and put it in the speaker as well. Right now I'm trying to ...
rushafi's user avatar
  • 863
2 votes
0 answers
4k views

Real-time converting the PCM buffer to AAC data for iOS using Remote IO and Audio Convert Service

I'm using Remote IO to get the audio buffer from PCM, I want to real-time send the data to Darwin Server by cellular network (3G network). I choose The AAC format as there is an article from ...
Ge Liu's user avatar
  • 392
2 votes
0 answers
268 views

remoteIO input square wave frequency is low

i input to the audioJack a square wave in the frequency of 2-3 khZ for about 5 seconds. the square wave is 1 and 0 - no negative values. i get some periodic signal that going between -32000 to 32000 (...
Curnelious's user avatar
1 vote
0 answers
62 views

iOS 15 beta RemoteIO unit outputs silent frames with stereo orientation

Has anyone tried using RemoteIO unit on iOS 15 beta 3 with stereo orientation set on AVAudioSession? It emits silent audio frames on iOS 15 betas but works perfectly well on iOS 14. It works if stereo ...
Deepak Sharma's user avatar
1 vote
0 answers
84 views

Able to play Stereo Type Audio on simulator but not on device using sample RemoteIO/AudioUnit app

In this sample app, I was able to load in a file of stereo data and play it using the simulator. But it doesn't work on the device. I tried using a sound editor and convert the stereo clip to mono and ...
Peter Fong's user avatar
1 vote
0 answers
973 views

Deactivate iOS audio session when not in use?

I have an iOS app that records segments of audio for specified periods of time, performs analysis over that audio, returns the results and then sits basically inactive until the user wants to record ...
dpcasady's user avatar
  • 1,836
1 vote
1 answer
896 views

Multi channel audio iOS (need 4 simultaneous inputs)

I am working on a project where I need to process 4 audio input streams simultaneously. So far, I have been working using stereo audio streams, where the data originates from a USB based audio device ...
learnvst's user avatar
  • 15.9k
1 vote
1 answer
999 views

Using ExtAudioFileWrite to write at the end of a file

I'm trying to open a file and append data to it using ExtAudioFileWrite. Now, creating/initial writing(on creation)/converting works just fine, but unfortunately I can't seem to be able to open the ...
Rad'Val's user avatar
  • 9,073
1 vote
2 answers
595 views

Using remote io for recording and AVPlayer for playing ipod library audio at the same time continuously

Can I use remote io for recording and AVPlayer for playing iPod library audio at the same time continuously? I tried but the error returned was: AURemoteIO::ChangeHardwareFormats: error -10875.
sujal's user avatar
  • 51
1 vote
1 answer
486 views

Setting the rate at which RemoteIO Audio unit render callbacks are called

I've setup RemoteIO audio unit render callbacks for both input and ouput. I'd like the render callbacks to be called less often. How can I specify the rate at which they're called?
MrDatabase's user avatar
0 votes
0 answers
142 views

RemoteIO Unit remove background noise

Is there a way to remove background noise from audio samples coming from microphone(RemoteIO Unit) like Apple does it in AirPods during phone call? Which AudioUnit is most effective to achieve this?
Deepak Sharma's user avatar
0 votes
1 answer
283 views

AVAudioSession RemoteIO playAndRecord

I think AVAudioSession APIs have evolved quite a bit since iOS7 and often are confusing. My objective is to setup a RemoteIO unit, record audio from microphone and playback samples simultaneously ...
Deepak Sharma's user avatar
0 votes
1 answer
187 views

BAD_ACCESS on RemoteIO callback only when headphone jack plugged in

I have this following render callback for a remoteIO audio unit. Simply accessing the 0th element of the ioData parameter results in a crash. Very simply put, this works with no headphone jack ...
Alex Bollbach's user avatar
0 votes
1 answer
218 views

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 ...
jcr's user avatar
  • 303
0 votes
1 answer
371 views

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 ...
mobile dev's user avatar
0 votes
1 answer
2k views

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 ...
TJA's user avatar
  • 3,019
0 votes
1 answer
217 views

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 ...
windup's user avatar
  • 455
0 votes
0 answers
103 views

Remote IO AudioBufferList Crash

Why would the following bolded line crash??? Any suggestions? static OSStatus AudioInputCallback(void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, ...
Alistair's user avatar
  • 111
0 votes
0 answers
72 views

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 ...
Alistair's user avatar
  • 111
0 votes
1 answer
197 views

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 ...
silviu's user avatar
  • 189
0 votes
0 answers
346 views

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's user avatar
0 votes
1 answer
249 views

What conditions will cause an iOS app to be shut down by the OS besides high memory usage?

I am having a frustrating stability problem with an iPad app. On iPad 2, the app runs fine with no crashes, but on iPad 1, it will shut down randomly in the same way that it shuts down when memory ...
jeremywhuff's user avatar
  • 2,970
0 votes
1 answer
1k views

error in audio Unit code -remoteIO for iphone

i have this code, in order to read buffer samples , but i get a strange mach-o linker error , Framework of audio unit couldnt loaded so i put the audioTollBox and coreAudio as i read. my code is : #...
Curnelious's user avatar