search for: pcmwaveformat

Displaying 3 results from an estimated 3 matches for "pcmwaveformat".

2001 Aug 24
1
A broken WAV header?
...chunk with the last two * bytes 0. This is incorrect, but sufficiently common that we only warn * about it instead of refusing it. * Please, if you have a program that's creating these 18 byte chunks, send * a bug report to whoever makes it */ And it was assuming a 16-byte strucuture(PCMWAVEFORMAT) in a file in later code. But why? I think the 18-byte structure in the comment is probably WAVEFORMATEX.... And here's links where the Platform SDK mentions about these structures: (URLs may be broken into a few lines) PCMWAVEFORMAT: http://msdn.microsoft.com/library/default.asp?url=/library...
2001 Aug 26
4
On the "broken" .WAV files issue
...ader that's wrong. More precisely: there are two version of the format chunk, one that's old and belongs to the original .WAV specification (the corresponding structure is called WAVEFORMAT in the win32 sdk and has 14 bytes, the variant you'll typically see in (PCM) wave files is called PCMWAVEFORMAT and has 16 bytes - the size that you expect the format chunk to be). But there's also a newer one, called WAVEFORMATEX, which was created to suit the requirements of non-PCM codecs better. The major differences are that the bits per sample value now officially is part of the wave format structu...
2012 Jan 13
0
Wine release 1.3.37
...d. mmdevapi: GetDevicePeriod returns constants. winecoreaudio: Fix latency calculation. winealsa: Have GetStreamLatency reflect the ALSA period. wineoss: GetStreamLatency is constant, SNDCTL_DSP_GETODELAY is dynamic. winmm: Ignore broken nBlockAlign and AvgBytes within PCMWAVEFORMAT. winealsa: Unify the checks for wBitsPerSample. winealsa: Check ValidBitsPerSample and support SND_PCM_FORMAT_S20_3LE. mmdevapi: Round buffer size like native in shared mode. winealsa: Fix AudioRenderClient Get/ReleaseBuffer protocol. mmdevapi/tests: Fix some test fail...