On 10/07/06, Ross Levis <[EMAIL PROTECTED]> wrote:
That's an idea, but I presume it requires a driver to be installed, and is not be flexible in size. The audio files could be any size.I think I'll be giving up on that idea. It's working OK as it is really. I'm decrypting the audio file before it plays and storing it with a .DLL extension and hidden & system file attributes in a completely different folder, so I think this will do.Regards,
Ross.
----- Original Message -----From: "Karl @ Work" <[EMAIL PROTECTED] >To: "'NZ Borland Developers Group - Delphi List'" < [email protected]>Sent: Monday, July 10, 2006 10:01 AMSubject: RE: [DUG] access memory as a fileWould using a RAMdisk be good enough?
Cheers,
Carl
-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]On
Behalf Of Ross Levis
Sent: Friday, July 07, 2006 7:47 PM
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] access memory as a file
I doubt this is possible but I thought I would ask anyway.
I have a 3rd party DLL which opens a file that I specify. Specially it is
an audio decoder plugin which decodes MP3 to PCM.
What I would like to do is use this plugin to access a memory location which
contains MP3 data instead of a file.
Is it possible to set up something in Windows where you specify a filename
but actually accesses memory instead.
This will be used with encrypted mp3 files so they are not accessible to
anyone to steal for their own use. I am currently opening the file,
decrypting, and then saving a temporary file to disk. But this has 2
disadvantages. It is very slow, so lots of latency between asking a track
to play and hearing it. And also, while the file is decrypted on disk,
someone can steal it.
The DLL cannot be modified. Is there any solution?
Thanks,
Ross.
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
