• 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
concerning external clocking and stream format notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

concerning external clocking and stream format notification


  • Subject: concerning external clocking and stream format notification
  • From: Philip Lukidis <email@hidden>
  • Date: Tue, 18 Oct 2005 18:10:24 -0400

Hi.  I have a problem which I cannot explain.  It is my goal that when I
select an external clock source for my audio device that I expose only that
sample rate to clients, as opposed to the full range of standard supported
sample rates for internal clock.

In order to do this, I call clearAvailableFormats() on each stream, and then
call addAvailableFormat() on each stream but with only the correct sample
rate(s).  I see that addAvailableFormat() notifies clients of the change
(the setProperty() call, if I understand it correctly).  It works, except in
one case: if I am on internal clock at sample rate X, and select an external
source with sample rate X, and if the audio/midi properties dialog is open I
see no change in its display (all sample rates are displayed, not the
external one).  However, if I close and reopen the dialog, I see that only
the supported sample rate of the external clock is displayed.  However, if I
am on internal clock with sample rate X, and I select a source with external
sample rate Y, then even if the audio/midi properties dialog is open, it has
been updated with the correct external rate.

Can anyone explain this?  Perhaps I am mistaken about setProperty() calls
being a proper notification to clients?

thanks,

Philip Lukidis
 _______________________________________________
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

  • Prev by Date: MOTU 896HD-specific issues?
  • Next by Date: Using VSTGUI in a AU Questions
  • Previous by thread: Re: MOTU 896HD-specific issues?
  • Next by thread: RE: concerning external clocking and stream format notification
  • Index(es):
    • Date
    • Thread