reactos/drivers/wdm/audio/backpln/portcls
Michael Stamper e45bacda07
[PORTCLS] Fix audio stutter with official AC97 driver (#3225)
Replace call to AllocatedBufferSize(), with BufferSize().

Indeed (quoting https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/portcls/nf-portcls-idmachannel-buffersize ):

> The BufferSize() method returns the buffer size that was set by the previous call to IDmaChannel::SetBufferSize(). If SetBufferSize() has not been called since the IDmaChannel::AllocateBuffer() call, BufferSize returns the allocated buffer size. The DMA-channel object does not actually use this value internally. This value is maintained by the object to **allow its various clients to communicate the intended size of the buffer**.

And this is exactly what we want to do.
2020-09-22 15:49:34 +02:00
..
adapter.cpp
api.cpp
CMakeLists.txt [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
connection.cpp
dispatcher.cpp
dll.cpp
dma_slave.cpp [PORTCLS] Zero memory in operator new. CORE-16157 2019-07-05 17:31:46 +02:00
drm.cpp
drm_port.cpp
filter_dmus.cpp
filter_topology.cpp
filter_wavecyclic.cpp
filter_wavepci.cpp
filter_wavert.cpp
guid.cpp
interfaces.hpp
interrupt.cpp
irp.cpp [PORTCLS] Handle failure return from QueryPowerChangeState. CORE-16611 2020-02-08 13:07:34 +01:00
irpstream.cpp
miniport.cpp [PORTCLS] Zero memory in operator new. CORE-16157 2019-07-05 17:31:46 +02:00
miniport_dmus.cpp [STDUNK][PORTCLS][CMIDriver] Fix issue with operator new/delete 2019-06-24 21:17:00 +02:00
miniport_fmsynth.cpp
pin_dmus.cpp
pin_wavecyclic.cpp [PORTCLS] Fix audio stutter with official AC97 driver (#3225) 2020-09-22 15:49:34 +02:00
pin_wavepci.cpp
pin_wavert.cpp [PORTCLS] Stub missing IoControlCode switches (#1756) 2020-03-30 12:58:25 +02:00
pool.cpp
port.cpp
port_dmus.cpp
port_topology.cpp
port_wavecyclic.cpp
port_wavepci.cpp
port_wavert.cpp
port_wavertstream.cpp
portcls.rc
portcls.spec
power.cpp
private.hpp [STDUNK][PORTCLS][CMIDriver] Fix issue with operator new/delete 2019-06-24 21:17:00 +02:00
propertyhandler.cpp
purecall.cpp
registry.cpp
resource.cpp
service_group.cpp
undoc.cpp
unregister.cpp
version.cpp