×

Mechanism for retrieval of previously captured audio

  • US 10,452,339 B2
  • Filed: 10/16/2015
  • Issued: 10/22/2019
  • Est. Priority Date: 06/05/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method performed by a computer system, comprising:

  • writing, by a device-side audio handling input/output unit (DIO) of a hardware device, audio data generated by the hardware device at a DIO position into a ring buffer;

    receiving, by a system-side audio handling input/output unit (SIO), a request from a software program to consume past audio data from the ring buffer;

    providing, by the SIO, the past audio data from the ring buffer to the software program, starting from an SIO position that is behind the DIO position in the ring buffer;

    putting, by the SIO, a client thread of the software program to sleep until the DIO position is ahead of the SIO position by at least a client-side offset; and

    when the DIO position is ahead of the SIO position by at least the client-side offsetawaking, by the SIO, the client thread of the software program, andproviding, by the SIO, the audio data from the ring buffer to the software program, by starting to provide the audio data from the SIO position within the ring buffer after providing the past audio data and catching up to real-time audio data being written into the ring buffer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×