|
|
#1 |
|
Junior Member
Join Date: Aug 2006
Posts: 2
|
decrypting mp3 files @ runtime [problem]
How can i use the sdk to code a plugin that decrypts mp3 files _before_ they are played and encrypts them again after they're skipped / stopped?
Sorry dudes for this stupid question but i'm not into this plugin coding, i just coded a file encryption application and i want to encrypt all my mp3's and with _this_ winamp plugin they will be decrypted at runtime. Is that possible? cheers, alf |
|
|
|
|
|
#2 |
|
Member
Join Date: May 2006
Posts: 52
|
interesting idea.. why do you need to encrypt your mp3 files tho
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2006
Posts: 2
|
why shouldnt i? :]
can ne1 help me? tnx in advance |
|
|
|
|
|
#4 |
|
Ben Allison
Lead Developer Winamp Dev Team Join Date: Jan 2005
Location: Ashburn, VA
Posts: 1,018
|
You could write an input plugin which "chains" in_mp3. That is, your plugin takes over playback of MP3 files, but all it does is decrypt the file to a temporary file, pass control over to in_mp3 (and deletes the temporary file when playback stops). DrO uses a very similiar technique for his in_zip plugin.
However, if you want "on-the-fly" decryption, you'll pretty much have to write your own MP3 decoding plugin
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|