E_PENDING always returned upon Reading RRS feed

  • Question

  • So, I'm using the Read method of the Istream interface in the AudioStream object from the kinect.

    HRESULT hr = m_pAudioStream->Read(buffer, 256, &samplesReceived);

    hr is always returned as: E_PENDING, and samples received equals 0

    I'm a little confused. The kinect device does have it's own thread, but the reading, and the buffer itself are in the same thread, so I don't see what could possibly be wrong. Some help?

    Friday, March 11, 2016 11:29 PM