Chat on IRC |
MULTIMEDIA
Posted by shroomrefic29 [send private reply] at June 24, 2001, 03:38:02 AM
How would I be able to include the facilities in which my program would be able to run .wav or .mpeg files?
Posted by taubz [send private reply] at June 24, 2001, 08:38:08 AM
Any program can play wave audio using PlaySound or the more complicated MCI fuctions. I don't know about MPEGs. (In Windows, that is.)
- taubz
Posted by miken [send private reply] at June 24, 2001, 09:16:22 PM
It depends on:
a) which operating system you're compiling for, and b) which compiler you are using. In some cases, you will need an external 3rd-person library such as Allegro. In other cases, namely if you're programming simply for the Windows API, you can just use built-in functions such as PlaySound. Mike [mnansgar@hotmail.com]
Posted by shroomrefic29 [send private reply] at June 30, 2001, 11:23:07 PM
Im using the win32 api (win 9x), and using a standard ansi compiler
(ming32, cygnus) along with Borland's C++ Builder 4. This question is more in regards to active-x plugins, and the such.
Posted by gian [send private reply] at July 01, 2001, 06:30:05 AM
BCB4 Includes a component that will play MPEGS, Mp3s and Almost any other format you could dream of.
Posted by miken [send private reply] at July 01, 2001, 12:41:07 PM
Try Microsoft's DirectShow, (now) a component of DirectX 8.0 (standalone for earlier DX versions) - it makes it all simple [http://msdn.microsoft.com/directx].
Mike [mnansgar@hotmail.com]
Posted by minimice [send private reply] at July 14, 2001, 02:05:16 PM
If you want an example of using MCI to play wave files and display waveforms check out my wave editor under my homepage, portfolio section @ http://famousguy.cjb.net I did it as an assignment.
Register as a new user | |||||||||