Re: CallHostTransportState doesn't return to stopped state
Re: CallHostTransportState doesn't return to stopped state
- Subject: Re: CallHostTransportState doesn't return to stopped state
- From: Mark Pauley <email@hidden>
- Date: Thu, 23 Aug 2007 13:51:50 -0700
From my experience, logic keeps playing a tail after the transport
stops. Maybe this is just a nicety to keep you from hearing a loud
pop every time you hit stop.
_Mark
On Aug 23, 2007, at 11:50 AM, William Stewart wrote:
Yes - they are completely independent.
On 22/08/2007, at 4:36 PM, Eric Eizenman wrote:
Paul, It sounds like you're looking for the wrong indication.
Knowing whether the transport is not playing wouldn't suggest that
your render call is not being invoked. Is that what you were saying
Bill ?
------------------------------------------------------------------
Eric Eizenman
BIAS Inc., Audio Software Development
------------------------------------------------------------------
On Aug 22, 2007, at 3:04 PM, William Stewart wrote:
is playing should be set to false when the transport is not
moving. that is how you can distinguish between an AU that is
being called regardless of whether the host is playing its time
line or not..
Sounds like a bug in Logic?
Bill
On 21/08/2007, at 3:33 PM, Paul Tapper wrote:
Hi,
I'm trying to check whether my AudioUnit is having audio played
through it or not by calling CallHostTransportState and checking
the isPlaying that it returns.
When I test in Logic Express 7, the plug starts off by reporting
that the audio is stopped (isPlaying is false), and then when I
play audio it reports isPlaying as true, which is fine. The
problem comes when I press stop, and the audio stops playing, the
plug still gets isPlaying true - I would have thought it should
return to false. Am I just using it wrong?
I also find that currentSample just keeps returning 0.0 whether
the audio is stopped or playing.
I'm obviously doing something wrong. Please can someone help.
Or maybe this is the recommended way of testing for whether the
audio is playing?
Thanks
Paul
_________________________________________________________________
Get Pimped! FREE emoticon packs from Windows Live - http://www.pimpmylive.co.uk
_______________________________________________
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com
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
_______________________________________________
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