mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-25 16:07:49 +01:00
possible fix for AU problems on PPC
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3131 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b146d1b51b
commit
d9528a9e99
1 changed files with 9 additions and 0 deletions
|
|
@ -93,6 +93,15 @@ AUPlugin::AUPlugin (AudioEngine& engine, Session& session, boost::shared_ptr<CAC
|
|||
streamFormat.mSampleRate = session.frame_rate();
|
||||
streamFormat.mFormatID = kAudioFormatLinearPCM;
|
||||
streamFormat.mFormatFlags = kAudioFormatFlagIsFloat|kAudioFormatFlagIsPacked|kAudioFormatFlagIsNonInterleaved;
|
||||
#ifdef __LITTLE_ENDIAN__
|
||||
/* relax, for now */
|
||||
#else
|
||||
/* it is ridiculous that this flag is needed when its
|
||||
opposite flag is not.
|
||||
*/
|
||||
streamFormat.mFormatFlags |= kAudioFormatFlagIsBigEndian;
|
||||
#endif
|
||||
|
||||
streamFormat.mBitsPerChannel = 32;
|
||||
streamFormat.mFramesPerPacket = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue