Re: strategies for getting my app's audio working over 48khz HDMI
Re: strategies for getting my app's audio working over 48khz HDMI
- Subject: Re: strategies for getting my app's audio working over 48khz HDMI
- From: Morgan Packard <email@hidden>
- Date: Tue, 08 Nov 2011 08:11:45 -0500
Thanks Brian,
I'm on iOS, using the HDMI adapter which works with the iPad2.
-Morgan
On Tue, Nov 8, 2011 at 2:33 AM, Brian Willoughby
<email@hidden> wrote:
This actually sounds more like an HDMI audio driver error, and not your error, but I suppose it depends upon your code.
AUHAL is generally used in CoreAudio applications to simplify the output audio data handling. AUHAL has its own AUConverter, which it automatically uses to match your application output sample rate to the device sample rate.
I can't tell whether you're using iOS or OSX CoreAudio. HDMI makes it seem like you're on OSX, but RemoteIO would be iOS. In either case, there should be methods for matching your audio rate to the hardware.
Brian Willoughby
Sound Consulting
On Nov 7, 2011, at 05:15, Morgan Packard wrote:
My development partner tells me our audio is messed up over hdmi. It looks like his TV is asking for 48kz data, and I'm supplying 44khz. I believe this is the case based on the value of kAudioSessionProperty_CurrentHardwareSampleRate on app startup.
My questions are:
* Assuming I do actually need to convert the audio stream of my synthesis engine from 44.1khz to 48khz, is there an "Apple" way to do this. I have yet to learn how to string audio units together (just started that chapter in the Core Audio Book), but it looks to me like I might need to use AUConverter along with RemoteIO (which is currently the only audio unit I'm using).
* I don't own a TV and don't want to. Is there a smaller/cheaper device I can buy that will allow me to test my app with HDMI, outputting at a sample rate other than 44.1khz?
_______________________________________________
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