• 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
USB Audio issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

USB Audio issue


  • Subject: USB Audio issue
  • From: Martin Hairer <email@hidden>
  • Date: Wed, 4 Jun 2003 10:03:25 +0200

Hi,

I ran into a very strange problem with the USB Audio driver (using an iMic). I use
AudioStreamSetProperty() with the kAudioStreamPropertyPhysicalFormat selector
to change the format into one of the supported formats previously retrieved with
kAudioStreamPropertyPhysicalFormats. It returns an error code of 0, but a subsequent
call to AudioStreamGetProperty() with the kAudioStreamPropertyPhysicalFormat selector
gives me a kAudioHardwareBadStreamError. Also, when I then use the kAudioDevicePropertyStreams
selector on the device it tells me that there is no stream!! Anyone has an idea of what's going
on? This is on MacOS 10.2.6. On 10.1.5, it also happens sometimes, but much less regularly.

Another funny thing is that if I do something else and then go back, to the iMic, it works
and the stream format is equal to the one that was set previously! I just don't understand...

Is this a known bug? Is there a workaround? The same code works as expected with
the internal mic. Regards,

Martin

HairerSoft
http://www.hairersoft.com/
_______________________________________________
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: USB Audio issue
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: AudioConverterFillBuffer error: OSStatus = -50
  • Next by Date: Convert to float and more
  • Previous by thread: Re: AudioConverterFillBuffer error: OSStatus = -50
  • Next by thread: Re: USB Audio issue
  • Index(es):
    • Date
    • Thread