2 non-working examples, everything else is ok

2 non-working examples, everything else is ok

bob c.的头像

audio_recorder produces an output file "audiofile"

I gave it a suffix of ".wav" but it gets a playing error from both quicktime and windows player

what is the correct suffix or else the correction to the problem?

----------------------------------------

capture viewer gets compilation errors, missing include file??

Error 1 error C2065: 'IDC_STREAM_SELECTOR' : undeclared identifier c:\program files\intel\pcsdk\sample\capture_viewer\src\capture_viewer.cpp 55 1 capture_viewer
Error 2 error C2065: 'ID_FILE_OPENX' : undeclared identifier c:\program files\intel\pcsdk\sample\capture_viewer\src\capture_viewer.cpp 62 1 capture_viewer
Error 3 error C2051: case expression not constant c:\program files\intel\pcsdk\sample\capture_viewer\src\capture_viewer.cpp 62 1 capture_viewer
Error 4 error C2065: 'ID_CONTROL_DISPLAY' : undeclared identifier c:\program files\intel\pcsdk\sample\capture_viewer\src\capture_viewer.cpp 68 1 capture_viewer
Error 5 error C2051: case expression not constant c:\program files\intel\pcsdk\sample\capture_viewer\src\capture_viewer.cpp 68 1 capture_viewer
Error 6 error C2065: 'IDC_STREAM_SELECTOR' : undeclared identifier c:\program files\intel\pcsdk\sample\capture_viewer\src\capture_viewer.cpp 85 1 capture_viewer

4 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
daflippers的头像

Hi Bob,

It is all working for me. The below created a file Test.wav that played in Media Player.

audio_recorder.exe -file Test.wav -nframes 20

What OS and VS are you using?

David

bob c.的头像

Thanks, having the right command line worked.
documentation should indicate .wav file
also with no command line args, the default is 50000??

any suggestions on 2nd problem?

daflippers的头像

Hi Bob,

Have you checked out this thread http://software.intel.com/en-us/comment/1718473#comment-1718473?

David

登陆并发表评论。