• 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
Terminal type GetProperty crashes on 10.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Terminal type GetProperty crashes on 10.4?


  • Subject: Terminal type GetProperty crashes on 10.4?
  • From: Edward Peterlin <email@hidden>
  • Date: Fri, 13 May 2005 10:38:01 -0700

Greetings! I've been encountering some crashes in my application on 10.4 and wanted to see if anyone else on the list has seen anything of the like. I'm seeing intermittent crashes in AudioStreamGetProperty() for retrieving the terminal type (G5 tower). Basically, I'm doing the following:

- find an audio device
- get a list of its data sources & iterate over
- switch data sources (wait for listener notification)
- get list of available input streams
- iterate over streams, fetch list of terminal types for the streams

The GetPropertyInfo() is succeeding, but the subsequent GetProperty() call is causing a crash similar to the stack trace below.

Has anyone else encountered any problems with terminal types on 10.4? The workaround I can think of would be to avoid using terminal types and going back to trying to determine the input connector type by examining the data source name property.

regards,
ed




(gdb) x/i 0x913B8C88
0x913b8c88 <AudioStreamGetProperty+240>: mr. r29,r3
(gdb) x/i 0x913965E0
0x913965e0 <HALObject::HasProperty(AudioObjectPropertyAddress const&) const+184>: mr r29,r3
(gdb) x/i 0x913A8A08
0x913a8a08 <HALPlugIn::ObjectHasProperty(HALObject const&, AudioObjectPropertyAddress const&) const+52>: neg r3,r3
(gdb) x/i 0x913A8B54
0x913a8b54 <HP_PlugIn_ObjectHasProperty (AudioHardwarePlugInInterface**, unsigned long, AudioObjectPropertyAddress const*)+140>: mr r30,r3
(gdb) x/i 0x913B8ECC
0x913b8ecc <IOA_Stream::HasProperty(AudioObjectPropertyAddress const&) const+96>: mr r30,r3
(gdb) x/i 0x913B9040
0x913b9040 <HP_Stream::HasProperty(AudioObjectPropertyAddress const&) const+48>:lwz r12,8(r2)



_______________________________________________ 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: Re: Cocoa IN Audiounit
  • Next by Date: RE: Cocoa IN Audiounit
  • Previous by thread: RE: ComplexPlayThru problem
  • Next by thread: Custom StereoMixer
  • Index(es):
    • Date
    • Thread