| View previous topic :: View next topic |
| Author |
Message |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun Oct 29, 2006 5:53 pm Post subject: Add WAV resource?? |
|
|
Anyone what the Resource typename for a wav file is?
| Code: | | #RESOURCE ADD,WAV,file.wav |
Doesn't work.
Can this be done? |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Sun Oct 29, 2006 6:06 pm Post subject: |
|
|
What exactly are you trying to achieve by this? You can't play a wav file directly from a resource anyway. I thought you could make up your own resource type names, but you can certainly do #resource add,binary,filename and then use the binfile saveres to write it to a temporary file and then play it. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun Oct 29, 2006 6:20 pm Post subject: |
|
|
Thanks Jules. I didn't even think about the fact that you can't play a wav from a resource.
Thanks for the reality check  |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Tue Nov 14, 2006 12:33 am Post subject: |
|
|
Aslan,
Jules is correct you cannot play a wav file with VDS by itself. However you can use GadgetX.dll to play the wave resource.
#RESOURCE ADD,WAVE,mysound.wav,mysound
Have fun checking out the demo of this at my website  _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
|