• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

Audio Capture with WINMM

Started by Gérôme Guillemin, October 30, 2009, 12:20:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gérôme Guillemin

Hello,

I wanted to know if there is a way to use audio capture with WIMM by telling the audio recording capabilities from beeing recorded to the disk every x seconds, that is to say I don't want to record audio stream until the end but beeing able to control this stream and redirect the current stream to the disk automatically every x moments, and don't want to use BASS lib to do this.

Any ideas / tricks ?

Thanks a lot.

Patrice Terrier

Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Gérôme Guillemin

Hello Patrice !

Thanks for the link !
BTW, where can I find the sources of AudioCap.dll please ?

Thanks

Patrice Terrier

Gérôme,

Because Audiocap.dll is a commercial project, i can't publish its source code.

What i can say, is that you must handle the MM_WIN_DATA message and use mmioWrite to write the internal buffer to disk.

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Gérôme Guillemin

Hello,

Since my latest post, I finally managed mmioWrite & co for writing my own audio recorder! :)
Now I use 100% Win32 API calls and structures and here's the result :


And of course it was developped in FBSL (see www.fbsl.net)
It rocks! ;)

Yours,
Gerome GUILLEMIN

Gérôme Guillemin

Hello,

Any volunteers to test it ?