Lines Matching refs:DataFormat

83     KSDATAFORMAT_WAVEFORMATEX DataFormat;  in SetPinFormat()  local
91 DataFormat.WaveFormatEx.wFormatTag = WaveFormatEx->wFormatTag; in SetPinFormat()
92 DataFormat.WaveFormatEx.nSamplesPerSec = WaveFormatEx->nSamplesPerSec; in SetPinFormat()
93 DataFormat.WaveFormatEx.nBlockAlign = WaveFormatEx->nBlockAlign; in SetPinFormat()
94 DataFormat.WaveFormatEx.cbSize = 0; in SetPinFormat()
95 DataFormat.DataFormat.FormatSize = sizeof(KSDATAFORMAT) + sizeof(WAVEFORMATEX); in SetPinFormat()
96 DataFormat.DataFormat.Flags = 0; in SetPinFormat()
97 DataFormat.DataFormat.Reserved = 0; in SetPinFormat()
98 DataFormat.DataFormat.MajorFormat = KSDATAFORMAT_TYPE_AUDIO; in SetPinFormat()
99 DataFormat.DataFormat.SubFormat = KSDATAFORMAT_SUBTYPE_PCM; in SetPinFormat()
100 DataFormat.DataFormat.Specifier = KSDATAFORMAT_SPECIFIER_WAVEFORMATEX; in SetPinFormat()
101 DataFormat.DataFormat.SampleSize = 4; in SetPinFormat()
102 DataFormat.WaveFormatEx.nChannels = WaveFormatEx->nChannels; in SetPinFormat()
103 DataFormat.WaveFormatEx.nAvgBytesPerSec = WaveFormatEx->nAvgBytesPerSec; in SetPinFormat()
104 DataFormat.WaveFormatEx.wBitsPerSample = WaveFormatEx->wBitsPerSample; in SetPinFormat()
106 …Pin, IOCTL_KS_PROPERTY, (LPVOID)&Property, sizeof(KSPROPERTY),(LPVOID)&DataFormat, sizeof(KSDATAFO… in SetPinFormat()
130 PKSDATAFORMAT_WAVEFORMATEX DataFormat; in DoDataIntersection() local
142 DataFormat = (PKSDATAFORMAT_WAVEFORMATEX)(Item + 1); in DoDataIntersection()
153 DataFormat->WaveFormatEx.wFormatTag = WaveFormatEx->wFormatTag; in DoDataIntersection()
154 DataFormat->WaveFormatEx.nSamplesPerSec = SampleFrequency; in DoDataIntersection()
155 DataFormat->WaveFormatEx.nBlockAlign = WaveFormatEx->nBlockAlign; in DoDataIntersection()
156 DataFormat->WaveFormatEx.cbSize = 0; in DoDataIntersection()
157 DataFormat->DataFormat.FormatSize = sizeof(KSDATAFORMAT) + sizeof(WAVEFORMATEX); in DoDataIntersection()
158 DataFormat->DataFormat.Flags = 0; in DoDataIntersection()
159 DataFormat->DataFormat.Reserved = 0; in DoDataIntersection()
160 DataFormat->DataFormat.MajorFormat = KSDATAFORMAT_TYPE_AUDIO; in DoDataIntersection()
161 DataFormat->DataFormat.SubFormat = KSDATAFORMAT_SUBTYPE_PCM; in DoDataIntersection()
162 DataFormat->DataFormat.Specifier = KSDATAFORMAT_SPECIFIER_WAVEFORMATEX; in DoDataIntersection()
163 DataFormat->DataFormat.SampleSize = 4; in DoDataIntersection()
169 DataFormat->WaveFormatEx.nChannels = nChannels; in DoDataIntersection()
170DataFormat->WaveFormatEx.nAvgBytesPerSec = (nBitsPerSample / 8) * nChannels * SampleFrequency; in DoDataIntersection()
171 DataFormat->WaveFormatEx.wBitsPerSample = nBitsPerSample; in DoDataIntersection()
221 PKSDATAFORMAT_WAVEFORMATEX DataFormat; in OpenPin() local
249 DataFormat = (PKSDATAFORMAT_WAVEFORMATEX) (PinConnect + 1); in OpenPin()
252 DataFormat->WaveFormatEx.wFormatTag = WaveFormatEx->wFormatTag; in OpenPin()
253 DataFormat->WaveFormatEx.nChannels = WaveFormatEx->nChannels; in OpenPin()
254 DataFormat->WaveFormatEx.nSamplesPerSec = WaveFormatEx->nSamplesPerSec; in OpenPin()
255 DataFormat->WaveFormatEx.nBlockAlign = WaveFormatEx->nBlockAlign; in OpenPin()
256 DataFormat->WaveFormatEx.nAvgBytesPerSec = WaveFormatEx->nAvgBytesPerSec; in OpenPin()
257 DataFormat->WaveFormatEx.wBitsPerSample = WaveFormatEx->wBitsPerSample; in OpenPin()
258 DataFormat->WaveFormatEx.cbSize = 0; in OpenPin()
259 DataFormat->DataFormat.FormatSize = sizeof(KSDATAFORMAT) + sizeof(WAVEFORMATEX); in OpenPin()
260 DataFormat->DataFormat.Flags = 0; in OpenPin()
261 DataFormat->DataFormat.Reserved = 0; in OpenPin()
262 DataFormat->DataFormat.MajorFormat = KSDATAFORMAT_TYPE_AUDIO; in OpenPin()
264 DataFormat->DataFormat.SubFormat = KSDATAFORMAT_SUBTYPE_PCM; in OpenPin()
265 DataFormat->DataFormat.Specifier = KSDATAFORMAT_SPECIFIER_WAVEFORMATEX; in OpenPin()
266 DataFormat->DataFormat.SampleSize = 4; in OpenPin()