Click here to Skip to main content
15,891,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Memory aligned bit fields Pin
Aescleal25-Sep-10 22:31
Aescleal25-Sep-10 22:31 
GeneralRe: Memory aligned bit fields Pin
Trevor Johansen25-Sep-10 10:51
Trevor Johansen25-Sep-10 10:51 
GeneralRe: Memory aligned bit fields Pin
Aescleal25-Sep-10 22:34
Aescleal25-Sep-10 22:34 
QuestionDirectX - Antialiasing and Plotting Pixels Query [Moved] Pin
simon alec smith24-Sep-10 9:52
simon alec smith24-Sep-10 9:52 
QuestionHow to process multiple commands on CAccessor. Pin
Spawn@Melmac24-Sep-10 8:36
Spawn@Melmac24-Sep-10 8:36 
QuestionGetHeaderCtrl returns null Pin
genush24-Sep-10 6:09
genush24-Sep-10 6:09 
AnswerRe: GetHeaderCtrl returns null Pin
genush24-Sep-10 7:39
genush24-Sep-10 7:39 
QuestionPop sound at the end of playing .wav audio Pin
Danzy8324-Sep-10 2:34
Danzy8324-Sep-10 2:34 
Hi everyone. I have a console application that plays .mp3 and .wav audio files. For .mp3 audio files there is no problem but when playing .wav audio files (PCM), there is always a pop sound at the end of the file. That is, the last bytes that get written to the audio device always produce a pop sound even for different .wav audio files. I tried to change the size of the buffer (4kB, 6KB, 8KB) but I still hear these pop sounds. What I have done is to read a fixed size of wav samples from the file and write them. When the bytes remaining in the file is less than this fixed size, the program reads only the size remaining in the file and writes these wave samples but the last samples read and written to the audio device produce the pop sound. However, when I play these .wav files with other media players, the pop sound is not produced. What am I missing?
AnswerRe: Pop sound at the end of playing .wav audio Pin
Code-o-mat24-Sep-10 3:03
Code-o-mat24-Sep-10 3:03 
GeneralRe: Pop sound at the end of playing .wav audio Pin
Danzy8324-Sep-10 3:11
Danzy8324-Sep-10 3:11 
GeneralRe: Pop sound at the end of playing .wav audio [modified] Pin
Code-o-mat24-Sep-10 4:43
Code-o-mat24-Sep-10 4:43 
QuestionDelete a View Pin
john563224-Sep-10 1:24
john563224-Sep-10 1:24 
AnswerRe: Delete a View Pin
Eugen Podsypalnikov24-Sep-10 2:29
Eugen Podsypalnikov24-Sep-10 2:29 
GeneralRe: Delete a View Pin
john563224-Sep-10 4:48
john563224-Sep-10 4:48 
AnswerRe: Delete a View [modified] Pin
mesajflaviu24-Sep-10 6:28
mesajflaviu24-Sep-10 6:28 
QuestionMaking an app single instance Pin
sashoalm24-Sep-10 0:20
sashoalm24-Sep-10 0:20 
AnswerRe: Making an app single instance Pin
«_Superman_»24-Sep-10 0:50
professional«_Superman_»24-Sep-10 0:50 
AnswerRe: Making an app single instance Pin
Kushagra Tiwari24-Sep-10 2:56
Kushagra Tiwari24-Sep-10 2:56 
GeneralRe: Making an app single instance Pin
Sauro Viti24-Sep-10 3:57
professionalSauro Viti24-Sep-10 3:57 
AnswerRe: Making an app single instance Pin
Cool_Dev24-Sep-10 3:04
Cool_Dev24-Sep-10 3:04 
QuestionRe: Making an app single instance Pin
sashoalm24-Sep-10 3:07
sashoalm24-Sep-10 3:07 
AnswerRe: Making an app single instance Pin
Cool_Dev25-Sep-10 20:49
Cool_Dev25-Sep-10 20:49 
AnswerRe: Making an app single instance Pin
David Crow24-Sep-10 3:08
David Crow24-Sep-10 3:08 
QuestionGetActiveView Pin
john563223-Sep-10 21:57
john563223-Sep-10 21:57 
AnswerRe: GetActiveView Pin
Richard MacCutchan23-Sep-10 22:21
mveRichard MacCutchan23-Sep-10 22:21 

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.