home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 5_2007-2008.ISO / data / Zips / Stream_MP32029381162006.psc / @PSC_ReadMe_67020_1.txt next >
Text File  |  2006-11-06  |  1KB  |  12 lines

  1. Title: Stream MP3/WMA from resources
  2. Description: This shows how to play MP3s and WMAs directly from resources without writing them to disk first.
  3. For decoding it uses the functions of the Windows Media Format SDK v9, wich ships with all Windows Media Players >= v9 (or google for "wmfdist.exe").
  4. It allocates some memory, copies the sound from the resource to that memory,
  5. and plays it using DirectSound. You can control volume, balance and position.
  6. As the DirectSound stream uses an Windows API timer,
  7. debugging is pretty hard. You might be better off if you put the whole playback stuff into a DLL.
  8. This file came from Planet-Source-Code.com...the home millions of lines of source code
  9. You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=67020&lngWId=1
  10.  
  11. The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.
  12.