• 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: Playing of the same audiofile n times...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing of the same audiofile n times...


  • Subject: Re: Playing of the same audiofile n times...
  • From: William Stewart <email@hidden>
  • Date: Wed, 12 Sep 2007 18:26:39 -0700

It sounds like you maybe doing more than just Stop - maybe you also call AudioUnitUninitialize (or maybe you are removing the render callback)?

On 12/09/2007, at 2:15 PM, Luca Filippin wrote:


Hi to all...
I have this problem. I want to play the same file more than 1 time using the
same AudioUnit and AudioConverter instances. The first time everything works
well. When there are no more samples to play I stop the AudioUnit with
AudioOutputUnitStop. Then, after some time I need to play the same file
again... I've already my AudioConverter and AudioUnit, so I just need (I think)
to reset the data offset for the callback procedure and perform an new
AudioOutputUnitStart... but, it doesn't work any longer. Why? I see that my
render proc is called but AudioConverterFillComplexBuffer doesn't execute the
actual callback passed as parameter... Any hints? Thanks in advance for your
help
Cheers
Luca



---------------------------------------------------------------- SISSA Webmail https://webmail.sissa.it/ Powered by Horde http://www.horde.org/

 _______________________________________________
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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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


References: 
 >Playing of the same audiofile n times... (From: Luca Filippin <email@hidden>)

  • Prev by Date: Re: Resend: Core Audio Clock example?
  • Next by Date: Recorded mic input plays too fast
  • Previous by thread: Playing of the same audiofile n times...
  • Next by thread: Re: Playing of the same audiofile n times...
  • Index(es):
    • Date
    • Thread