Prev Previous Post   Next Post Next
Old 1st October 2002, 08:16   #16
Ilitirit
Junior Member
 
Join Date: Nov 2001
Posts: 27
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.
Attached Files
File Type: zip soundsys core.zip (7.4 KB, 366 views)
Ilitirit is offline  
 
Go Back   Winamp & Shoutcast Forums > Winamp3 > Wasabi Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump