Re: AudioHardwarePlugIn question
Re: AudioHardwarePlugIn question
- Subject: Re: AudioHardwarePlugIn question
- From: Jeff Moore <email@hidden>
- Date: Thu, 14 Oct 2004 11:46:30 -0700
There are two formats that you have to maintain, the virtual format
(the format that IOProcs see) and the physical format (the format that
your device does IO in). In the non-linear PCM case or the non-mixable
linear PCM case, these two formats are the same. In the case of mixable
linear PCM, the virtual format will always be native endian 32 bit
floats, regardless of what the physical format is. Your plug-in is
responsible for doing any necessary conversions.
Note that the non-mixable formats imply single client access, so you
will need to manage hog mode properly as well. Note also that most apps
won't work with non-mixable formats.
On Oct 14, 2004, at 8:45 AM, Dirk Musfeldt wrote:
Hi all,
I'm doing an AudioHardwarePlugIn.
Which stream formats do i need to support to be of any use?
I tried with
48000.0,
kAudioFormatLinearPCM,
kLinearPCMFormatFlagIsSignedInteger | kLinearPCMFormatFlagIsBigEndian |
kAudioFormatFlagIsPacked,
4,
1,
4,
2,
16 // the number of bits in each channel
but this does not give any success. This is the 'natural' format of our
data.
Any advice?
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
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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