Prev Previous Post   Next Post Next
Old 27th September 2002, 13:33   #12
Ilitirit
Junior Member
 
Join Date: Nov 2001
Posts: 27
Quote:
Originally posted by soundsys
Hi

Most of the code is a replacement for the start() code.
The while(playing) code should stand in the process().

The updated code is a standalone code that play the whole file.
You can't interact with it as in orginal code.
The huge change is the castservice<> use instead of c styled cast.
Another correction is to delAllchunks() in the reading loop

Have fun
cool.
just a few questions and comments though.

SoundsysCore.In, SoundsysCore.Out, svc_fileReaderI *R should be set to NULL because they contain garbage data at the time of creation If they are not NULL, calls to api->service_release() will cause an assertion failure - "got release with no lock record" (unless of course they contain valid data).

also, how do i assign an output converter to SoundsysCore.Out? I want to redirect the output to my soundcard and I assume I should use the same technique as assigning a FileReader and Input converter but I'm not sure what the correct flags are and how to check if the converter is valid for the data.
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