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
<http://www.hsenidoutsourcing.com/>
Mobile
:
 +94-722 463 566
Phone
:
 +94-112 699 754
Fax
:
 +94-112 673 845
Web
:
 www.hSenidOutsourcing.com <http://www.hsenidoutsourcing.com/>
Skype
:
 clementprem
<https://www.facebook.com/hsenidoutsource>
<http://www.linkedin.com/company/hsenid-outsourcing>
<https://twitter.com/hSenidOutsource>
<http://www.youtube.com/channel/UCFE0IiMP1w-VqUqkRuccvJA>
<https://plus.google.com/111668655768961628046/about>
<http://appspace.hsenidoutsourcing.com/>
<http://www.hsenidoutsourcing.com/>  <http://www.hsenidoutsourcing.com/>
<http://www.hsenidoutsourcing.com/>
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 protected]>
wrote:

> Send Coreaudio-api mailing list submissions to
>         [email protected]
>
> 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 protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> 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 protected]>
> To: coreaudio-api <[email protected]>
> Subject: AUFilePlayer notify when reached specific time in file
> Message-ID: <[email protected]>
> 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 protected]
> 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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to