Questions tagged [remoteio]

72 questions
2
votes
2 answers

Direct calls to Audio Unit instead of callbacks iOS

Are there direct calls to the audio unit so that I don't have to depend on the system callbacks-input and render callbacks(I can mimic this with a timer). For example, like there is AudioUnitRender to pull data from the audio unit, is there another…
Namratha
  • 16,630
  • 27
  • 90
  • 125
1
vote
1 answer

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
  • 43,245
  • 41
  • 111
  • 153
1
vote
0 answers

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 orientation is not enabled. This can be verified…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
1
vote
1 answer

AudioToolBox AudioConverterFillComplexBuffer implementation file is not present

I am using realtime audio rendering with Audio Unit RemoteIO and I need to do sample rate conversions to ensure that my rendering is the same sample rate as hardware specification. Eg. in iPhone 12 sample rate is 48khz but in iPhone 8 its…
cs guy
  • 926
  • 2
  • 13
  • 33
1
vote
1 answer

AudioUnitRender error -50 with odd length buffers

I have a RemoteIO unit configured with AVAudioSessionCategoryPlayAndRecord. I find some strange behavior in it. I open the app, and immediately close it before audioUnit initializes fully (it actually initializes in background as I quit the app too…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
1
vote
1 answer

How to connect together RemoteIO, Mixer and Filter in AudioGraph?

I have a question about the node connection in AudioGraph. My idea is to receive from input the voice, turn it up volume with a mixer and filter with a low-pass filter. Reading the book "Learning Core Audio" I was able to connect and to operate the…
Fantastico
  • 31
  • 7
1
vote
2 answers

RemoteIO configuration at runtime

I have a RemoteIO unit setup that gets input from microphone and plays it. The playback can be enabled or disabled anytime with a tap of a button. My question is does the call to enable or disable playback requires audio unit to stop, uninitialize…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
1
vote
1 answer

What actions are permitted in an Audio Output Unit's input callback

I am using an Audio Output Unit to capture mic data. I get notified that there is data to read via a callback I have set using the kAudioOutputUnit_SetInputCallback property, and in the callback I read the data by calling…
Tom
  • 1,204
  • 2
  • 10
  • 25
1
vote
1 answer

Multichannel Mixer + Voice-Processing IO Unit

I have an AUGraph setup and working, it consists of a multichannel mixer (with a single monophonic input) feeding a RemoteIO (kAudioUnitSubType_RemoteIO) unit to output to the speaker. I implemented the single input mixer in order to be able to pan…
Electro-Bunny
  • 1,380
  • 2
  • 12
  • 33
1
vote
0 answers

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 changing the descriptor settings and it will…
Peter Fong
  • 11
  • 1
  • 2
1
vote
0 answers

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 again. The app's audio configuration is similar to…
dpcasady
  • 1,826
  • 12
  • 30
1
vote
1 answer

Accessing Microphone and Camera Live Raw Data on iPhone

I need to access live raw data from camera and microphone on iPhone. I was searching for a few days, using "Remote IO" and "Audio Queue" were suggested for audio and AVCaptureSession for video. Since I couldn't find a way to pull raw audio…
Abcd Efg
  • 2,146
  • 23
  • 41
1
vote
1 answer

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 designed specifically for iOS, like the Tascam…
learnvst
  • 15,455
  • 16
  • 74
  • 121
1
vote
1 answer

RemoteIO recorded audio file is either silent or 4KB

I'm using RemoteIO successfully to perform analysis on the incoming audio stream from the mic. I can't seem to get a file written to disk, though. I've read around a number of questions: Example of saving audio from RemoteIO?, AudioBufferList…
buildsucceeded
  • 4,203
  • 4
  • 34
  • 72
1
vote
1 answer

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 file for writing afterwards. There is only one…
Rad'Val
  • 8,895
  • 9
  • 62
  • 92