Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Playing the same sound over itself in DX8

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
Threshold Posted - Apr 16 2005 : 7:30:50 PM
With DirectSound7 and DirectAudio (DirectX 8), sound buffers can be loaded and then played. However, what if I want to play that same sound buffer on top of itself? I certainly don't want to load it into two separate buffers as that would be extremely inefficient and bulky.

Does anyone know how to do this?

EDIT: I believe this may have something to do with secondary buffers...?
2   L A T E S T    R E P L I E S    (Newest First)
Threshold Posted - Apr 19 2005 : 01:03:18 AM
Haha...even though the news wasn't exactly what I wanted to hear , thanks for the info!
Almar Posted - Apr 18 2005 : 3:22:24 PM
You'll need a second buffer for it. One sound, one buffer. But you can make a copy (I beleive) using a secondary buffer, or using clonebuffer or something. Just think as a buffer of an isntance of soundrecorder.. multiple instances can play, but one instance can only play one file :)

VBGamer © Go To Top Of Page
This page was generated in 0.28 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.