Skip to content

Log audio queue underflow when compiled for debug#40

Open
jstangroome wants to merge 1 commit intofreeswitch:mainfrom
jstangroome:jason-debug-underflow
Open

Log audio queue underflow when compiled for debug#40
jstangroome wants to merge 1 commit intofreeswitch:mainfrom
jstangroome:jason-debug-underflow

Conversation

@jstangroome
Copy link

I.e. with MOD_UNIMRCP_DEBUG_AUDIO_QUEUE defined.

Otherwise:

  • if the buffer is empty, the read attempt is not logged
  • if the buffer only has enough data for a partial read, the "audio queue read" log reports the modified requested value

…QUEUE defined

Otherwise:
- if the buffer is empty, the read attempt is not logged
- if the buffer only has enough data for a partial read, the "audio queue read" log reports the modified `requested` value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant