Click here to Skip to main content
15,922,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: audio conversion Pin
puneet_cha29-Mar-07 21:12
puneet_cha29-Mar-07 21:12 
QuestionRe: audio conversion Pin
Mark Salsbery30-Mar-07 7:36
Mark Salsbery30-Mar-07 7:36 
AnswerRe: audio conversion Pin
puneet_cha30-Mar-07 8:12
puneet_cha30-Mar-07 8:12 
GeneralRe: audio conversion Pin
Mark Salsbery30-Mar-07 8:19
Mark Salsbery30-Mar-07 8:19 
GeneralRe: audio conversion Pin
puneet_cha30-Mar-07 8:21
puneet_cha30-Mar-07 8:21 
GeneralRe: audio conversion Pin
Mark Salsbery30-Mar-07 8:30
Mark Salsbery30-Mar-07 8:30 
GeneralRe: audio conversion Pin
puneet_cha30-Mar-07 8:33
puneet_cha30-Mar-07 8:33 
GeneralRe: audio conversion Pin
Mark Salsbery30-Mar-07 8:46
Mark Salsbery30-Mar-07 8:46 
That's what I thought from your first post, which is why I first replied that way.

DirectX is for accessing devices so it's not really applicable for file conversion.

Generally, you read audio data, transform the data to a new format, and write the resulting data.

To convert MP3 to WAV you'd read from the MP3 file, decompress the audio samples to PCM, and
write them to the a WAV file.

To convert WAV to MP3 you'd read from the WAV file, compress the audio samples to using MP3
compression, and write the resulting compressed data to the a MP3 file.

You can learn the MP3 format and compression algorithm and write your own codec.
You'd also need to understand the format of the files (MP3 and WAV).

If you don't want to write your own transformation code then the Audio Compression Manager[^]
included with Windows can help do it for you. You need to supply an MP3 encoder (Windows doesn't
include one) but there is a free one called LAME[^] that's popular.




"If you can dodge a wrench, you can dodge a ball."

GeneralRe: audio conversion Pin
puneet_cha30-Mar-07 21:55
puneet_cha30-Mar-07 21:55 
GeneralRe: audio conversion Pin
Mark Salsbery31-Mar-07 6:24
Mark Salsbery31-Mar-07 6:24 
QuestionHow to force full form to display? Pin
theFrenchHornet29-Mar-07 6:21
theFrenchHornet29-Mar-07 6:21 
AnswerRe: How to force full form to display? Pin
led mike29-Mar-07 8:26
led mike29-Mar-07 8:26 
GeneralRe: How to force full form to display? Pin
theFrenchHornet29-Mar-07 8:32
theFrenchHornet29-Mar-07 8:32 
GeneralRe: How to force full form to display? Pin
led mike29-Mar-07 8:44
led mike29-Mar-07 8:44 
GeneralRe: How to force full form to display? Pin
theFrenchHornet29-Mar-07 13:01
theFrenchHornet29-Mar-07 13:01 
AnswerRe: How to force full form to display? Pin
Caos00029-Mar-07 8:46
Caos00029-Mar-07 8:46 
GeneralRe: How to force full form to display? Pin
theFrenchHornet29-Mar-07 13:01
theFrenchHornet29-Mar-07 13:01 
Questionembedded resource in static library Pin
act_x29-Mar-07 6:00
act_x29-Mar-07 6:00 
AnswerRe: embedded resource in static library Pin
Vasudevan Deepak Kumar29-Mar-07 6:01
Vasudevan Deepak Kumar29-Mar-07 6:01 
GeneralRe: embedded resource in static library Pin
act_x29-Mar-07 6:07
act_x29-Mar-07 6:07 
QuestionRe: embedded resource in static library Pin
David Crow29-Mar-07 7:27
David Crow29-Mar-07 7:27 
QuestionCOleTemplateServer. UpdateRegistry() function failing on VISTA. Pin
Sameer_Thakur29-Mar-07 5:43
Sameer_Thakur29-Mar-07 5:43 
AnswerRe: COleTemplateServer. UpdateRegistry() function failing on VISTA. Pin
Vasudevan Deepak Kumar29-Mar-07 5:58
Vasudevan Deepak Kumar29-Mar-07 5:58 
AnswerRe: COleTemplateServer. UpdateRegistry() function failing on VISTA. [modified] Pin
bob1697229-Mar-07 8:20
bob1697229-Mar-07 8:20 
GeneralRe: COleTemplateServer. UpdateRegistry() function failing on VISTA. Pin
DanPetitt9-Apr-08 20:50
DanPetitt9-Apr-08 20:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.