Quote:
Originally posted by (MasterCaster)
Hi,
Ilitirit could you please post the piece of source code, where you start your own core? I have been working on this, but I never got it running!
Stupido mio!
Thanks,
(MasterCaster)
|
do u mean how i use it after its compiled?
code:
#define OTHERCORE 1 //the main core is 0
//Get a pointer to the core
svc_mediaCoreI *copyCore;
copyCore = castService<svc_mediaCoreI>(api->service_enumService(WaSvc::MEDIACORE, OTHERCORE));
//play a file
copyCore->setNextFile("file:C:\\test.mp3");
copyCore->start();
i've attached the soundsys_core header and cpp file. note that i've commented out all the lines where the spreader property is referenced because for some reason the setCallback function isn't being called. also i can't seem to get this to work with DSOUND.