• 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
AudioHardwarePlugIn and kAudioDevicePropertyDataSourceNameForID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioHardwarePlugIn and kAudioDevicePropertyDataSourceNameForID


  • Subject: AudioHardwarePlugIn and kAudioDevicePropertyDataSourceNameForID
  • From: Dirk Musfeldt <email@hidden>
  • Date: Wed, 03 Nov 2004 14:18:23 +0100

Hi all,

I'm doing an AudioHardwarePlugIn and have troubles to get my reaction on
kAudioDevicePropertyDataSourceNameForID right.

I get an AudioValueTranslation record and want to copy my C string into the
buffer provided with the mOutputData field.

strcpy((char*)translation->mOutputData,nameString);

But what if mOutputData and mOutputData Size are null? Do I have to malloc a
buffer myself?



Regards

Dirk


 _______________________________________________
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: AudioHardwarePlugIn and kAudioDevicePropertyDataSourceNameForID
      • From: Jeff Moore <email@hidden>
  • Prev by Date: AUHAL channel mapping, stream enables, and channel info
  • Next by Date: Re: AUHAL channel mapping, stream enables, and channel info
  • Previous by thread: Re: AUHAL channel mapping, stream enables, and channel info
  • Next by thread: Re: AudioHardwarePlugIn and kAudioDevicePropertyDataSourceNameForID
  • Index(es):
    • Date
    • Thread