It is currently Sun Aug 20, 2017 5:58 pm

All times are UTC - 5 hours




 Page 1 of 1 [ 4 posts ] 
Author Message
 Post subject: Shader VMK 105 - Audio Source
PostPosted: Mon Oct 26, 2015 7:06 pm 
Site Admin

Joined: Sun Feb 11, 2007 8:59 am
Posts: 1105
Location: Ontario Canada
In this VMK we implement 2 new classes, the AudioObject and the AudioSource. The Audio Source is going to be the container for one entity that can play back a sound effect. I also implement the SoundSource which is a reference to an audio object that the AudioManager will be using.


Offline
 Profile  
 
 Post subject: Re: Shader VMK 105 - Audio Source
PostPosted: Mon Oct 26, 2015 10:00 pm 

Joined: Sat Aug 16, 2008 7:58 am
Posts: 448
Pretty straight forward and easy to add. Might be a minor bug; within the video did you forget to declare AudioObject's destructor as virtual?


Offline
 Profile  
 
 Post subject: Re: Shader VMK 105 - Audio Source
PostPosted: Tue Oct 27, 2015 7:15 pm 
Site Admin

Joined: Sun Feb 11, 2007 8:59 am
Posts: 1105
Location: Ontario Canada
You're right, I forgot to declare the AudioObject destructor as virtual.


Offline
 Profile  
 
 Post subject: Re: Shader VMK 105 - Audio Source
PostPosted: Tue Oct 27, 2015 11:57 pm 

Joined: Sat Aug 16, 2008 7:58 am
Posts: 448
Thought I would just point that out so that there wouldn't be any complications later on!


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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

Jump to:  

cron