Re: AUSampler kAudioUnitProperty_ClassInfo error -43 on iOS
Re: AUSampler kAudioUnitProperty_ClassInfo error -43 on iOS
- Subject: Re: AUSampler kAudioUnitProperty_ClassInfo error -43 on iOS
- From: ben kamen <email@hidden>
- Date: Sun, 30 Dec 2012 12:02:46 -0800
Thanks - The issue was just that I needed my /Sounds/ folder to be added as a folder reference so it could find them. BTW where was did you find the error code in the docs?
Ben
On Dec 29, 2012, at 8:10 PM, Wayne <email@hidden> wrote:
> -43 is file not found.
>
> HTH,
>
> W
> ---
> On Dec 29, 2012, at 6:30 PM, ben kamen wrote:
>
>> Hi,
>> I'm following the CoreAudio book example for using AUSampler, except trying to use my own sampler instrument that I've made in AULab.
>>
>> CheckError(AudioUnitSetProperty(mDrumMachine,
>> kAudioUnitProperty_ClassInfo,
>> kAudioUnitScope_Global,
>> 0
>> &presetPlist,
>> sizeof(presetPlist)),
>> "Couldn't set aupreset plist as sampler's class info");
>>
>> I'm getting a -43 error when trying to load .aupreset files in AUSampler. I can't find any information on what error -43 is.
>> Any guidance is greatly appreciated, Thanks.
>> Ben
>>
>>
>>
>> _______________________________________________
>> 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
>
_______________________________________________
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