Ask a questionAsk a question
 

AnswerDirectX MP3/Ogg files playback

Answers

  • Saturday, November 07, 2009 2:02 PMSheng Jiang 蒋晟MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There is no sample in Visual C++/Windows SDK that does both. However if you divide your question into two steps you can find samples for each. First is to load data from resources, and next is to play data as music in memory.

    If you need sample code, try Google Code Search If you want to discuss audio programming, try a multimedia programming newsgroup like the DirectShow forum under the windows client development category or the microsoft.public.win32.programmer.directx.audio newsgroup.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP

All Replies

  • Thursday, November 05, 2009 1:40 AMSheng Jiang 蒋晟MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    How you plan to get the data?

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
  • Saturday, November 07, 2009 5:54 AMTj.. Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Does anyone have any examples/sample projects of music playing in a .DLL file?
  • Saturday, November 07, 2009 2:02 PMSheng Jiang 蒋晟MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There is no sample in Visual C++/Windows SDK that does both. However if you divide your question into two steps you can find samples for each. First is to load data from resources, and next is to play data as music in memory.

    If you need sample code, try Google Code Search If you want to discuss audio programming, try a multimedia programming newsgroup like the DirectShow forum under the windows client development category or the microsoft.public.win32.programmer.directx.audio newsgroup.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP