• 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
CallHostTransportState doesn't return to stopped state
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CallHostTransportState doesn't return to stopped state


  • Subject: CallHostTransportState doesn't return to stopped state
  • From: "Paul Tapper" <email@hidden>
  • Date: Tue, 21 Aug 2007 22:33:11 +0000

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


  • Follow-Ups:
    • Re: CallHostTransportState doesn't return to stopped state
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: multiple Cocoa views
  • Next by Date: Re: MIDI Plugin exclusive access
  • Previous by thread: RawAudioFileComponent crash
  • Next by thread: Re: CallHostTransportState doesn't return to stopped state
  • Index(es):
    • Date
    • Thread