• 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
Re: Coreaudio-api Digest, Vol 11, Issue 210
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coreaudio-api Digest, Vol 11, Issue 210


  • Subject: Re: Coreaudio-api Digest, Vol 11, Issue 210
  • From: Clement Prem <email@hidden>
  • Date: Sun, 16 Nov 2014 13:09:06 +0530

Add a render notifier to your file player unit


AudioUnitAddRenderNotify(<filePlayerUnit>, &playRenderNotify, <data>)



OSStatus playRenderNotify(void *                      inRefCon,

                          AudioUnitRenderActionFlags *ioActionFlags,

                          const AudioTimeStamp *      inTimeStamp,

                          UInt32                      inBusNumber,

                          UInt32                      inNumberFrames,

                          AudioBufferList *           ioData) {


​//Check the current play back time here​


​}​


Regards
Clement Prem R
Software Engineer / Project Lead -iOS
Mobile
:
 +94-722 463 566
Phone
:
 +94-112 699 754
Fax
:
 +94-112 673 845
Web
:
 www.hSenidOutsourcing.com
Skype
:
 clementprem
        
Disclaimer:
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. The content and opinions contained in this email are not necessarily those of hSenid Software International. If you have received this email in error please contact the sender.

On Sat, Nov 15, 2014 at 1:30 AM, <email@hidden> wrote:
Send Coreaudio-api mailing list submissions to
        email@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.apple.com/mailman/listinfo/coreaudio-api
or, via email, send a message with subject or body 'help' to
        email@hidden

You can reach the person managing the list at
        email@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Coreaudio-api digest..."


Today's Topics:

   1. AUFilePlayer notify when reached specific time in file
      (Anthony Myatt)


----------------------------------------------------------------------

Message: 1
Date: Fri, 14 Nov 2014 15:23:20 +1100
From: Anthony Myatt <email@hidden>
To: coreaudio-api <email@hidden>
Subject: AUFilePlayer notify when reached specific time in file
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=us-ascii

Hello,

I am using an AUFilePlayer and need to call a function when the file reaches a certain point in time, e.g. 5 seconds before the end.
Does anyone know how this can be done?


Thanks,

Anthony


------------------------------

_______________________________________________
Coreaudio-api mailing list
email@hidden
https://lists.apple.com/mailman/listinfo/coreaudio-api

End of Coreaudio-api Digest, Vol 11, Issue 210
**********************************************

 _______________________________________________
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

  • Prev by Date: AVAudioPlayerNode scheduleSegment:startingFrame:frameCount:atTime:completionHandler: has no effect?
  • Next by Date: AVAudioUnitGenerator
  • Previous by thread: AVAudioPlayerNode scheduleSegment:startingFrame:frameCount:atTime:completionHandler: has no effect?
  • Next by thread: AVAudioUnitGenerator
  • Index(es):
    • Date
    • Thread