Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - PCM callback .aquire receives NULL as HW_CONTEXT_T* argument...: (2 Items)
   
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

Re: PCM callback .aquire receives NULL as HW_CONTEXT_T* argument...  
Question is closed, an error was in source code.