I’m not expert in AudioUnits, but here some things that needs to be checked:

1. Check that error when you set stream format for audio unit:

err = AudioUnitSetProperty(player.outputUnit,
                               kAudioUnitProperty_StreamFormat,
                               kAudioUnitScope_Input,
                               0,
                               &asbd,
                               sizeof(asbd));

2. Check how much buffers you have in render callback:
ioData->mNumberBuffers (it should be 1)

Regards,
Yuri.

On Mar 1, 2015, at 21:18, Patrick J. Collins <[email protected]> 
wrote:

>> Seems like the problem is in your streamer.
>> If you will share your streamer code maybe we could identify the problem.
> 
> Sure...  Here is that code:
> https://gist.github.com/patrick99e99/6bf97192433c7ea817bf
> 
> Like I said, I have supplied it with other arrays of 16-bit signed
> integers and those play just fine...  It's just this particular buffer
> generated by ExtAudioFileRead that's not working.
> 
> Patrick J. Collins
> http://collinatorstudios.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to