johnman
5th May 2005, 18:46
Like i said a while ago i have a working ssrc.dll which i might use for besweet. When i asked if anybody had any experience with besweet plugins i got 0 responce :(. Now i tried it anyway to see if i can manage it on my own and to my disappointment i stranded right away. I hope someone (maybe dspguru himself) can help me out a little.
This is what i have tried:
First i wanted to see how the BS-plugins work so i looked at the source of BS_M2S and experimented a little with it. I noticed the plugin doesnt get any info on the samples it gets (except the size) and it doesnt have a init,process,exit structure which would be very handy to port my ssrc.dll.
Then i thought about modifying the Shibatch.dll which is available on the besweet site.
First i tried the original Shibatch.dll which seemed to work correctly.
Then i compiled the sourcecode and replaced the Shibatch.dll with my own. This gave me the folowing error:
Error 76: Unable to get Shibatch.dll interfaces Quiting...
Then i deleted the dll and i got the same error so the dll is somehow not recogniced by besweet.
I was back where i started. I realized that when there is no "finish" function in the plugin interface i cant de-allocate memory which will cause some memory leaks. Althougs this is annoying it isnt a really big problem (for now) if you only do a few files. But then i realised that it is impossible to downsample if it is unknow how much channels there are.
So now im stuck. I think the plugin interface has to be addepted to give more info about the stream. If anyone has an idea or maybe if someone can tell mee how to compile a working Shibatch.dll ill be glad to hear this.
Im not a big besweet user so maybe im overlooking something simple.
This is what i have tried:
First i wanted to see how the BS-plugins work so i looked at the source of BS_M2S and experimented a little with it. I noticed the plugin doesnt get any info on the samples it gets (except the size) and it doesnt have a init,process,exit structure which would be very handy to port my ssrc.dll.
Then i thought about modifying the Shibatch.dll which is available on the besweet site.
First i tried the original Shibatch.dll which seemed to work correctly.
Then i compiled the sourcecode and replaced the Shibatch.dll with my own. This gave me the folowing error:
Error 76: Unable to get Shibatch.dll interfaces Quiting...
Then i deleted the dll and i got the same error so the dll is somehow not recogniced by besweet.
I was back where i started. I realized that when there is no "finish" function in the plugin interface i cant de-allocate memory which will cause some memory leaks. Althougs this is annoying it isnt a really big problem (for now) if you only do a few files. But then i realised that it is impossible to downsample if it is unknow how much channels there are.
So now im stuck. I think the plugin interface has to be addepted to give more info about the stream. If anyone has an idea or maybe if someone can tell mee how to compile a working Shibatch.dll ill be glad to hear this.
Im not a big besweet user so maybe im overlooking something simple.