if sound file size is about 200mb?
Hi,
My program plays a file that is about 200Mb. For example, sometimes it plays begining of file; sometimes it plays 40th minutes of file. So I don''t know what I use for playback system. What do you suggest to me between DirectSound and WinAPI? if I use WinAPIs, does the performance reduce because of file is too big.
Thanks..
Everything is wonder in the universe.
i think its a wrong forum for this topic. Ok I think DirectSound is desgined for small and frequent running sounds not for such huge data. DirectMusic or DirectShow are designed for such media.
3D Side-Scroller game demo Project-X2 "playable"Lashkar: A 3D Game & Simulation Project demo @ lashkar.berlios.de
DirectSound is a fine way to stream sound data to a device. In fact, DirectShow uses DirectSound for actual output.
Whether you use a thread with file loading and buffer locking, or let some system interface take care of that, is up to you. I''d use the thread. (One of the few things I''d use a thread for!)
Whether you use a thread with file loading and buffer locking, or let some system interface take care of that, is up to you. I''d use the thread. (One of the few things I''d use a thread for!)
enum Bool { True, False, FileNotFound };
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement