[wdmaudiodev] Return value for IMiniportWaveRTStream::AllocateAudioBuffer method

  • From: Surabhi Ghaisas <ghaisas.surabhi@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 18 Dec 2014 11:00:03 +0530


In case we can't allocate the requested buffer size in AllocateAudioBuffer
method as per the call description we are allocating smaller buffer and
returning it in requested size. However we are not getting next calls for
stream as expected.

Currently on allocating smaller buffer we are returning STATUS_SUCCESS from
AllocateAudioBuffer. Do we need to return some other value if the allocated
size is smaller than requested size?


Other related posts: