forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Add WAV resource??

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sun Oct 29, 2006 5:53 pm    Post subject: Add WAV resource?? Reply with quote

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
View user's profile Send private message Send e-mail
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Sun Oct 29, 2006 6:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sun Oct 29, 2006 6:20 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Nov 14, 2006 12:33 am    Post subject: Reply with quote

Aslan,
Jules is correct you cannot play a wav file with VDS by itself. Wink 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 Cool

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group