Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AudioRecord: "Overrun user" logs - what do they mean?

I have a simple piece of code that creates an AudioRecord object, then uses it to record to a file. It is pretty standard and seems to work perfectly fine. I am using a Samsung GalaxyS Vibrant running stock Android 2.2.

However, I am getting messages such as these in logcat at different intervals:

04-13 14:03:30.754: V/AudioRecord(4831): Overrun user: 820, server: 1040, flowControlFlag 0
04-13 14:03:30.766: V/AudioRecord(4831): Overrun user: 820, server: 1040, flowControlFlag 1

Does anyone know what these mean? Am I overrunning the internal audio buffer and losing audio frames? It doesn't seem like it from the recorded file, but these intermittent messages are worrying me a bit.

like image 984
Meehow Avatar asked Apr 13 '13 08:04

Meehow


2 Answers

This might be a little late, but this is merely a log message (not specifically Samsung, I've seen it with different makes, models & brands) telling you that you've started recording, but are not reading out the data from the AudioRecord.

Hence the Overrun user, the AudioRecord's buffers are full.

like image 200
ThaMe90 Avatar answered Sep 24 '22 20:09

ThaMe90


it seems this is an internal log used by some samsung devices. So you can not hide them but it is not harmful either. If you dont want to see it you can just filter out this from your logcat

like image 34
stinepike Avatar answered Sep 26 '22 20:09

stinepike