Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bio4ema

  1. bio4ema

    Voice recording and playback

    hello again. 1.) you could use an audio interface like eg. : http://www.multimedia-music.com.au/lynx_aes16/ this will be quite expensive though. alternatively you could use a cheap external mixer and feed its ouput into a standard sound-card (cheaper, but less channel controll, poorer audio...
  2. bio4ema

    Voice recording and playback

    what soundcard(s) are you using ? could you maybe describe the application you are building a bit more detailed ? i don't think that you can use MCI for multiple channel recording, but i'm not sure. for the recording bit i would use the following waveIn functions (in that order)...
  3. bio4ema

    Voice recording and playback

    if your program only requires recording and playback then using mci should be fine (and also easier to use) however, if you want to include low-level audio functions, multiple plackback or anything like that then the waveIn-waveOut interface would be a better choice. is the voice...
  4. bio4ema

    Voice recording and playback

    hey. you could use directSound which has a fair bit of recording/playback functions. i would suggest though that you use the waveOut API. (include winmm.lib and mmsystem.h) you will need double buffering using the (user defined) waveOutProc() funtcion. a fairly nice tutorial can be found...
  5. bio4ema

    asynchronous waveOutWrite()

    hello. i'm looking for a way to use the waveOutWrite() function asynchronously. the problem is that after you call waveOutWrite() you need to use waveOutUnprepareHeader. i've tried the WHDR_DONE event and WAVERR_STILLPLAYING to determine whether waveOutWrite() has finshed playing before...
  6. bio4ema

    Can I do this using the DX9 SDK?

    as for the fade out : you could use IDirectMusicAudioPath8::SetVolume which is declared in dmusici.h or IDirectSoundBuffer8::SetVolume which is declared in dsound.h. see...
  7. bio4ema

    function that returns a handle to the main window

    hello. is there a (simple) function that returns a handle to the main window (of type HWND) of a c++/mfc program ? i tried using the Process.MainWindowHandle property and the IConsole2::GetMainWindow() method but couldn't quite get either of them to work... thanks, b.
  8. bio4ema

    VC++ 5.00 to VC 6.00

    xwb (Programmer) 15 Mar 05 2:42 Which symbols are unresolved? Between 5 and 6, MS prefixed some routines which they didn't consider standard with an underscore. Just do a search for the routine name in the standard header files. You will probably find that they have a leading underscore...
  9. bio4ema

    Namespace std

    if you didn't do that already, try the line #include <iostream> before using namespace std; could help...
  10. bio4ema

    VC++ 5.00 to VC 6.00

    ok, i mixed up the versions, sorry. the sample code is in vc++ 5 and i want to run it in vc++ 7 anyway, the error messages are of the type : error LNK2001: unresolved external symbol (as stated above) this, i guess, in my case means that there is a problem accessing a function declared in a...
  11. bio4ema

    VC++ 5.00 to VC 6.00

    hello. i've recently purchased 'a programmer's guide to sound' by tim kienzle which includes sample source code written in visual c++ 5.00. i'm using visual studio.net 2003 (visual c++ 6.00) and whenever i try to run the code, i get 'unresolved external' errors (LNK 2019 or LNK 2001). is this...

Part and Inventory Search

Back
Top