Re: Playing of the same audiofile n times...
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