QNX RTOS v4 Knowledge Base
  
QNX RTOS v4 Knowledge Base
  
    
      | 
          
            | Title | Error using audio device driver from code |  
            | Ref. No. | QNX.000009279 |  
            | Category(ies) | Configuration, Audio |  
            | Issue | We are using the Audio driver in QNX4.24.  We start it as follows: 
 x09Audio mss -b530 -d3 -i5
 
 It creates the dev/dsp as expected.  However, when we try to open it for writing with
 
 x09fopen("dev/dsp", "w");
 
 it (the fopen function) returns with errno 22 Invalid Argument.
 
 What does this mean and how could we fix the problem?
 
 
 
 
 
 
 
 
 |  
            | Solution | 'mss' doesn't support IRQ 5.  It only supports IRQ's 7, 9, 10 and 11. 
 |  |