• 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: HALOutputUnit (Pt 1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HALOutputUnit (Pt 1)


  • Subject: Re: HALOutputUnit (Pt 1)
  • From: James Coker <email@hidden>
  • Date: Tue, 13 Jan 2004 13:43:56 -0700

I haven't looked at the input callbacks yet, but have to agree that
having a standard solution that will cover most cases for an AUGraph
w/ both input and output would be nice. I'm guessing that the current
best approach would be to use two HALOutputUnits -- one (in it's own
AUGraph) for input and one (in a second AUGraph) for output, with
an appropriate buffer in between to feed data from one to the other.

Jim

On Jan 13, 2004, at 7:03 AM, Robert Grant wrote:

Just a final clarification - would it be OK to use the SetInputCallback approach for reading audio from all HAL devices (both uni and bi-directional)? I don't think it would but I'm just trying to see if there's a "once size fits all" approach?

Thanks,

Robert.

On Jan 12, 2004, at 11:04 PM, James Coker wrote:

Does this imply that all, or almost all USB audio devices will have
this setup?

Jim

On Jan 12, 2004, at 7:33 PM, Jeff Moore wrote:

Yes this is true. The USB spec doesn't require that the input side of a device be clocked the same as the output side. They can even be running at different sample rates and still be adhering to the spec. From the HAL's point of view, the two sides of the device represent two separate clock sources. Therefore the HAL publishes them as separate devices through the API.

On Jan 12, 2004, at 5:54 PM, Robert Grant wrote:

Thanks a lot Bill - that clarifies things tremendously. And I think I now know why Audio In from the HALOutputUnit was not working for me a while back - I'm using a USB Audio I/O device and I guess that shows up as two separate Audio Devices?

Robert.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: HALOutputUnit (Pt 1)
      • From: William Stewart <email@hidden>
    • Re: HALOutputUnit (Pt 1)
      • From: Robert Grant <email@hidden>
References: 
 >Re: HALOutputUnit (Pt 1) (From: William Stewart <email@hidden>)
 >Re: HALOutputUnit (Pt 1) (From: Robert Grant <email@hidden>)
 >Re: HALOutputUnit (Pt 1) (From: Jeff Moore <email@hidden>)
 >Re: HALOutputUnit (Pt 1) (From: James Coker <email@hidden>)
 >Re: HALOutputUnit (Pt 1) (From: Robert Grant <email@hidden>)

  • Prev by Date: Re: HALOutputUnit (Pt 1)
  • Next by Date: Re: Parameters & Listeners & Host & Cocoa
  • Previous by thread: Re: HALOutputUnit (Pt 1)
  • Next by thread: Re: HALOutputUnit (Pt 1)
  • Index(es):
    • Date
    • Thread