Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6978819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:48:20+00:00 2026-05-27T17:48:20+00:00

I tried writing an app that samples the microphone using code from http://code.google.com/p/ios-coreaudio-example/ (Core

  • 0

I tried writing an app that samples the microphone using code from http://code.google.com/p/ios-coreaudio-example/ (Core Audio),
and plays sounds using code from https://github.com/hollance/SoundBankPlayer (OpenAL).

This works fine when running on simulator, but when testing on a real device – microphone sampling doesn’t work (the recordingCallback in the IosAudioController never gets called).

When I disable the SoundBankPlayer code (do not instantiate a new SoundBankPlayer, therefore no OpenAL code is used), the microphone sampling works just fine.

Is there a known limitation of mixing OpenAL and Core Audio code in the same project? If so – is there a workaround? If not – what else could the problem be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:48:21+00:00Added an answer on May 27, 2026 at 5:48 pm

    OK, turns out I had to change the audio session category from kAudioSessionCategory_MediaPlayback to kAudioSessionCategory_PlayAndRecord when initializing the audio session in the OpenAL code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a Google Maps app that requests data from the server using jQuery's
I'm writing an app for WM that handles incoming SMS events. I tried making
I am writing an app that downloads a wav file from a server and
I am re-writing an app that sits over a legacy database. I'm using NHibernate
I'm currently writing a small python app that embeds cherrypy and django using py2app.
I'm writing an app that supposed to copy a bunch of files from one
In a WPF app that I'm writing using the MVVM pattern, I have a
I'm using google app engine, and am having trouble writing querys to filter ReferenceProperties.
I'm writing an app that sets an alarm, and here's the relevant code that's
I'm writing a universal iOS app that a text entry component to it. When

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.