Mechanism for retrieval of previously captured audio
AssigneeApple Inc.
InventorsJeffrey C. Moore, Richard M. Powell, Alexander C. Powers, Anthony J. Guetta
Life of this patent
Estimating the term…
Abstract
In one aspect a device-side audio handling input/output unit (DIO) of a hardware device writes audio data generated by the hardware device within a ring buffer. An input provided by a user for activation of a software program is received, and a notification that the software program is ready to accept the audio data is generated. A system-side audio handling input/output unit (SIO) additionally provides past audio data from the ring buffer to the software program. Other aspects also are described.
Claims14
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 within a ring buffer;
- receiving an input provided by a user for activation of a software program to begin processing audio signals;
- generating a notification when the software program is ready to accept the audio data generated by the hardware device;
- during the generation of the notification providing, by a system-side audio handling input/output unit (SIO), past audio data from the ring buffer to the software program, the past audio data being the audio data of the audio signals received prior to the activation of the software program to begin processing audio signals wherein the SIO provides audio data to the software program starting from a SIO position which is associated with a time that is prior to a time associated with a DIO position within the ring buffer;
- and
- putting, by the SIO, a client thread of the software program to sleep until the time associated with the DIO position is ahead of the time associated with the SIO position by at least a client-side offset.
A computer system, comprising:
- one or more processors;
- and
- a non-transitory computer readable storage medium having instructions stored therein, the instructions, when executed by the one or more processors, cause the computer system to:
- write, by a device-side audio handling input/output unit (DIO) of a hardware device, audio data generated by the hardware device within a ring buffer;
- receive an input provided by a user for activation of a software program to begin processing audio signals;
- generate an audio or visual notification when the software program is ready to accept the audio data;
- provide, by a system-side audio handling input/output unit (SIO), past audio data from the ring buffer to the software program, the past audio data being the audio data of the audio signals received prior to the activation of the software program to begin processing audio signals wherein the SIO provides audio data to the software program starting from a SIO position which is associated with a time that is prior to a time associated with a DIO position within the ring buffer;
- put, by the SIO, a client thread of the software program to sleep until the time associated with the DIO position is ahead of the time associated with the SIO position by at least a client-side offset;
- and
- when the time associated with the DIO position is ahead of the time associated with the SIO position by at least the client-side offset:
- awake, by the SIO, the client thread of the software program;
- and
- provide, by the SIO, the audio data from the ring buffer to the software program.
Dependencies are inferred from the claim text.