bool   AddWavetoAvi(void* wavebuffer,DWORD numbytes)

    Write the sound buffet into avi. It will append the sound buffer to the avi automatically.

    Result:
    Succes