Click here to Skip to main content
15,914,317 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DirectShow : Linker Error Pin
Sujan Christo13-Dec-04 21:53
Sujan Christo13-Dec-04 21:53 
GeneralRe: DirectShow : Linker Error Pin
ytod13-Dec-04 22:18
ytod13-Dec-04 22:18 
Generalcommunication throught USB Pin
tibiz13-Dec-04 21:23
tibiz13-Dec-04 21:23 
GeneralRe: communication throught USB Pin
namaskaaram13-Dec-04 21:57
namaskaaram13-Dec-04 21:57 
GeneralRe: communication throught USB Pin
tibiz14-Dec-04 1:17
tibiz14-Dec-04 1:17 
GeneralDirectX Question + urgent Pin
Anonymous13-Dec-04 20:29
Anonymous13-Dec-04 20:29 
GeneralRe: DirectX Question + urgent Pin
Andy Hunter14-Dec-04 3:03
Andy Hunter14-Dec-04 3:03 
GeneralPlaying an audio signal in a C++ DLL Pin
Cincy13-Dec-04 20:17
Cincy13-Dec-04 20:17 
What I need to do is write a DLL that will play an audio signal. The problem is, the source of the audio will not be any kind of music/audio file or even some recording stored in a wav class of some sort. What I am working with is the raw data, an array representing the entire signal.

For those of you familiar with MATLAB, you know MATLAB has a function called "wavplay".
Let's say I have a 1x200000 array called "audioSignal". If I know that this signal was originally sampled at 50kHz (that is, the samples are spaced apart by increments of 20 microseconds) then all I have to do to play the signal stored in the array is enter the following command:

>> wavplay(audioSignal, 50000);

Of course, if I use, say 30000 instead of 50000 this just deepens the pitch and lengthens the duration of the signal, but doesn't actually change it.

This is exactly the kind of method I want to be able to use in my C++ DLL, but I have no idea how to write a method that does this myself. Does anyone know of any built-in methods that I don't know about, or does anyone know where I can find code that will do this? Any help is good help, God bless.
GeneralSharing data between dll and exe Pin
ledallam13-Dec-04 20:00
ledallam13-Dec-04 20:00 
GeneralRe: Sharing data between dll and exe Pin
vishalmore13-Dec-04 20:09
vishalmore13-Dec-04 20:09 
GeneralRe: Sharing data between dll and exe Pin
Cedric Moonen13-Dec-04 20:15
Cedric Moonen13-Dec-04 20:15 
GeneralKey messages in Dialog app Pin
AslFunky13-Dec-04 19:33
AslFunky13-Dec-04 19:33 
GeneralRe: Key messages in Dialog app Pin
Arsalan Malik13-Dec-04 19:43
Arsalan Malik13-Dec-04 19:43 
GeneralRe: Key messages in Dialog app Pin
AslFunky13-Dec-04 21:33
AslFunky13-Dec-04 21:33 
GeneralRe: Key messages in Dialog app Pin
Arsalan Malik13-Dec-04 22:54
Arsalan Malik13-Dec-04 22:54 
GeneralRe: Key messages in Dialog app Pin
AslFunky14-Dec-04 1:06
AslFunky14-Dec-04 1:06 
GeneralRe: Key messages in Dialog app Pin
namaskaaram13-Dec-04 21:52
namaskaaram13-Dec-04 21:52 
GeneralRe: Key messages in Dialog app Pin
AslFunky14-Dec-04 1:01
AslFunky14-Dec-04 1:01 
Questionhow to link an external .res file with my application Pin
Arcrest13-Dec-04 18:30
Arcrest13-Dec-04 18:30 
GeneralKeyWord and Reserved Word Pin
Amirzeb13-Dec-04 18:13
Amirzeb13-Dec-04 18:13 
GeneralRe: KeyWord and Reserved Word Pin
Sujan Christo13-Dec-04 20:24
Sujan Christo13-Dec-04 20:24 
QuestionCan I get where cursor placed in vscroll? Pin
freehawk13-Dec-04 18:01
freehawk13-Dec-04 18:01 
AnswerRe: Can I get where cursor placed in vscroll? Pin
ytod13-Dec-04 22:39
ytod13-Dec-04 22:39 
QuestionHow to get WM_VCSROLL ? Pin
freehawk13-Dec-04 17:05
freehawk13-Dec-04 17:05 
AnswerRe: How to get WM_VCSROLL ? Pin
ytod13-Dec-04 23:32
ytod13-Dec-04 23: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.