Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Related to audio in QNX <waverec and wave>: (2 Items)
   
Related to audio in QNX <waverec and wave>  
hi !
While we developing a utility which will audio info from input PCM channels to output channles(Basically deriving from 
Waverec and wave uitilities) getting the following error messagesl.

this is failing at function snd_pcm_channel_params()
Any help in this regard is well appreciated.



# ./mictest -a0:0 -b0:0 -c=0x1 -vvv
Using card 0 device 0
Playback Channel on card 0 device 0
Playback Channel Name: OMAP35xx PCM 0
  Channel info max voices: 4
  Channel info min voices: 4
  Channel info max rate: 48000
  Channel info min rate: 48000
  Channel info Min frag size: 128
  Channel info Max frag size: 32768
  Requesting rate: 48000
  Requesting voices: 4
  Requesting format: Interleaved Signed 16-bit Little Endian
snd_pcm_channel_params failed: Invalid argument
Capture Channel on card 0 device 0
Capture Channel Name: OMAP35xx PCM 0
  Channel info max voices: 4
  Channel info min voices: 4
  Channel info max rate: 48000
  Channel info min rate: 48000
  Channel info Min frag size: 128
  Channel info Max frag size: 32768
  Requesting rate: 48000
  Requesting voices: 4
  Requesting format: Interleaved Signed 16-bit Little Endian
snd_pcm_channel_params failed: Invalid argument
Error initializing io-audio capture device!



Thanks
Re: Related to audio in QNX <waverec and wave>  
QNX version is 6.5.0