• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
interruptionListener in iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

interruptionListener in iPhone


  • Subject: interruptionListener in iPhone
  • From: Sameera Benagal <email@hidden>
  • Date: Mon, 9 Mar 2009 19:29:39 +0530

Hi ,

My recording application has interruption listener handler that will pause the recording on the incoming call and resume the recording after ignoring the call.
interruptionlistener(...)
{ 
if(interruption  begins)
//pause the recording
if(interruption ends)
AudioSessionSetActive(true);
//resume recording
}

This works well when i record for the first time(when interrupted, ignored the call, resume recording). But next time when I do start recording, using AudioSessionSetProperty(kAudioQueueProperty_EnableLevelMetering, true) returns 560030580(!act) error. 

Kindly guide me on getting AudioQueueLevelMeterState?

Thanks and Regards
Sameera
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: interruptionListener in iPhone
      • From: Doug Wyatt <email@hidden>
    • Re: interruptionListener in iPhone
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Send midi to host application
  • Next by Date: AVAudioPlayer - playing multiple files
  • Previous by thread: audio units question
  • Next by thread: Re: interruptionListener in iPhone
  • Index(es):
    • Date
    • Thread