A problem about save wav file? RRS feed

  • 问题

  • I just write a process to capture sounds like the link
    I can get the sound buffer ,but something is wrong witch save into a wav file.I save the file like you say.
     But the wFormatTag is 65534,which #define  WAVE_FORMAT_EXTENSIBLE                 0xFFFE /* Microsoft */
    Then I can't not open it with window's media.
    if I change  wFormatTag to 1 or some other value,I can open it ,but the sound sounds not right?
    who can help me?
    2013年4月27日 8:28