a***@gmail.com
2009-09-23 07:27:18 UTC
Hi friends,
We have to create an application which has to record
audio from microphone into an mp3 file directly.
Previously we had used 'MCI' to create 'WAV' files , but we want to
move onto mp3 format.(Our project is best done with mp3)
The recording will be for nearly 6 mins.
We do not want to encode a 'WAV' file to 'mp3' format as it will take
3 mins easily.(The application has to support instant playback of the
recorded audio after recording and saving the file)
The application has to work in Xp,Vista and 7.
I have searched on this , but i'm not sure whats the best way to
implement this.
1. DirectShow
This has mp3 support built-in and i have seen a forum post that a
mp3 file is directly created.But the poster has also said that this
DShow workflow fails in Vista because of a codec problem
http://www.eggheadcafe.com/conversation.aspx?messageid=29149670&threadid=29149670
2. DirectSound
I do not know much about DirectX. But users (also docs) have said
it is possible to record audio using DirectSound.
Is it possible to use it for recording into mp3 directly?
Some have mentioned about using ACM (Audio compression Manager) in
tandem with DirectSound for format conversion.
I'm quite new to audio recording in windows. The question i have
posted maybe a repeated one, but it would be really helpful for me if
one of you could point me in the right direction.
Thanks a lot for your time. :)
arvind
We have to create an application which has to record
audio from microphone into an mp3 file directly.
Previously we had used 'MCI' to create 'WAV' files , but we want to
move onto mp3 format.(Our project is best done with mp3)
The recording will be for nearly 6 mins.
We do not want to encode a 'WAV' file to 'mp3' format as it will take
3 mins easily.(The application has to support instant playback of the
recorded audio after recording and saving the file)
The application has to work in Xp,Vista and 7.
I have searched on this , but i'm not sure whats the best way to
implement this.
1. DirectShow
This has mp3 support built-in and i have seen a forum post that a
mp3 file is directly created.But the poster has also said that this
DShow workflow fails in Vista because of a codec problem
http://www.eggheadcafe.com/conversation.aspx?messageid=29149670&threadid=29149670
2. DirectSound
I do not know much about DirectX. But users (also docs) have said
it is possible to record audio using DirectSound.
Is it possible to use it for recording into mp3 directly?
Some have mentioned about using ACM (Audio compression Manager) in
tandem with DirectSound for format conversion.
I'm quite new to audio recording in windows. The question i have
posted maybe a repeated one, but it would be really helpful for me if
one of you could point me in the right direction.
Thanks a lot for your time. :)
arvind