extending OpenAL (mac osx implementation)/problems
extending OpenAL (mac osx implementation)/problems
- Subject: extending OpenAL (mac osx implementation)/problems
- From: Karim Morsy <email@hidden>
- Date: Tue, 7 Feb 2006 00:05:04 +0100
Hi,
I've posted a question on the open al developer mailing list a while
ago but nobody has been able to help. Since this is a Core Audio
specific issue I thought I might just post it here.
I've extended the OAL implementation (mac osx) with some
functionality we need in our application, that is:
setting a specific Reverb Type (small room, cathedrale, etc...),
timestretching and pitchshifting.
so basically the components I've used to do this are the
AUMatrixMixer (with apple's factory presets) and AUTimepitch.
I've made the appriopriate connections in the oalDevice class
(3dmixer -> timepitch -> matriixreverb- > output) and adapted the
other classes, eg oalImp, accordingly.
I've tested the framework. all the existing functionality + what I've
added works fine except for 2 serious problems which I haven't been
able to fix.
1. I cannot pause and resume rendering. the application freezes after
a call to alPause(), even if I bypass all audio units I've connected
(stop/rewind works though)
2. I can only render stereo, when I'm using a surround system no
sound comes out of the speakers (and my rendercallbacks do not get
called, so obviously the augraph isn't rendering at all if insert
autimepitch, matrixreverb or any other aufx).
I've tried hard to find a solution for those bugs (resetting the
audio units, explicitly setting channellayouts , streamformat
etc ....) but I haven't been able to fix this.
so any help or hints on how to solve this would be so much appreciated.
thanks in advance,
Karim
_______________________________________________
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