Click here to Skip to main content
15,937,002 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Where is PCMFORMAT defined? Pin
Maximilien3-Oct-13 7:16
Maximilien3-Oct-13 7:16 
GeneralRe: Where is PCMFORMAT defined? Pin
Vaclav_3-Oct-13 8:13
Vaclav_3-Oct-13 8:13 
GeneralRe: Where is PCMFORMAT defined? Pin
Maximilien3-Oct-13 9:37
Maximilien3-Oct-13 9:37 
GeneralRe: Where is PCMFORMAT defined? SOLVED Pin
Vaclav_3-Oct-13 17:39
Vaclav_3-Oct-13 17:39 
AnswerRe: Where is PCMFORMAT defined? Pin
Albert Holguin8-Oct-13 7:28
professionalAlbert Holguin8-Oct-13 7:28 
QuestionwaveOutWrite while using header loops returns WOM_DONE Pin
Vaclav_2-Oct-13 9:39
Vaclav_2-Oct-13 9:39 
QuestionRe: waveOutWrite while using header loops returns WOM_DONE Pin
David Crow2-Oct-13 9:49
David Crow2-Oct-13 9:49 
AnswerRe: waveOutWrite while using header loops returns WOM_DONE Pin
Vaclav_2-Oct-13 10:09
Vaclav_2-Oct-13 10:09 
David,
the output "device" is PC speaker and here is the
waveOutOpen:
mmres = waveOutOpen(&hwout, WAVE_MAPPER, &wfme,
(DWORD) CallbackWaveOutProc, 0x12345, CALLBACK_FUNCTION);

Correction - it works in "normal" non debug mode ( I got too many threads running amok most of the time) , but still returns WOM_DONE too soon for my app.I am trying to generate several frequencies and need to know when to advance to the next one.

Maybe I should get rid of the WAVE_MAPPER and specify the speaker.

Since it runs in its own thread , could that be the problem??
I am using AfxMessageBox to troubleshoot this and it is not the best way to keep track of timing of things.
SuggestionRe: waveOutWrite while using header loops returns WOM_DONE Pin
David Crow2-Oct-13 10:32
David Crow2-Oct-13 10:32 
GeneralRe: waveOutWrite while using header loops returns WOM_DONE Pin
Vaclav_3-Oct-13 4:25
Vaclav_3-Oct-13 4:25 
GeneralRe: waveOutWrite while using header loops returns WOM_DONE Pin
Vaclav_3-Oct-13 8:01
Vaclav_3-Oct-13 8:01 
SuggestionRe: waveOutWrite while using header loops returns WOM_DONE Pin
David Crow7-Oct-13 2:53
David Crow7-Oct-13 2:53 
GeneralRe: waveOutWrite while using header loops returns WOM_DONE Pin
Vaclav_7-Oct-13 5:09
Vaclav_7-Oct-13 5:09 
QuestionNumerical processing in C/C++ - text(books) resources? OT Pin
Vaclav_30-Sep-13 15:13
Vaclav_30-Sep-13 15:13 
AnswerRe: Numerical processing in C/C++ - text(books) resources? OT Pin
Richard MacCutchan30-Sep-13 21:41
mveRichard MacCutchan30-Sep-13 21:41 
GeneralRe: Numerical processing in C/C++ - text(books) resources? OT Pin
Member 103174295-Oct-13 7:56
Member 103174295-Oct-13 7:56 
GeneralRe: Numerical processing in C/C++ - text(books) resources? OT Pin
Richard MacCutchan5-Oct-13 20:46
mveRichard MacCutchan5-Oct-13 20:46 
AnswerRe: Numerical processing in C/C++ - text(books) resources? OT Pin
CPallini2-Oct-13 0:50
mveCPallini2-Oct-13 0:50 
AnswerRe: Numerical processing in C/C++ - text(books) resources? OT Pin
Albert Holguin8-Oct-13 5:47
professionalAlbert Holguin8-Oct-13 5:47 
GeneralRe: Numerical processing in C/C++ - text(books) resources? OT Pin
Vaclav_8-Oct-13 6:18
Vaclav_8-Oct-13 6:18 
GeneralRe: Numerical processing in C/C++ - text(books) resources? OT Pin
Albert Holguin8-Oct-13 7:21
professionalAlbert Holguin8-Oct-13 7:21 
QuestionAccess specifier in multiple inheritance Pin
TheHelenLee30-Sep-13 10:24
TheHelenLee30-Sep-13 10:24 
AnswerRe: Access specifier in multiple inheritance Pin
.dan.g.30-Sep-13 18:51
professional.dan.g.30-Sep-13 18:51 
AnswerRe: Access specifier in multiple inheritance Pin
«_Superman_»30-Sep-13 19:05
professional«_Superman_»30-Sep-13 19:05 
QuestionRe: Access specifier in multiple inheritance Pin
TheHelenLee30-Sep-13 19:25
TheHelenLee30-Sep-13 19:25 

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.