|
PCM callback .aquire receives NULL as HW_CONTEXT_T* argument...
|
12/20/2011 1:40 PM
post90697
|
PCM callback .aquire receives NULL as HW_CONTEXT_T* argument...
Hello,
I am creating an audio driver under QNX 6.5.
And I have a little problem with HW_CONTEXT_T pointer.
In my ctrl_init function I've saved *hw_context = my_structure_pointer. And my_structure_pointer, of course, != 0.
But when I receive .aquire PCM callback, first arg (HW_CONTEXT_T*) is NULL.
Am I right that it is not Ok?
What should I do to receive the first arg == my_structure_pointer?
Thanks a lot, I hope that my questions are clear
|
|
|