]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_console: don't read and write at the same time
authorOron Peled <oron.peled@xorcom.com>
Tue, 19 Dec 2017 08:52:54 +0000 (10:52 +0200)
committerJoshua Colp <jcolp@digium.com>
Thu, 8 Feb 2018 12:55:17 +0000 (06:55 -0600)
commitbb5cf86f2baf1a3ae757a65389872e4bfd86df7e
tree426f5a93546c904b844fc9bbd3cf58af8de07a16
parent73a1b160d60413bc4c8b4cbe56b1f6a156480055
chan_console: don't read and write at the same time

It seems that the ALSA backend of PortAudio doesn't know how to both
read and write at the same time by adding a per-device mutex.

FIXME: currently only a draft version. Need to either auto-detect
we work with the ALSA backend or add an extra configuration option
to use this mutex.

ASTERISK-27426 #close

Change-Id: I635eacee45f5413faa18f5a3b606af03b926dacb
channels/chan_console.c