CoreAudio driver's convertInputSamples()
CoreAudio driver's convertInputSamples()
- Subject: CoreAudio driver's convertInputSamples()
- From: Tommy Schell <email@hidden>
- Date: Mon, 21 Mar 2005 09:13:51 -0700
Hi,
I have a question about implementing convertInputSamples() in a
CoreAudio driver.
I was running Hacktv with my driver selected for audio and my device
providing 24 bit, signed, low byte aligned audio data,
and the sound produced was a constant fuzzy sound.
I realized that in my convertInputSamples routine, I was converting
from 16 bit to 32 bit float, instead of 24 to 32.
So I tried using some of the 24 bit to 32 bit float conversion routines
from PhantomAudioDriver:
NativeInt32ToFloat32
SwapInt32ToFloat32,
and then specifying the depth as 24.
These attempts produced no sound whatsoever! And I know that
convertInputSamples is being called as it should be.
Any ideas?
Thanks a lot,
Tommy Schell
_______________________________________________
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