summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2018-06-29Implement ECU (Error Concealment Unit) block for FRVadim Yanitskiy1-0/+6
In I06a21f60db01bfe1c2b838f93866fad1d53fdcd1 the Error Concealment Unit API for FR codec was introduced. This change implements a corresponding block. Note: at the moment, only Full Rate is supported by the ECU API. Change-Id: Ia929ee04f6be3d842c6ef7bc40cce0fdab16e90a
2018-02-02src/Makefile.am: fix osmo-gapk LDADD dependencyVadim Yanitskiy1-1/+1
This change fixes parallel building problem, when osmo-gapk was being compiled before its libosmogapk dependency: make[2]: *** No rule to make target '../src/libosmogapk.la', needed by 'osmo-gapk'. Stop. make[2]: *** Waiting for unfinished jobs.... For some reason, automake ignores a dependency if the full path is provided: $(top_builddir)/src/libosmogapk.la while the relative path solves the problem: libosmogapk.la Closes: OS#2907 Change-Id: I3fdd1731bd372bbb42fe57981e757386e8ede0f0
2017-12-31libosmogapk: rename the 'logging.c' to 'common.c'Vadim Yanitskiy1-2/+2
There are not so much code, related to internal logging subsystem. So, there is no reason to keep a few lines in a dedicated file. In the future one may also be used for other routines.
2017-12-31libosmogapk: use Osmocom logging frameworkVadim Yanitskiy1-0/+5
Since this change, the libosmogapk uses the Osmocom logging framework. By default, logging is disabled and could be enabled by the external applications calling the osmo_gapk_log_init() with a desired log target as an argument.
2017-12-31osmo-gapk: use more convenient name for the source fileVadim Yanitskiy1-1/+1
Since GAPK package contains a library and the representative osmo-gapk application, the 'main.c' looks a bit confusing. Let's use the common naming scheme.
2017-12-31Add the symbol export map for libosmogapkVadim Yanitskiy1-0/+2
2017-12-31Add an 'osmo' prefix to the 'gapk' binaryVadim Yanitskiy1-4/+4
This is a common practice of all Osmocom executables to have an 'osmo' prefix. Let's follow this here too.
2017-12-31Introduce a shared 'libosmogapk' libraryVadim Yanitskiy1-15/+85
The previous GAPK implementation was represented as a single executable. So, all audio transcoding operations were available only by calling the 'gapk' binary. This approach didn't allow external applications to benefit from using GAPK API directly. Since there are some projects (such as GR-GSM and OsmocomBB), which are potential users of GAPK code base, it would be better to have all transcoding functions within a shared library. So, this change separates the common code into a shared library, named 'libosmogapk', and links the 'gapk' binary against one. Currently there are no shared headers, pkg-config manifest and the export map, but they will be done latter.
2017-05-28Add support for RTP with GSM-HR payload according to RFC5993Harald Welte1-1/+1
This is incompatible with the ETSI TS 101 318 format!
2017-05-28Add support for RTP with GSM-HR payload according to ETSI TS 101 318Harald Welte1-1/+3
2017-05-28Add "rtp-efr" format support for RTP payload according to RFC3551 4.5.9Harald Welte1-1/+1
The RTP EFR payload is a bit like the FR payload: one nibble magic marker, then followed by the actual codec bits. So we need to add/remove that magic marker and shift the remainder by one nibble.
2017-05-28Add AMR codec supportHarald Welte1-2/+2
After merging this change, there is support for the AMR codec (by means of libopencore-amr, which is already used for EFR). In terms of gapk formats, we introdude * the "amr-opencore" format, which serves both as the canonical format, and as the input format to opencore-amrnb itself. * the "rtp-amr" format, which is the payload of RFC4867 octet-aligned mode You can use the following command for a real-time RTP playback for AMR frames: ./gapk -I 0.0.0.0/30000 -f rtp-amr -A default -g rawpcm-s16le
2017-05-28Add ALSA input/output support to GAPKHarald Welte1-3/+3
The ALSA source/sink uses the pcm-s16le format.
2014-05-08Add cycle benchmarking supportHarald Welte1-1/+1
This enables benchmarking of the codec. It will print the amount of CPU cycles needed for encoding/decoding a single 20ms frame on average.
2013-06-17build: Use AM_CPPFLAGS in Makefile.amSylvain Munaut1-1/+1
Since automake 1.13 INCLUDES is depricates and causes a warning Inspired from similar patches by Alexander Huemer for other osmocom projects Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-02-11gapk: Add support for RTP input/output streamsHarald Welte1-5/+9
Instead of having only file-based I/O, this enables gapk to receive and send RTP streams, e.g. from live GSM network equipment like sysmoBTS/nanoBTS. Support is currently simplistic. On transmit, there is hard-coded codec type of full-rate GSM. On receive-side, we should auto-detect the format based on frame size and/or payload type, but we don't do that yet at all.
2011-02-25format: Add support for the TI calypso/locosto dumped buffer formatSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-12[4/4] HR support: Add hooks in gapk to use libgsmhr for encoding/decodingSylvain Munaut1-0/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11format: Add support for Raw PCM Signed 16 bits Little EndianSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11procqueue: Add Codec tasksSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11procqueue: Add format conversion tasksSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11procqueue: Add file related tasksSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11procqueue: Add some mechanism to queue 'processing items' on the framesSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11codec/efr: Add support for encoding/decoding using OpenCore AMR NBSylvain Munaut1-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11codec/fr: Add support for encoding/decoding using libgsmSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11format: Add support for .amr files encapsulating EFR dataSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-11format: Add support for the file read/written by the Racal 6103E ms test setSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-05format: Add support for the 3GPP HR reference vocoder file/frame formatsSylvain Munaut1-1/+1
Yes ... they use a different format for the decoder input than for the encoder output ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-05format: Add support for classic .gsm file/frame formatSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-05format: Add initial format frameworkSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-10-29Add dependency to libosmocodec (part of libosmocore)Sylvain Munaut1-1/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-10-29codec: Add preliminary codecs definitions for HR/FR/EFRSylvain Munaut1-1/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-10-24Initial skeleton importSylvain Munaut1-0/+5
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>