Click here to Skip to main content
15,919,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Proper usage of #pragma once Pin
Jeremy Falcon29-Jun-04 10:49
professionalJeremy Falcon29-Jun-04 10:49 
GeneralRe: Proper usage of #pragma once Pin
PJ Arends29-Jun-04 11:07
professionalPJ Arends29-Jun-04 11:07 
GeneralRe: Proper usage of #pragma once Pin
Maximilien30-Jun-04 3:25
Maximilien30-Jun-04 3:25 
GeneralRe: Proper usage of #pragma once Pin
Michael Dunn29-Jun-04 12:09
sitebuilderMichael Dunn29-Jun-04 12:09 
QuestionHow do I keep Menu from covering Property page tabs Pin
Bob_The_Programmer29-Jun-04 8:58
Bob_The_Programmer29-Jun-04 8:58 
Questionhow to loop portions of a WAV using DirectSound? Pin
seanmc.cs29-Jun-04 8:26
seanmc.cs29-Jun-04 8:26 
AnswerRe: how to loop portions of a WAV using DirectSound? Pin
Antti Keskinen29-Jun-04 11:57
Antti Keskinen29-Jun-04 11:57 
GeneralRe: how to loop portions of a WAV using DirectSound? Pin
seanmc.cs30-Jun-04 15:53
seanmc.cs30-Jun-04 15:53 
I use 3 buffers now and I can loop the sustain portion of the sound seemlessly, however, now there's a "blip" before the start of the loop and at the "release", which is what I thought would happen. The first wav plays and at the end it signals for the next wav to play (the loop wav) but the sound of the 2nd wav doesn't start soon enough, causing the blip. When the 2nd wav stop playing and the 3rd wav is signaled to play there's another blip for the same reason.

So basically I need a way to seemlessly play one wav (in a buffer) after another. It seems the only way to do this is to implement some sort of overlap/switch between the 1st/2nd buffers (using GetCurrentPosition to see where to start playing in the 2nd buffer) and some sort of crossfade (for the release).

The WAV already has markers for loop start/end and release (which I use) and I have another program that can play the sound correctly so I know that glitchless play back is possible.
GeneralRe: how to loop portions of a WAV using DirectSound? Pin
seanmc.cs30-Jun-04 17:22
seanmc.cs30-Jun-04 17:22 
GeneralRe: how to loop portions of a WAV using DirectSound? Pin
Antti Keskinen1-Jul-04 7:33
Antti Keskinen1-Jul-04 7:33 
AnswerBlips are natural! Pin
normanS1-Jul-04 3:23
normanS1-Jul-04 3:23 
Generalwinsock2 for MS Visual C++ Toolkit 2003 Pin
george kermeen29-Jun-04 8:21
george kermeen29-Jun-04 8:21 
GeneralRe: winsock2 for MS Visual C++ Toolkit 2003 Pin
palbano29-Jun-04 13:39
palbano29-Jun-04 13:39 
GeneralRe: winsock2 for MS Visual C++ Toolkit 2003 Pin
george kermeen30-Jun-04 4:18
george kermeen30-Jun-04 4:18 
Generalwin32 dll Pin
ns29-Jun-04 7:42
ns29-Jun-04 7:42 
GeneralRe: win32 dll Pin
Jeremy Falcon29-Jun-04 8:53
professionalJeremy Falcon29-Jun-04 8:53 
GeneralStart Full or Min Pin
Zenix229-Jun-04 7:35
Zenix229-Jun-04 7:35 
GeneralRe: Start Full or Min Pin
David Crow29-Jun-04 8:31
David Crow29-Jun-04 8:31 
GeneralRe: Start Full or Min Pin
Zenix229-Jun-04 9:43
Zenix229-Jun-04 9:43 
GeneralRe: Start Full or Min Pin
vcplusplus29-Jun-04 13:58
vcplusplus29-Jun-04 13:58 
GeneralRe: Start Full or Min Pin
David Crow30-Jun-04 2:39
David Crow30-Jun-04 2:39 
GeneralRe: Start Full or Min Pin
Zenix21-Jul-04 4:55
Zenix21-Jul-04 4:55 
GeneralRe: Start Full or Min Pin
David Crow1-Jul-04 5:09
David Crow1-Jul-04 5:09 
GeneralRe: Start Full or Min Pin
Zenix21-Jul-04 5:23
Zenix21-Jul-04 5:23 
GeneralRe: Start Full or Min Pin
David Crow1-Jul-04 5:32
David Crow1-Jul-04 5:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.