发明名称 SYSTEM FOR REAL TIME AUDIO PROCESSING DRIVEN BY INTERRUPT AND TIMER EVENT
摘要 Provided are methods and systems for processing audio using a combination of interrupts and timer events. Buffer queues and timer events are configured and utilized between audio capture and encoding processes, and also between audio decoding and playout processes to deliver a fixed-rate audio packet and higher quality audio output. Thread execution priorities may be assigned to the capture and/or playout timer events, and such priorities may be automatically adjusted to conserve processing resources. By configuring timer events to drive audio encoding and decoding processes, and utilizing buffer queues to absorb variances in the timing of audio capture and playout interrupts, the methods and systems provided are able to deliver improved audio quality while conserving processing resources.
申请公布号 US2015199971(A1) 申请公布日期 2015.07.16
申请号 US201313733728 申请日期 2013.01.03
申请人 WANG Zhonglei 发明人 WANG Zhonglei
分类号 G10L19/008 主分类号 G10L19/008
代理机构 代理人
主权项 1. A computer-implemented method for processing audio data, the method comprising: generating a capture interrupt event; in response to the capture interrupt event, copying audio data input from a capture device into an audio buffer; in response to a timer event, calculating a size of the audio buffer storing the audio data input from the capture device; comparing the size of the audio buffer with a detected latency of an operating system; and assigning a thread priority for encoding the audio data stored in the audio buffer based on the comparison of the size of the audio buffer with the detected latency of the operating system.
地址 Mountain View CA US