• 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: Bizarre error or bad assumption?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bizarre error or bad assumption?


  • Subject: Re: Bizarre error or bad assumption?
  • From: William Stewart <email@hidden>
  • Date: Wed, 30 Jun 2004 10:23:28 -0700

On 28/06/2004, at 8:20 PM, Chilton Webb wrote:

> Hi,
>
> I am using AudioDeviceGetProperty, which normally returns a valid
> error. But in this case...
>
> err = AudioDeviceGetProperty(deviceID, 0,
> mIsInput,kAudioDevicePropertyChannelNumberNameCFString, &propsize,
> &DeviceName);
>
> ... I get a seemingly random, positive, large number as the error, and
> NULL as the DeviceName.

Error codes from the AudioDevice (and other HAL calls) are 4 char codes:

printf ("error: %.4s\n", (char*)&err);

>
> Any idea why?
>
> -Chilton
> _______________________________________________
> 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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.


References: 
 >Bizarre error or bad assumption? (From: Chilton Webb <email@hidden>)

  • Prev by Date: Re: Mono Playback
  • Next by Date: Re: Core Audio SDK 1.3.1 sample code - requirements?
  • Previous by thread: Bizarre error or bad assumption?
  • Next by thread: music sequences and midisend
  • Index(es):
    • Date
    • Thread