Menu

Get 2 channel from audio device

Help
2011-11-03
2012-09-22
  • NGUYEN dang-khoa

    Dear nshmyrev,

    if i want to record 2 channel from audio device, do i just only modify at line
    199 (rec_win32.c) from
    wfmt.nChannels = 1;
    to
    wfmt.nChannels = 2;

    thanks in advance.

     
  • Nickolay V. Shmyrev

    Looks so if you only want to record, I do not have Windows.

    There will be issues with endpointer in multichannel case I suppose, the audio
    needs to be mixed on recorder output anyway.

     
  • NGUYEN dang-khoa

    after modified number of channels i got error:
    waveInOpen error 32: The specified format is not supported or cannot be
    translated. Use the Capabilities function to determine the supported formats.
    FATAL_ERROR: "continuous.c", line 403: Failed top open audio device

     
  • NGUYEN dang-khoa

    i had fixed it, just modified some other properties :)

     

Log in to post a comment.