Jose's Read Only Forum 2023

General Category => General Discussion => Topic started by: Gérôme Guillemin on October 30, 2009, 12:20:48 PM

Title: Audio Capture with WINMM
Post by: Gérôme Guillemin on October 30, 2009, 12:20:48 PM
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.
Title: Re: Audio Capture with WINMM
Post by: Patrice Terrier on October 30, 2009, 04:32:34 PM
http://www.jose.it-berater.org/smfforum/index.php?topic=1504.0

...
Title: Re: Audio Capture with WINMM
Post by: Gérôme Guillemin on October 31, 2009, 10:39:22 AM
Hello Patrice !

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

Thanks
Title: Re: Audio Capture with WINMM
Post by: Patrice Terrier on October 31, 2009, 12:31:51 PM
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.

...
Title: Re: Audio Capture with WINMM
Post by: Gérôme Guillemin on November 18, 2009, 09:10:39 AM
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 :

(http://gedd123.free.fr/Radio/RekOrder.jpg)

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

Yours,
Gerome GUILLEMIN
Title: Re: Audio Capture with WINMM
Post by: Gérôme Guillemin on November 19, 2009, 10:03:13 PM
Hello,

Any volunteers to test it ?