This extension is awesome! However...
Ok, I downloaded the plug-in pack that Shaltif posted and extracted out_ds.dll and out_wav.dll, as well as in_NotSoFatso.dll in order to test it with a single NSF file. I also used in_yansf.dll which is the one used by NSFPlay. When I ran Shaltif's demo program, I opened one of the out_ DLLs (both worked) and then I opened in_NotSoFatso.dll. When I tried to play a song, it opened the NotSoFatso interface as well. However, if I used in_yansf.dll the song would play on its own without opening the NSFPlay interface. HOWEVER, when I exited Shaltif's demo while using in_yansf.dll, I would get an Application error:
NSFPlug: example.exe - Application Error
The instruction at "0x02942158" referenced memory at "0x029c38e8". The memory could not be "read".
Click on OK to terminate the program
So, since it's obviously an NSFPlug error, does anyone know how to fix that? If not, in which case NSFplug is unusable, does anyone know how to make the NotSoFatso interface not pop up every time I play a file with it?
I've also noticed if I try to use NoseFart (in_nsf.dll) with out_ds.dll, sometimes the sound won't play. It seems like it's related to DirectSound since I have to run another program (such as NSFPlay) to re-initialize DirectSound in order for in_nsf.dll to work; which, by the way, plays so wonderfully loud and clear if and when it does work.
I know it's been brought up in other threads, but for the sake of this thread as well, how do you control loops and loop delays? Is that something that cannot be helped or is it managed with the plug-ins themselves?
Lastly, this is for those people who have multi-tracked NSF files they want to play: Maybe there is a function in S-Winamp Wrapper for advancing NSF tracks or maybe there isn't, I don't know. However, every time you load an NSF to play (for example, every time you press 'P' in Shaltif's demo), (edit) there is a chance (/edit) you can advance the track list. In other words, I would think if there's no function for selecting tracks, then all you would need to do is load the NSF file multiple times in order to play to play the desired track. You have to stop the playback first, though, otherwise it plays back at faster and faster speeds.
Edited by TheouAegis, 12 September 2010 - 06:26 AM.
"The problem with object-oriented languages is that they've got all this implicit environment that they carry around with them. You wanted a banana but what you've got is a gorilla holding the banana and the entire jungle." -Joe Armstrong
"It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing thoughts, devoting attention to detail and learning to be self-critical?" -Alan Perlis
"Do not think about where you want to be and how to get there; think about what you want to do and how to do it." -Theou Aegis