osmocom-bb/src/host
Vadim Yanitskiy 9a330a5ae7 host/mobile: integrate GAPK based audio I/O back-end
This change introduces a new feature of the mobile application -
audio I/O support, which allows one to speak right from PC running
mobile through its ordinary mic and speakers.

The audio I/O is based on GAPK library, which relays on ALSA sound
framework. The API of GAPK implies to use the processing queues
(chains), which basically consist of a source block, several
processing blocks, and a sink block. So, there are two voice
processing chains:

  - 'pq_audio_source' (voice capture -> frame encoding),
  - 'pq_audio_sink' (frame decoding -> voice playback).

Both of them exchange frames from two dedicated buffers:

  - 'tch_fb_ul' - a buffer for to be played DL TCH frames,
  - 'tch_fb_dl' - a buffer for encoded UL TCH frames.

In its turn, both buffers are served by a new gapk_io_dequeue()
function, which is being called within the mobile_work() loop.

Change-Id: Ib86b0746606c191573cc773f01172afbb52f33a9
2018-10-03 18:43:08 +07:00
..
calypso_pll Initial import of OsmocomBB into git repository 2010-02-18 16:46:36 +01:00
fb_tools Drop unused imports from the python utilities. 2012-10-01 03:21:53 +02:00
gprsdecode Import gprsdecode utility from SRLabs 2018-02-06 14:05:17 +07:00
gsmmap gsmmap: Dump SYSTEM INFORMATION messages while processing 2011-07-31 10:48:46 +02:00
layer23 host/mobile: integrate GAPK based audio I/O back-end 2018-10-03 18:43:08 +07:00
osmocon osmoload: Use osmo_sock_unix_init_ofd() from libosmocore 2018-09-06 16:14:47 +02:00
rita_pll add perl scripts to compute MTK RF Transceiver PLL settings 2010-12-11 05:23:58 +01:00
trxcon trxcon/l1ctl.c: fix: add forgotten traffic frame header 2018-10-03 18:43:08 +07:00
virt_phy l1ctl_proto.h: use flexible array member to store a traffic frame 2018-10-03 18:43:08 +07:00