• 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: Errors from driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors from driver


  • Subject: Re: Errors from driver
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 1 Nov 2004 13:05:35 -0800

The HAL uses the return value from the kernel trap only to signify whether or not it needs to resynchronize. Other than that, the error goes off into the ether since there is no mechanism in the HAL to report it to an interested client.

If you are trying to debug something in your driver, you can use the telemetry in HALLab to see the error being returned to the HAL. It will show up as one of the data points to the telemetry event that marks the return from the kernel trap.

If you really are trying to say something to a client of the HAL, then we'd need to put a new mechanism in the HAL to make it work. In such case, feel free to file a feature request.

On Nov 1, 2004, at 11:49 AM, Mark Cookson wrote:

How do errors return from the driver's
clipOutputSamples()/convertInputSamples() routines get returned to the
application? It doesn't look like the IOProc takes an error parameter. Do
you register a notification (property listener) for this error? If so, what
property do you register for?


Thanks,
Mark
--
Mark Cookson
M-Audio
225 Locust St.
Hudson, WI 54016

--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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: Errors from driver
      • From: Matthew Xavier Mora <email@hidden>
    • Re: Errors from driver
      • From: Mark Cookson <email@hidden>
References: 
 >Errors from driver (From: Mark Cookson <email@hidden>)

  • Prev by Date: Errors from driver
  • Next by Date: Re: Errors from driver
  • Previous by thread: Errors from driver
  • Next by thread: Re: Errors from driver
  • Index(es):
    • Date
    • Thread