[Implemented] WAVEFORMATEX Structure: Unsigned FormatTag

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

[Implemented] WAVEFORMATEX Structure: Unsigned FormatTag

Post by chris319 »

Please make the wFormatTag member of the WAVEFORMATEX structure an unsigned unicode variable thus:

Code: Select all

Structure WAVEFORMATEX
  wFormatTag.u
  nChannels.w
  nSamplesPerSec.l
  nAvgBytesPerSec.l
  nBlockAlign.w
  wBitsPerSample.w
  cbSize.w
EndStructure
for compatibility with unsigned format tags defined by Microsoft (e.g. #WAVE_FORMAT_EXTENSIBLE = $FFFE).

Thank you.