This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GSM Audio Pocket Knife".
The branch, fixeria/lib has been updated
discards 3cf11d824385e06a96b318766d7e6708e49b3215 (commit)
discards f7d53964d372a64ccbad419cedf33c360442a28f (commit)
discards c24199263f070fe68b778cab82bb93327b0f07c1 (commit)
discards 8e3d622262859145d6e8bc8ab4083ef97728a8f2 (commit)
discards 2f5c8ae7ec445a5c327a584bffc4b17b53d7f7c0 (commit)
discards 0f08d56e36bbd998a5bd10ec17f2001f03fb584c (commit)
discards e8b882412b035637bec7edbd8b885c026e4f7040 (commit)
discards b755032efda89dc2d16356dbaec3f9cdfded4354 (commit)
discards 46df43543a9ea12acd0d0bf88a6e50aad7f14201 (commit)
discards bf64774bc79bd728e802d6366a95341ebe13fbca (commit)
discards f012219d97af791e800850b25237274851bdae0b (commit)
discards f269356136d580d8175657cb68dc05a9c709f5a5 (commit)
discards 8bf80936be6daa963cc99f92b7318066fd9bc9eb (commit)
discards 41d428bf6435e9aa12ba185acc7339985d6bd52c (commit)
discards b846b9a8eda3ae9b16e6d1a26357d64337336745 (commit)
discards 080b912d99c92188fc7be75e3b24126da67d64dc (commit)
discards a2a6317a963e0e55b760368f51c66a8e667b92f0 (commit)
discards 4a77ee720a79e5e8f1e7b9e975d27c19c094b316 (commit)
discards 7f1aa98a8f2da8dbe13507f763274b41824e477d (commit)
discards 17b5ba93109743664d17df7bd89e1f44544b3fa3 (commit)
discards 15fa605576a81803c57a144231e9e9720aa133a1 (commit)
discards a9f3a4fb5ac57fb50898eec8a61333bc034c087d (commit)
discards 27cc5fbbcb2b5649c9bca452e8a00335d9a278a7 (commit)
discards 01edb56d7bb082ecc187254c2f0a54178dd9ff3f (commit)
discards 8923276018b9a8d5ebafa2e18676fe6b8cef26a4 (commit)
discards 3e8cfdea6a2e1da03b6601c96b87d2a5683c73c6 (commit)
discards 0d177795d1ffe70d926281034116d73199265202 (commit)
discards 3d5a901ffe24ab38a2050afca7a146d840a1f303 (commit)
discards caeee8214084f8949e855780ce1cbfd42a514e78 (commit)
discards 1e220b9f3c2a0d9a1a6ea39d0972a207a51168bd (commit)
discards d02ada5c46a8938f5d9fd09e255dc6501937785d (commit)
discards d8bdf47aaffb768c26b89511d1af7bce616543d2 (commit)
discards 6e0fe0e103612e01817dba857f5077adeb87ea84 (commit)
discards a3b4fb8be1bb9316443dedab0dcf9079328f13a6 (commit)
discards cd2da365a81999db5a092b6bfb984d57b471883e (commit)
discards 903f14cdf48faa61996b22b68361c511c920b3b9 (commit)
discards 0d97f46b8757e0947304d88777706bd9a98a4c69 (commit)
discards 6683ef0a17dda6eb50aaeede8805936c751ec4a5 (commit)
discards f72d01558f16717d49380428310d1a269f8540c6 (commit)
discards ea53827e34b3d223c053289f7ef39f3105712a18 (commit)
discards 36e92c49c510711bd7e88beb2935a2a298def9fe (commit)
discards 43f74129c6ed128de8235aed1ce7d0f285193206 (commit)
discards f4650d455bde1cd7a489123db3ebfbf2dc860b8e (commit)
discards 6028be8e8655d8eabc1929ff0753114814f5dacd (commit)
discards 4922c8376713196d909cb7b6d204cb10664116c2 (commit)
discards 617daf02012a4e4d1a104d52f2517ad81b72dd54 (commit)
discards e7959b00f6f21f371b24cd1960b36aacd34bdeb7 (commit)
discards e6986f70c5f609692c7067a758233e2d8327de6b (commit)
discards a03ac4573a2c00a6b2937c42503b6c7206480662 (commit)
discards 5fb1965cacb7a3aaf269dbb8e0238721a7d44c05 (commit)
via f59f3f1ba8bc1cdf7c406867e3611f810ddc28c7 (commit)
via 10076f0acce2274fdb363cd69ee83becdef6d6c8 (commit)
via 9d2b15dc8a97ceefc5cd2e95a885bd306ec992be (commit)
via 3e9e57fb400218a74c44f9e3ffb70cf5291410a4 (commit)
via 1fe6a9b9ed92da4845f8c8cef10372a3e711a8ca (commit)
via f069eb37fe48df4e6897d0614e008b676e06db8e (commit)
via f496a998e520c3ab99d09cf279e64b0b9e52318e (commit)
via fb2326fbcf12abc47e3f24f6c2051e71d013705e (commit)
via 7279d9f05777855a0dc2873038bdb13557d174a3 (commit)
via 9e7e88927851fd6b2fa42d0a187bd7e65ccaccf1 (commit)
via 3839a88ea681024752048c902b23144c42f4fa42 (commit)
via 459791c488c6b66a5cd0d7cff9392a7a0b8ca733 (commit)
via 408be3638b3cd84462632ae8fe0b92e93064ca57 (commit)
via 2286a36ace915864bce935f49374f12cb9384e5d (commit)
via 262ae0f98f21e91ff21f2082892f75a778d077a5 (commit)
via 5cabe1eeec55421954c052951a3dba00018af7cf (commit)
via f23b74736458d2415dd1dfec0559af44e6353574 (commit)
via 750c896b4a9e619bbc6f712f82b8d602a1750f96 (commit)
via 14637746d3f5a45fba4987d9892c50ca07434fd6 (commit)
via 3c20dac38c774afe2dfb769451a1d987c21f9c65 (commit)
via a4d88ae13bc60e3f6269334d633495668af0c640 (commit)
via 6831ebd958d2d1a66689e8adf9fc6f1d753c1544 (commit)
via 01f5c5bebf4b1a8415a9837a42b018b3c1932d0b (commit)
via a183ced71eb78c27123d29ea3e9bbc646bcd4fdc (commit)
via 1f6f807bb35228f7d6f50cf61283b9ceb8f46eee (commit)
via b40a54dc97e28e31e4a9be8a3aa634eaafb219d5 (commit)
via 11943bf320ca5ed3e9efd099d27c3ed3b3631832 (commit)
via 0fe18af82d1bb1672ccec49f7b75a4c710d48d42 (commit)
via 4b7cd2c6772a43b3057368ca452be65691826aa5 (commit)
via c35ba8a725405f7712618871c56a3b7fb3933e2a (commit)
via f8d91a07b45a618fd25c9d6edcf28218642044c9 (commit)
via 4ffd6f20a9b7604308506d9e04ef1bb2e41cd282 (commit)
via 5716ca636d8638060e525f428a497ddee18b4072 (commit)
via 539af39e29726fc196e874b5d9cd6ec619dc5f3c (commit)
via 1cf7f34444b3d8b44122a57d2bed7542b8c3b7f2 (commit)
via 304fa73421a7c6ca5dcf36145f40c77af7df1de7 (commit)
via 3be9c7ae3c22f3e91c4e54b57a07b722dd4fb73f (commit)
via 4f0a47d0e35ece9ca46bb62294357d89920d06aa (commit)
via cda8995ac8a17cc1d579f73519fd5b0f2429675a (commit)
via 72218e7da04783222f04492d939268ac40585027 (commit)
via c9a75e59c67d62bc9d64c8c110ef47feb60e7ebf (commit)
via ba46856bb403a507977e4c699c90714c962463f9 (commit)
via 349219c14875705b8142d599f6af153d22a9a00e (commit)
via a8d46571cebb7f14501fa7bcf3c2eb86c473d8b2 (commit)
via 9cba760ba2ca5fd73e34f91bf388fc255dbcd335 (commit)
via 40d59f14a240e943205fafe7d2449b286d3b4913 (commit)
via 5f941573b0040c1b27014b4756155c86fe896b9f (commit)
via 30209cedddb3b6ece5614b40f65f6a04e84388b4 (commit)
via 48206ad2e07216e01c9870b606aee442b3d7ec0e (commit)
via 95e666404e1e31dfb95d7dc8b00c1b0be88659b3 (commit)
via 45d0fd66c3aceebcd1dc30ae2cffb33f5c65fe8e (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (3cf11d824385e06a96b318766d7e6708e49b3215)
\
N -- N -- N (f59f3f1ba8bc1cdf7c406867e3611f810ddc28c7)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/gapk/commit/?id=f59f3f1ba8bc1cdf7c406867e3611f810dd…
commit f59f3f1ba8bc1cdf7c406867e3611f810ddc28c7
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 15 19:34:44 2017 +0430
tests: add format / codec transcoding tests
This test group is intended to check the format / codec transcoding
capabilities of the library. The reference files are used to ensure
that encoding or decoding was successful.
The following formats are currently being tested:
- amr_efr
- gsm
- racal_hr
- racal_fr
- racal_efr
- ti_hr
- ti_fr
- ti_efr
- rtp_efr
- rtp_hr_etsi
- rtp_hr_ietf
http://cgit.osmocom.org/gapk/commit/?id=10076f0acce2274fdb363cd69ee83becdef…
commit 10076f0acce2274fdb363cd69ee83becdef6d6c8
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 15 19:17:21 2017 +0430
osmo-gapk: fix I/O count check condition
The stdin / stdout operation was broken by a new check condition,
introduced by the 15fa605576a81803c57a144231e9e9720aa133a1.
http://cgit.osmocom.org/gapk/commit/?id=9d2b15dc8a97ceefc5cd2e95a885bd306ec…
commit 9d2b15dc8a97ceefc5cd2e95a885bd306ec992be
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 14 15:20:50 2017 +0430
tests: add pq_rtp test
This test is intended to check the RTP source / sink operability.
To do this, two processing queues are being allocated:
"generator": source/random -> sink/rtp
"checker": source/rtp -> sink/checker
The first one generates some amount of random bytes (payload),
and stores them inside a buffer that is shared between both
queues.
After generation, a payload is being sent from the first
queue via an RTP sink, and then being received by the second
via an RTP source.
As both queues do use a shared buffer, the last item of the
second queue (named 'sink/checker') is able to compare a
received payload with expected.
http://cgit.osmocom.org/gapk/commit/?id=3e9e57fb400218a74c44f9e3ffb70cf5291…
commit 3e9e57fb400218a74c44f9e3ffb70cf5291410a4
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 19:07:52 2017 +0300
tests: add pq_file test
This test is intended to check the file source / sink
operability. To do that, the following processing chain
is being composed:
source/file -> proc/dummy -> sink/file (stdout)
The source item opens the sample file named 'io_sample.txt'
for reading. The next processing item simply converts all
uppercase latters to the lowercase. The last one writes
the result to stdout.
This processing cycle is being repeated several times
with different block length values.
http://cgit.osmocom.org/gapk/commit/?id=1fe6a9b9ed92da4845f8c8cef10372a3e71…
commit 1fe6a9b9ed92da4845f8c8cef10372a3e711a8ca
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 15:32:52 2017 +0300
tests: add procqueue test
This test is intended to validate the processing queue
management API. Moreover, the talloc debugging API is
used to ensure that there are no memory leaks.
First, four processing queues are being allocated. One
of them is empty, while others have different count of
items. Then the human-readable description is being
generated for all of them. And finally, the processing
and exit cllback are being tested.
During the test execution, the talloc NULL-context
tracking feature is enabled, allowing to observe every
memory allocation within the libosmogapk, and to detect
memory leaks.
http://cgit.osmocom.org/gapk/commit/?id=f069eb37fe48df4e6897d0614e008b676e0…
commit f069eb37fe48df4e6897d0614e008b676e06db8e
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 15:26:31 2017 +0300
Init automake test environment
http://cgit.osmocom.org/gapk/commit/?id=f496a998e520c3ab99d09cf279e64b0b9e5…
commit f496a998e520c3ab99d09cf279e64b0b9e52318e
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 01:30:48 2017 +0300
procqueue: allocate an output buffer as named chunk
The talloc_size() call sets the current file name and the current
line number as name for chunk being allocated. This combination
is not so informative during debugging, so let's use the static
'.buffer' string as context name for item's output buffer.
http://cgit.osmocom.org/gapk/commit/?id=fb2326fbcf12abc47e3f24f6c2051e71d01…
commit fb2326fbcf12abc47e3f24f6c2051e71d013705e
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 01:17:26 2017 +0300
procqueue: set talloc name and context for queue description
Previously a queue description string was allocated without
setting proper parental talloc context and proper name.
http://cgit.osmocom.org/gapk/commit/?id=7279d9f05777855a0dc2873038bdb13557d…
commit 7279d9f05777855a0dc2873038bdb13557d174a3
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sun Sep 10 16:32:48 2017 +0300
src/libosmogapk.map: export osmo_gapk_* with a wilcard
http://cgit.osmocom.org/gapk/commit/?id=9e7e88927851fd6b2fa42d0a187bd7e65cc…
commit 9e7e88927851fd6b2fa42d0a187bd7e65ccaccf1
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sun Sep 10 16:27:04 2017 +0300
procqueue: use queue / item names in logging
http://cgit.osmocom.org/gapk/commit/?id=3839a88ea681024752048c902b23144c42f…
commit 3839a88ea681024752048c902b23144c42f4fa42
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sun Sep 10 16:00:43 2017 +0300
procqueue: separate queue check function
In order to give advanced control over a processing queue,
it would be better to have the checking function separated from
the osmo_gapk_pq_prepare(). Moreover, this change introduces an
additional 'strict' checking mode that requires a queue to have
a source item first and a sink item in the last position.
http://cgit.osmocom.org/gapk/commit/?id=459791c488c6b66a5cd0d7cff9392a7a0b8…
commit 459791c488c6b66a5cd0d7cff9392a7a0b8ca733
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 21:44:16 2017 +0300
procqueue: add item catedory and sub-category fields
This change adds two meta-information fields to the processing
queue item structure. Both of them will be used for more
detailed logging and for the human-readable processing
queue description.
http://cgit.osmocom.org/gapk/commit/?id=408be3638b3cd84462632ae8fe0b92e9306…
commit 408be3638b3cd84462632ae8fe0b92e93064ca57
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 20:57:13 2017 +0300
procqueue: add item type enum (source, sink, proc)
There are currently three types of prcessing queue items:
- source (file, alsa, rtp)
- proc (format, codec)
- sink (file, alsa, rtp)
Let's assign corresponding type for each item.
This would facilitate logging and the queue checking.
http://cgit.osmocom.org/gapk/commit/?id=2286a36ace915864bce935f49374f12cb93…
commit 2286a36ace915864bce935f49374f12cb9384e5d
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 20:43:28 2017 +0300
procqueue: add human-readable name to osmo_gapk_pq
Since this change, every processing queue may optionally have
an associated human-readable name. If name is not required,
NULL should be passed to the osmo_gapk_pq_create().
http://cgit.osmocom.org/gapk/commit/?id=262ae0f98f21e91ff21f2082892f75a778d…
commit 262ae0f98f21e91ff21f2082892f75a778d077a5
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 14:48:49 2017 +0300
libosmogapk: drop an 'osmo' prefix from internal log variables
It would be better to have an 'osmo_gapk' prefix for exposed
symbols only. Both internal logging variables aren't exposed,
so they shouldn't have one.
http://cgit.osmocom.org/gapk/commit/?id=5cabe1eeec55421954c052951a3dba00018…
commit 5cabe1eeec55421954c052951a3dba00018af7cf
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 14:44:24 2017 +0300
osmo-gapk: use talloc for memory management
http://cgit.osmocom.org/gapk/commit/?id=f23b74736458d2415dd1dfec0559af44e63…
commit f23b74736458d2415dd1dfec0559af44e6353574
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 14:23:56 2017 +0300
libosmogapk: introduce the internal root talloc context
In order to simplify memory leak debugging, this change introduces
the library's internal talloc context that may be changed by
external application by calling the osmo_gapk_set_talloc_ctx().
http://cgit.osmocom.org/gapk/commit/?id=750c896b4a9e619bbc6f712f82b8d602a17…
commit 750c896b4a9e619bbc6f712f82b8d602a1750f96
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 14:09:55 2017 +0300
libosmogapk: rename the 'logging.c' to 'common.c'
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.
http://cgit.osmocom.org/gapk/commit/?id=14637746d3f5a45fba4987d9892c50ca074…
commit 14637746d3f5a45fba4987d9892c50ca07434fd6
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 13:48:38 2017 +0300
libosmogapk: fix memory leak in both AMR and EFR codecs
The memory, allocated by codec_efr_init() / codec_amr_init(),
was not cleaned after calling the codec_exit(). Found using
talloc memory debugging API.
http://cgit.osmocom.org/gapk/commit/?id=3c20dac38c774afe2dfb769451a1d987c21…
commit 3c20dac38c774afe2dfb769451a1d987c21f9c65
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 12:10:08 2017 +0300
libosmogapk: use talloc for memory management
http://cgit.osmocom.org/gapk/commit/?id=a4d88ae13bc60e3f6269334d633495668af…
commit a4d88ae13bc60e3f6269334d633495668af0c640
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 8 11:13:49 2017 +0300
osmo-gapk: fix I/O combinations check
Previously both ALSA source and sink were out of attention.
http://cgit.osmocom.org/gapk/commit/?id=6831ebd958d2d1a66689e8adf9fc6f1d753…
commit 6831ebd958d2d1a66689e8adf9fc6f1d753c1544
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 8 10:55:05 2017 +0300
configure.ac: use actual bug report address in AC_INIT
http://cgit.osmocom.org/gapk/commit/?id=01f5c5bebf4b1a8415a9837a42b018b3c19…
commit 01f5c5bebf4b1a8415a9837a42b018b3c1932d0b
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 8 00:05:02 2017 +0300
osmo-gapk: wait until sink finish processing
Previously the osmo-gapk application used to exit as soon as all
the frames are processed, no matter has the sink finished its
internal processing (e.g. ALSA playback).
http://cgit.osmocom.org/gapk/commit/?id=a183ced71eb78c27123d29ea3e9bbc646bc…
commit a183ced71eb78c27123d29ea3e9bbc646bcd4fdc
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 8 00:02:20 2017 +0300
src/pq_alsa.c: implement processing state callback
Using the snd_pcm_avail_update() call from ALSA API it's possible
to know, how much samples are still to be processed.
http://cgit.osmocom.org/gapk/commit/?id=1f6f807bb35228f7d6f50cf61283b9ceb8f…
commit 1f6f807bb35228f7d6f50cf61283b9ceb8f46eee
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 18:42:49 2017 +0300
procqueue: add processing state callback
In some cases it's required to wait for some queue items
to finish processing. For example, the ALSA sink writes the
audio samples to the buffer in non-blocking mode, so as soon
as all of them will be written, a program may finish execution,
causing the playback abort.
To prevent that, this change extends the library's API, allowing
each queue item to have a processing state callback that returns
a positive integer if processing is not finished yet,
and 0 otherwise.
http://cgit.osmocom.org/gapk/commit/?id=b40a54dc97e28e31e4a9be8a3aa634eaafb…
commit b40a54dc97e28e31e4a9be8a3aa634eaafb219d5
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 17:51:35 2017 +0300
osmo-gapk: abort the processing queue on SIGINT
Instead of immediately shutting down the application, it is
better to try to break the processing queue first, and stop
the execution immediately if second SIGINT is received.
http://cgit.osmocom.org/gapk/commit/?id=11943bf320ca5ed3e9efd099d27c3ed3b36…
commit 11943bf320ca5ed3e9efd099d27c3ed3b3631832
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 17:39:24 2017 +0300
osmo-gapk: adjust application verbosity
This change allows user to enable advanced verbosity using the
'-v' command line option, which is disabled by default.
http://cgit.osmocom.org/gapk/commit/?id=0fe18af82d1bb1672ccec49f7b75a4c710d…
commit 0fe18af82d1bb1672ccec49f7b75a4c710d48d42
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 17:10:14 2017 +0300
osmo-gapk: use Osmocom logging framework
http://cgit.osmocom.org/gapk/commit/?id=4b7cd2c6772a43b3057368ca452be656918…
commit 4b7cd2c6772a43b3057368ca452be65691826aa5
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 16:48:27 2017 +0300
osmo-gapk: drop useless printf calls
The printf() writes the text into stdout, which may be undesirable
in some use cases. Moreover, the printed information was redundant.
So, let's drop such calls.
http://cgit.osmocom.org/gapk/commit/?id=c35ba8a725405f7712618871c56a3b7fb39…
commit c35ba8a725405f7712618871c56a3b7fb3933e2a
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 16:36:56 2017 +0300
libosmogapk: use Osmocom logging framework
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.
http://cgit.osmocom.org/gapk/commit/?id=f8d91a07b45a618fd25c9d6edcf28218642…
commit f8d91a07b45a618fd25c9d6edcf28218642044c9
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 00:04:01 2017 +0300
osmo-gapk: use more convenient name for the source file
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.
http://cgit.osmocom.org/gapk/commit/?id=4ffd6f20a9b7604308506d9e04ef1bb2e41…
commit 4ffd6f20a9b7604308506d9e04ef1bb2e41cd282
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Sep 6 23:53:30 2017 +0300
osmo-gapk: create a common shutdown function
Previously the code intended to shutdown the osmo-gapk application
was repeated two times. It's better to have a single function.
http://cgit.osmocom.org/gapk/commit/?id=5716ca636d8638060e525f428a497ddee18…
commit 5716ca636d8638060e525f428a497ddee18b4072
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Sep 6 23:42:19 2017 +0300
osmo-gapk: add an option to enable / disable benchmark
If the codec benchmarking is required in particular case, it
could be activated by a special command line option introduced
by this change.
http://cgit.osmocom.org/gapk/commit/?id=539af39e29726fc196e874b5d9cd6ec619d…
commit 539af39e29726fc196e874b5d9cd6ec619dc5f3c
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 1 16:19:40 2017 +0700
procqueue: use linuxlist to store queue items
The usage of linuxlist is more flexible than having a limited
array of pointers. This approach allows to have as much items
in a processing queue as required.
http://cgit.osmocom.org/gapk/commit/?id=1cf7f34444b3d8b44122a57d2bed7542b8c…
commit 1cf7f34444b3d8b44122a57d2bed7542b8c3b7f2
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 1 15:22:32 2017 +0700
procqueue: use uint8_t as output buffer type
http://cgit.osmocom.org/gapk/commit/?id=304fa73421a7c6ca5dcf36145f40c77af7d…
commit 304fa73421a7c6ca5dcf36145f40c77af7df1de7
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 1 15:15:45 2017 +0700
procqueue: store output buffers inside queue items
An output buffer belongs to its queue item, so it will be more
correctly to store its pointer inside the osmo_gapk_pq_item.
http://cgit.osmocom.org/gapk/commit/?id=3be9c7ae3c22f3e91c4e54b57a07b722dd4…
commit 3be9c7ae3c22f3e91c4e54b57a07b722dd4fb73f
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 1 14:33:19 2017 +0700
procqueue: use unsigned int for I/O frame size fields
A frame size cannot be negative, so 'unsigned' is more
suitable for frame size fields.
http://cgit.osmocom.org/gapk/commit/?id=4f0a47d0e35ece9ca46bb62294357d89920…
commit 4f0a47d0e35ece9ca46bb62294357d89920d06aa
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 17:49:36 2017 +0700
Add the symbol export map for libosmogapk
http://cgit.osmocom.org/gapk/commit/?id=cda8995ac8a17cc1d579f73519fd5b0f242…
commit cda8995ac8a17cc1d579f73519fd5b0f2429675a
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 04:18:06 2017 +0700
benchmark: add functions to get cycle and frame count
To simplify the benchrarking process via the library API, this
change introduces two new functions, which are intended to
provide total cycle and frame count.
http://cgit.osmocom.org/gapk/commit/?id=72218e7da04783222f04492d939268ac405…
commit 72218e7da04783222f04492d939268ac40585027
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 03:33:48 2017 +0700
benchmark: allocate memory dynamically
Having statically allocated memory for benchmark data of every
codec causes high memory usage, especially if actual benchmarking
is not required for a particular use case. Instead of that, let's
provide an optional opportunity to enable benchmarking for a
particular codec by calling the osmo_gapk_bench_enable(). The
required amount of memory would be allocated, and then can be
freed by calling the osmo_gapk_bench_free() or manually.
http://cgit.osmocom.org/gapk/commit/?id=c9a75e59c67d62bc9d64c8c110ef47feb60…
commit c9a75e59c67d62bc9d64c8c110ef47feb60e7ebf
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 03:03:32 2017 +0700
benchmark: get rid of 'static inline' definition
The usage of a 'static inline' function definition in the 'bench.h'
is resulting in separate independent function definitions in each
translation unit from which the header is included. This is
increasing the size of compiled code unnecessarily.
http://cgit.osmocom.org/gapk/commit/?id=ba46856bb403a507977e4c699c90714c962…
commit ba46856bb403a507977e4c699c90714c962463f9
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 02:23:18 2017 +0700
benchmark: move benchmark impl to a private header
There is no need to expose the implementation details of both
BENCHMARK_START and BENCHMARK_STOP macros via public header.
This change moves them to a separate private header 'bench.h'.
http://cgit.osmocom.org/gapk/commit/?id=349219c14875705b8142d599f6af153d22a…
commit 349219c14875705b8142d599f6af153d22a9a00e
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 00:42:38 2017 +0700
benchmark: move benchmark_dump() outside the library
The benchmark_dump() is only used by the osmo-gapk binary, and
is intended to prepare and print benchmarking results to stderr,
what is most likely unusable for the library users.
http://cgit.osmocom.org/gapk/commit/?id=a8d46571cebb7f14501fa7bcf3c2eb86c47…
commit a8d46571cebb7f14501fa7bcf3c2eb86c473d8b2
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 17:22:56 2017 +0700
Add an 'osmo_gapk' prefix to the exposed symbols
To avoid a naming conflict between libosmogapk and other projects
during linkage, all the exposed symbols should have an unique
prefix. Let's use 'osmo_gapk' for that.
http://cgit.osmocom.org/gapk/commit/?id=9cba760ba2ca5fd73e34f91bf388fc255db…
commit 9cba760ba2ca5fd73e34f91bf388fc255dbcd335
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 02:31:18 2017 +0700
procqueue: expose the processing queue struct definition
To be able to use processing queues from outside, the pq struct
should be shared in the corresponding header file.
http://cgit.osmocom.org/gapk/commit/?id=40d59f14a240e943205fafe7d2449b286d3…
commit 40d59f14a240e943205fafe7d2449b286d3b4913
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 01:41:26 2017 +0700
Add a pkg-config manifest for libosmogapk
In order to make pkg-config 'see' the libosmogapk, a corresponding
package description is required. For more details, see:
https://autotools.io/pkgconfig/file-format.htmlhttp://cgit.osmocom.org/gapk/commit/?id=5f941573b0040c1b27014b4756155c86fe8…
commit 5f941573b0040c1b27014b4756155c86fe896b9f
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 01:20:18 2017 +0700
Use '#pragma once' instead of include guard
The most compilers today do support the '#pragma once', which is
designed to cause the current source file to be included only once
in a single compilation. One has several advantages, including:
less code, avoidance of name clashes, and sometimes improvement
in compilation speed.
See: https://en.wikipedia.org/wiki/Pragma_once for details.
http://cgit.osmocom.org/gapk/commit/?id=30209cedddb3b6ece5614b40f65f6a04e84…
commit 30209cedddb3b6ece5614b40f65f6a04e84388b4
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Aug 30 20:26:02 2017 +0700
Install GAPK headers to '${includedir}/osmocom/gapk/'
To be able to use the library, external applications need to know,
which symbols are exposed. This information is provided by header
files, which are being installed to a system's ${includedir}
since this change.
http://cgit.osmocom.org/gapk/commit/?id=48206ad2e07216e01c9870b606aee442b3d…
commit 48206ad2e07216e01c9870b606aee442b3d7ec0e
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Aug 30 19:35:51 2017 +0700
Add an 'osmo' prefix to the 'gapk' binary
This is a common practice of all Osmocom executables
to have an 'osmo' prefix. Let's follow this here too.
http://cgit.osmocom.org/gapk/commit/?id=95e666404e1e31dfb95d7dc8b00c1b0be88…
commit 95e666404e1e31dfb95d7dc8b00c1b0be88659b3
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Aug 30 19:03:49 2017 +0700
Introduce a shared 'libosmogapk' library
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.
-----------------------------------------------------------------------
Summary of changes:
.gitreview | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 .gitreview
hooks/post-receive
--
GSM Audio Pocket Knife
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GSM Audio Pocket Knife".
The branch, fixeria/lib has been created
at 3cf11d824385e06a96b318766d7e6708e49b3215 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/gapk/commit/?id=3cf11d824385e06a96b318766d7e6708e49…
commit 3cf11d824385e06a96b318766d7e6708e49b3215
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 15 19:34:44 2017 +0430
tests: add format / codec transcoding tests
This test group is intended to check the format / codec transcoding
capabilities of the library. The reference files are used to ensure
that encoding or decoding was successful.
The following formats are currently being tested:
- amr_efr
- gsm
- racal_hr
- racal_fr
- racal_efr
- ti_hr
- ti_fr
- ti_efr
- rtp_efr
- rtp_hr_etsi
- rtp_hr_ietf
http://cgit.osmocom.org/gapk/commit/?id=f7d53964d372a64ccbad419cedf33c36044…
commit f7d53964d372a64ccbad419cedf33c360442a28f
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 15 19:17:21 2017 +0430
osmo-gapk: fix I/O count check condition
The stdin / stdout operation was broken by a new check condition,
introduced by the 15fa605576a81803c57a144231e9e9720aa133a1.
http://cgit.osmocom.org/gapk/commit/?id=c24199263f070fe68b778cab82bb93327b0…
commit c24199263f070fe68b778cab82bb93327b0f07c1
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 14 15:20:50 2017 +0430
tests: add pq_rtp test
This test is intended to check the RTP source / sink operability.
To do this, two processing queues are being allocated:
"generator": source/random -> sink/rtp
"checker": source/rtp -> sink/checker
The first one generates some amount of random bytes (payload),
and stores them inside a buffer that is shared between both
queues.
After generation, a payload is being sent from the first
queue via an RTP sink, and then being received by the second
via an RTP source.
As both queues do use a shared buffer, the last item of the
second queue (named 'sink/checker') is able to compare a
received payload with expected.
http://cgit.osmocom.org/gapk/commit/?id=8e3d622262859145d6e8bc8ab4083ef9772…
commit 8e3d622262859145d6e8bc8ab4083ef97728a8f2
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 19:07:52 2017 +0300
tests: add pq_file test
This test is intended to check the file source / sink
operability. To do that, the following processing chain
is being composed:
source/file -> proc/dummy -> sink/file (stdout)
The source item opens the sample file named 'io_sample.txt'
for reading. The next processing item simply converts all
uppercase latters to the lowercase. The last one writes
the result to stdout.
This processing cycle is being repeated several times
with different block length values.
http://cgit.osmocom.org/gapk/commit/?id=2f5c8ae7ec445a5c327a584bffc4b17b53d…
commit 2f5c8ae7ec445a5c327a584bffc4b17b53d7f7c0
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 15:32:52 2017 +0300
tests: add procqueue test
This test is intended to validate the processing queue
management API. Moreover, the talloc debugging API is
used to ensure that there are no memory leaks.
First, four processing queues are being allocated. One
of them is empty, while others have different count of
items. Then the human-readable description is being
generated for all of them. And finally, the processing
and exit cllback are being tested.
During the test execution, the talloc NULL-context
tracking feature is enabled, allowing to observe every
memory allocation within the libosmogapk, and to detect
memory leaks.
http://cgit.osmocom.org/gapk/commit/?id=0f08d56e36bbd998a5bd10ec17f2001f03f…
commit 0f08d56e36bbd998a5bd10ec17f2001f03fb584c
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 15:26:31 2017 +0300
Init automake test environment
http://cgit.osmocom.org/gapk/commit/?id=e8b882412b035637bec7edbd8b885c026e4…
commit e8b882412b035637bec7edbd8b885c026e4f7040
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 01:30:48 2017 +0300
procqueue: allocate an output buffer as named chunk
The talloc_size() call sets the current file name and the current
line number as name for chunk being allocated. This combination
is not so informative during debugging, so let's use the static
'.buffer' string as context name for item's output buffer.
http://cgit.osmocom.org/gapk/commit/?id=b755032efda89dc2d16356dbaec3f9cdfde…
commit b755032efda89dc2d16356dbaec3f9cdfded4354
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Tue Sep 12 01:17:26 2017 +0300
procqueue: set talloc name and context for queue description
Previously a queue description string was allocated without
setting proper parental talloc context and proper name.
http://cgit.osmocom.org/gapk/commit/?id=46df43543a9ea12acd0d0bf88a6e50aad7f…
commit 46df43543a9ea12acd0d0bf88a6e50aad7f14201
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sun Sep 10 16:32:48 2017 +0300
src/libosmogapk.map: export osmo_gapk_* with a wilcard
http://cgit.osmocom.org/gapk/commit/?id=bf64774bc79bd728e802d6366a95341ebe1…
commit bf64774bc79bd728e802d6366a95341ebe13fbca
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sun Sep 10 16:27:04 2017 +0300
procqueue: use queue / item names in logging
http://cgit.osmocom.org/gapk/commit/?id=f012219d97af791e800850b25237274851b…
commit f012219d97af791e800850b25237274851bdae0b
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sun Sep 10 16:00:43 2017 +0300
procqueue: separate queue check function
In order to give advanced control over a processing queue,
it would be better to have the checking function separated from
the osmo_gapk_pq_prepare(). Moreover, this change introduces an
additional 'strict' checking mode that requires a queue to have
a source item first and a sink item in the last position.
http://cgit.osmocom.org/gapk/commit/?id=f269356136d580d8175657cb68dc05a9c70…
commit f269356136d580d8175657cb68dc05a9c709f5a5
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 21:44:16 2017 +0300
procqueue: add item catedory and sub-category fields
This change adds two meta-information fields to the processing
queue item structure. Both of them will be used for more
detailed logging and for the human-readable processing
queue description.
http://cgit.osmocom.org/gapk/commit/?id=8bf80936be6daa963cc99f92b7318066fd9…
commit 8bf80936be6daa963cc99f92b7318066fd9bc9eb
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 20:57:13 2017 +0300
procqueue: add item type enum (source, sink, proc)
There are currently three types of prcessing queue items:
- source (file, alsa, rtp)
- proc (format, codec)
- sink (file, alsa, rtp)
Let's assign corresponding type for each item.
This would facilitate logging and the queue checking.
http://cgit.osmocom.org/gapk/commit/?id=41d428bf6435e9aa12ba185acc7339985d6…
commit 41d428bf6435e9aa12ba185acc7339985d6bd52c
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 20:43:28 2017 +0300
procqueue: add human-readable name to osmo_gapk_pq
Since this change, every processing queue may optionally have
an associated human-readable name. If name is not required,
NULL should be passed to the osmo_gapk_pq_create().
http://cgit.osmocom.org/gapk/commit/?id=b846b9a8eda3ae9b16e6d1a26357d643373…
commit b846b9a8eda3ae9b16e6d1a26357d64337336745
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 14:48:49 2017 +0300
libosmogapk: drop an 'osmo' prefix from internal log variables
It would be better to have an 'osmo_gapk' prefix for exposed
symbols only. Both internal logging variables aren't exposed,
so they shouldn't have one.
http://cgit.osmocom.org/gapk/commit/?id=080b912d99c92188fc7be75e3b24126da67…
commit 080b912d99c92188fc7be75e3b24126da67d64dc
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 14:44:24 2017 +0300
osmo-gapk: use talloc for memory management
http://cgit.osmocom.org/gapk/commit/?id=a2a6317a963e0e55b760368f51c66a8e667…
commit a2a6317a963e0e55b760368f51c66a8e667b92f0
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 14:23:56 2017 +0300
libosmogapk: introduce the internal root talloc context
In order to simplify memory leak debugging, this change introduces
the library's internal talloc context that may be changed by
external application by calling the osmo_gapk_set_talloc_ctx().
http://cgit.osmocom.org/gapk/commit/?id=4a77ee720a79e5e8f1e7b9e975d27c19c09…
commit 4a77ee720a79e5e8f1e7b9e975d27c19c094b316
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 14:09:55 2017 +0300
libosmogapk: rename the 'logging.c' to 'common.c'
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.
http://cgit.osmocom.org/gapk/commit/?id=7f1aa98a8f2da8dbe13507f763274b41824…
commit 7f1aa98a8f2da8dbe13507f763274b41824e477d
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 13:48:38 2017 +0300
libosmogapk: fix memory leak in both AMR and EFR codecs
The memory, allocated by codec_efr_init() / codec_amr_init(),
was not cleaned after calling the codec_exit(). Found using
talloc memory debugging API.
http://cgit.osmocom.org/gapk/commit/?id=17b5ba93109743664d17df7bd89e1f44544…
commit 17b5ba93109743664d17df7bd89e1f44544b3fa3
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Sat Sep 9 12:10:08 2017 +0300
libosmogapk: use talloc for memory management
http://cgit.osmocom.org/gapk/commit/?id=15fa605576a81803c57a144231e9e9720aa…
commit 15fa605576a81803c57a144231e9e9720aa133a1
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 8 11:13:49 2017 +0300
osmo-gapk: fix I/O combinations check
Previously both ALSA source and sink were out of attention.
http://cgit.osmocom.org/gapk/commit/?id=a9f3a4fb5ac57fb50898eec8a61333bc034…
commit a9f3a4fb5ac57fb50898eec8a61333bc034c087d
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 8 10:55:05 2017 +0300
configure.ac: use actual bug report address in AC_INIT
http://cgit.osmocom.org/gapk/commit/?id=27cc5fbbcb2b5649c9bca452e8a00335d9a…
commit 27cc5fbbcb2b5649c9bca452e8a00335d9a278a7
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 8 00:05:02 2017 +0300
osmo-gapk: wait until sink finish processing
Previously the osmo-gapk application used to exit as soon as all
the frames are processed, no matter has the sink finished its
internal processing (e.g. ALSA playback).
http://cgit.osmocom.org/gapk/commit/?id=01edb56d7bb082ecc187254c2f0a54178dd…
commit 01edb56d7bb082ecc187254c2f0a54178dd9ff3f
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 8 00:02:20 2017 +0300
src/pq_alsa.c: implement processing state callback
Using the snd_pcm_avail_update() call from ALSA API it's possible
to know, how much samples are still to be processed.
http://cgit.osmocom.org/gapk/commit/?id=8923276018b9a8d5ebafa2e18676fe6b8ce…
commit 8923276018b9a8d5ebafa2e18676fe6b8cef26a4
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 18:42:49 2017 +0300
procqueue: add processing state callback
In some cases it's required to wait for some queue items
to finish processing. For example, the ALSA sink writes the
audio samples to the buffer in non-blocking mode, so as soon
as all of them will be written, a program may finish execution,
causing the playback abort.
To prevent that, this change extends the library's API, allowing
each queue item to have a processing state callback that returns
a positive integer if processing is not finished yet,
and 0 otherwise.
http://cgit.osmocom.org/gapk/commit/?id=3e8cfdea6a2e1da03b6601c96b87d2a5683…
commit 3e8cfdea6a2e1da03b6601c96b87d2a5683c73c6
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 17:51:35 2017 +0300
osmo-gapk: abort the processing queue on SIGINT
Instead of immediately shutting down the application, it is
better to try to break the processing queue first, and stop
the execution immediately if second SIGINT is received.
http://cgit.osmocom.org/gapk/commit/?id=0d177795d1ffe70d926281034116d731992…
commit 0d177795d1ffe70d926281034116d73199265202
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 17:39:24 2017 +0300
osmo-gapk: adjust application verbosity
This change allows user to enable advanced verbosity using the
'-v' command line option, which is disabled by default.
http://cgit.osmocom.org/gapk/commit/?id=3d5a901ffe24ab38a2050afca7a146d840a…
commit 3d5a901ffe24ab38a2050afca7a146d840a1f303
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 17:10:14 2017 +0300
osmo-gapk: use Osmocom logging framework
http://cgit.osmocom.org/gapk/commit/?id=caeee8214084f8949e855780ce1cbfd42a5…
commit caeee8214084f8949e855780ce1cbfd42a514e78
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 16:48:27 2017 +0300
osmo-gapk: drop useless printf calls
The printf() writes the text into stdout, which may be undesirable
in some use cases. Moreover, the printed information was redundant.
So, let's drop such calls.
http://cgit.osmocom.org/gapk/commit/?id=1e220b9f3c2a0d9a1a6ea39d0972a207a51…
commit 1e220b9f3c2a0d9a1a6ea39d0972a207a51168bd
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 16:36:56 2017 +0300
libosmogapk: use Osmocom logging framework
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.
http://cgit.osmocom.org/gapk/commit/?id=d02ada5c46a8938f5d9fd09e255dc650193…
commit d02ada5c46a8938f5d9fd09e255dc6501937785d
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Sep 7 00:04:01 2017 +0300
osmo-gapk: use more convenient name for the source file
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.
http://cgit.osmocom.org/gapk/commit/?id=d8bdf47aaffb768c26b89511d1af7bce616…
commit d8bdf47aaffb768c26b89511d1af7bce616543d2
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Sep 6 23:53:30 2017 +0300
osmo-gapk: create a common shutdown function
Previously the code intended to shutdown the osmo-gapk application
was repeated two times. It's better to have a single function.
http://cgit.osmocom.org/gapk/commit/?id=6e0fe0e103612e01817dba857f5077adeb8…
commit 6e0fe0e103612e01817dba857f5077adeb87ea84
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Sep 6 23:42:19 2017 +0300
osmo-gapk: add an option to enable / disable benchmark
If the codec benchmarking is required in particular case, it
could be activated by a special command line option introduced
by this change.
http://cgit.osmocom.org/gapk/commit/?id=a3b4fb8be1bb9316443dedab0dcf9079328…
commit a3b4fb8be1bb9316443dedab0dcf9079328f13a6
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 1 16:19:40 2017 +0700
procqueue: use linuxlist to store queue items
The usage of linuxlist is more flexible than having a limited
array of pointers. This approach allows to have as much items
in a processing queue as required.
http://cgit.osmocom.org/gapk/commit/?id=cd2da365a81999db5a092b6bfb984d57b47…
commit cd2da365a81999db5a092b6bfb984d57b471883e
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 1 15:22:32 2017 +0700
procqueue: use uint8_t as output buffer type
http://cgit.osmocom.org/gapk/commit/?id=903f14cdf48faa61996b22b68361c511c92…
commit 903f14cdf48faa61996b22b68361c511c920b3b9
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 1 15:15:45 2017 +0700
procqueue: store output buffers inside queue items
An output buffer belongs to its queue item, so it will be more
correctly to store its pointer inside the osmo_gapk_pq_item.
http://cgit.osmocom.org/gapk/commit/?id=0d97f46b8757e0947304d88777706bd9a98…
commit 0d97f46b8757e0947304d88777706bd9a98a4c69
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Fri Sep 1 14:33:19 2017 +0700
procqueue: use unsigned int for I/O frame size fields
A frame size cannot be negative, so 'unsigned' is more
suitable for frame size fields.
http://cgit.osmocom.org/gapk/commit/?id=6683ef0a17dda6eb50aaeede8805936c751…
commit 6683ef0a17dda6eb50aaeede8805936c751ec4a5
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 17:49:36 2017 +0700
Add the symbol export map for libosmogapk
http://cgit.osmocom.org/gapk/commit/?id=f72d01558f16717d49380428310d1a269f8…
commit f72d01558f16717d49380428310d1a269f8540c6
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 04:18:06 2017 +0700
benchmark: add functions to get cycle and frame count
To simplify the benchrarking process via the library API, this
change introduces two new functions, which are intended to
provide total cycle and frame count.
http://cgit.osmocom.org/gapk/commit/?id=ea53827e34b3d223c053289f7ef39f31057…
commit ea53827e34b3d223c053289f7ef39f3105712a18
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 03:33:48 2017 +0700
benchmark: allocate memory dynamically
Having statically allocated memory for benchmark data of every
codec causes high memory usage, especially if actual benchmarking
is not required for a particular use case. Instead of that, let's
provide an optional opportunity to enable benchmarking for a
particular codec by calling the osmo_gapk_bench_enable(). The
required amount of memory would be allocated, and then can be
freed by calling the osmo_gapk_bench_free() or manually.
http://cgit.osmocom.org/gapk/commit/?id=36e92c49c510711bd7e88beb2935a2a298d…
commit 36e92c49c510711bd7e88beb2935a2a298def9fe
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 03:03:32 2017 +0700
benchmark: get rid of 'static inline' definition
The usage of a 'static inline' function definition in the 'bench.h'
is resulting in separate independent function definitions in each
translation unit from which the header is included. This is
increasing the size of compiled code unnecessarily.
http://cgit.osmocom.org/gapk/commit/?id=43f74129c6ed128de8235aed1ce7d0f2851…
commit 43f74129c6ed128de8235aed1ce7d0f285193206
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 02:23:18 2017 +0700
benchmark: move benchmark impl to a private header
There is no need to expose the implementation details of both
BENCHMARK_START and BENCHMARK_STOP macros via public header.
This change moves them to a separate private header 'bench.h'.
http://cgit.osmocom.org/gapk/commit/?id=f4650d455bde1cd7a489123db3ebfbf2dc8…
commit f4650d455bde1cd7a489123db3ebfbf2dc860b8e
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Sep 4 00:42:38 2017 +0700
benchmark: move benchmark_dump() outside the library
The benchmark_dump() is only used by the osmo-gapk binary, and
is intended to prepare and print benchmarking results to stderr,
what is most likely unusable for the library users.
http://cgit.osmocom.org/gapk/commit/?id=6028be8e8655d8eabc1929ff0753114814f…
commit 6028be8e8655d8eabc1929ff0753114814f5dacd
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 17:22:56 2017 +0700
Add an 'osmo_gapk' prefix to the exposed symbols
To avoid a naming conflict between libosmogapk and other projects
during linkage, all the exposed symbols should have an unique
prefix. Let's use 'osmo_gapk' for that.
http://cgit.osmocom.org/gapk/commit/?id=4922c8376713196d909cb7b6d204cb10664…
commit 4922c8376713196d909cb7b6d204cb10664116c2
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 02:31:18 2017 +0700
procqueue: expose the processing queue struct definition
To be able to use processing queues from outside, the pq struct
should be shared in the corresponding header file.
http://cgit.osmocom.org/gapk/commit/?id=617daf02012a4e4d1a104d52f2517ad81b7…
commit 617daf02012a4e4d1a104d52f2517ad81b72dd54
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 01:41:26 2017 +0700
Add a pkg-config manifest for libosmogapk
In order to make pkg-config 'see' the libosmogapk, a corresponding
package description is required. For more details, see:
https://autotools.io/pkgconfig/file-format.htmlhttp://cgit.osmocom.org/gapk/commit/?id=e7959b00f6f21f371b24cd1960b36aacd34…
commit e7959b00f6f21f371b24cd1960b36aacd34bdeb7
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Thu Aug 31 01:20:18 2017 +0700
Use '#pragma once' instead of include guard
The most compilers today do support the '#pragma once', which is
designed to cause the current source file to be included only once
in a single compilation. One has several advantages, including:
less code, avoidance of name clashes, and sometimes improvement
in compilation speed.
See: https://en.wikipedia.org/wiki/Pragma_once for details.
http://cgit.osmocom.org/gapk/commit/?id=e6986f70c5f609692c7067a758233e2d832…
commit e6986f70c5f609692c7067a758233e2d8327de6b
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Aug 30 20:26:02 2017 +0700
Install GAPK headers to '${includedir}/osmocom/gapk/'
To be able to use the library, external applications need to know,
which symbols are exposed. This information is provided by header
files, which are being installed to a system's ${includedir}
since this change.
http://cgit.osmocom.org/gapk/commit/?id=a03ac4573a2c00a6b2937c42503b6c72064…
commit a03ac4573a2c00a6b2937c42503b6c7206480662
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Aug 30 19:35:51 2017 +0700
Add an 'osmo' prefix to the 'gapk' binary
This is a common practice of all Osmocom executables
to have an 'osmo' prefix. Let's follow this here too.
http://cgit.osmocom.org/gapk/commit/?id=5fb1965cacb7a3aaf269dbb8e0238721a7d…
commit 5fb1965cacb7a3aaf269dbb8e0238721a7d44c05
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Wed Aug 30 19:03:49 2017 +0700
Introduce a shared 'libosmogapk' library
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.
-----------------------------------------------------------------------
hooks/post-receive
--
GSM Audio Pocket Knife
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GSM Audio Pocket Knife".
The branch, master has been updated
via 45d0fd66c3aceebcd1dc30ae2cffb33f5c65fe8e (commit)
from d5cfaa6a52d09551661f2cc8ef7ffc24f809960a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/gapk/commit/?id=45d0fd66c3aceebcd1dc30ae2cffb33f5c6…
commit 45d0fd66c3aceebcd1dc30ae2cffb33f5c65fe8e
Author: Max <msuraev(a)sysmocom.de>
Date: Fri Dec 29 21:48:18 2017 +0100
Add git-review config
Change-Id: Id4304dc8248087c23aaf3a5d205cd341ed6a758a
-----------------------------------------------------------------------
Summary of changes:
.gitreview | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 .gitreview
hooks/post-receive
--
GSM Audio Pocket Knife
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom code for Iuh interface".
The branch, master has been updated
via bfeea6713b4e17fcd5cfb0a5b4c042eaf526ae22 (commit)
via ef727410b28f1482a2a174cfbe943e6e98205bdb (commit)
from 1e57ba503ed734b36094288ad2dbedbd11f39c57 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-iuh/commit/?id=bfeea6713b4e17fcd5cfb0a5b4c042e…
commit bfeea6713b4e17fcd5cfb0a5b4c042eaf526ae22
Author: Max <msuraev(a)sysmocom.de>
Date: Wed Dec 27 22:53:36 2017 +0100
Expand ctrl interface
Add commands to get number of connected HNBs and identity string of
connected HNB based on Cell ID.
Change-Id: I3a2d6fa3d6d0829ccee4ecc0998d9299c97820e9
http://cgit.osmocom.org/osmo-iuh/commit/?id=ef727410b28f1482a2a174cfbe943e6…
commit ef727410b28f1482a2a174cfbe943e6e98205bdb
Author: Max <msuraev(a)sysmocom.de>
Date: Tue Dec 26 19:27:43 2017 +0100
Add control interface
* add libosmoctrl dependency
* bind control interface
Change-Id: I4637e88da00bac1ab0237c29ac73806d024863ba
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
include/osmocom/iuh/hnbgw.h | 11 ++++-
src/Makefile.am | 4 +-
src/hnbgw.c | 100 +++++++++++++++++++++++++++++++++++++++++++-
4 files changed, 111 insertions(+), 5 deletions(-)
hooks/post-receive
--
Osmocom code for Iuh interface
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A python tool to program magic SIMs".
The branch, master has been updated
via 287b6ce1b49fc924fd281a000748f2002114c408 (commit)
via ac23ad5013e47e26bb53cfe7fb73d970891e94e3 (commit)
from 1d087efc974ed29d8f0802a7aba507ab56698283 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/pysim/commit/?id=287b6ce1b49fc924fd281a000748f20021…
commit 287b6ce1b49fc924fd281a000748f2002114c408
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Dec 29 20:48:51 2017 +0100
pySim-prog.py: Fix trailing whitespace
Change-Id: I735dc7bb774d77d3b60b1712b0f0afcbb81dc726
http://cgit.osmocom.org/pysim/commit/?id=ac23ad5013e47e26bb53cfe7fb73d97089…
commit ac23ad5013e47e26bb53cfe7fb73d970891e94e3
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Dec 29 20:30:35 2017 +0100
pySim-*.py: Set shebang to use python v2
Nowadays bin/python usually points to python3, and this script is written
in python2, which means if run directly from terminal it will fail with
some print syntax errors.
Change-Id: I6ab4e9edc44a8045915d4828c6de2fa98027fb7e
-----------------------------------------------------------------------
Summary of changes:
pySim-prog.py | 3 +--
pySim-read.py | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
hooks/post-receive
--
A python tool to program magic SIMs
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The Open Source GSM Base Band stack".
The branch, master has been updated
via 96e5f8cbe57d55a274cfba1ac7f4961b29bab6fe (commit)
via ceb0875f1a2c90de826450f1de127450b62bcd9b (commit)
via a8130aba91247e07df83d2612f14d58d9a45eaa7 (commit)
from f02c04f4441ae0d05f46f5fdfd1aa8181ede57a8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmocom-bb/commit/?id=96e5f8cbe57d55a274cfba1ac7f49…
commit 96e5f8cbe57d55a274cfba1ac7f4961b29bab6fe
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Wed Dec 27 10:51:32 2017 +0800
mobile: Add lua examples for basic functions that are available
Link to Lua docs, link to our manual. Demo logging, timer, MS
on/off, sms sending and sms receiving. For the MM state I will
need to export constants/names to make this usable. Currently
it is a bit of a hack (first time to MM_IDLE) to send a SMS. We
would know when we attached though.
Change-Id: I10ac656330b65e3905d6cbbb7865aa0f969cd9ff
http://cgit.osmocom.org/osmocom-bb/commit/?id=ceb0875f1a2c90de826450f1de127…
commit ceb0875f1a2c90de826450f1de127450b62bcd9b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Wed Dec 27 10:50:14 2017 +0800
mobile: Properly close the primitive interface on reload
When reloading a script go through script_lua_close. Get the
primitive first. Then destruct the lua environment which will
lead to GC (e.g. cancellation of timers) and then delete the
primitive code.
Change-Id: I5bb4fa9e7c5010f3ad50b258dcb14956eea8822a
http://cgit.osmocom.org/osmocom-bb/commit/?id=a8130aba91247e07df83d2612f14d…
commit a8130aba91247e07df83d2612f14d58d9a45eaa7
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Dec 26 12:46:30 2017 +0800
mobile: Send SMS through the primitive interface
Make this symmetric and send the SMS through the primitive
interface. Construct and copy the sms into the prim, store
the SCA in the prim as well. In 04.11 we see we can store
2*10 digits in the destination address and a NUL.
Change-Id: I91d7537f4f6ce5ba00218c58f3456947ec7bc662
-----------------------------------------------------------------------
Summary of changes:
doc/examples/mobile/lua_helloworld.lua | 9 ++++++
doc/examples/mobile/lua_ms_on_off.lua | 23 ++++++++++++++++
doc/examples/mobile/lua_sms_on_attach.lua | 32 ++++++++++++++++++++++
doc/examples/mobile/lua_sms_receive.lua | 15 ++++++++++
doc/examples/mobile/lua_timer.lua | 12 ++++++++
.../layer23/include/osmocom/bb/mobile/gsm411_sms.h | 2 ++
.../layer23/include/osmocom/bb/mobile/primitives.h | 2 ++
src/host/layer23/src/mobile/gsm411_sms.c | 2 +-
src/host/layer23/src/mobile/primitives.c | 16 +++++++++++
src/host/layer23/src/mobile/script_lua.c | 30 ++++++++++++++++----
10 files changed, 136 insertions(+), 7 deletions(-)
create mode 100644 doc/examples/mobile/lua_helloworld.lua
create mode 100644 doc/examples/mobile/lua_ms_on_off.lua
create mode 100644 doc/examples/mobile/lua_sms_on_attach.lua
create mode 100644 doc/examples/mobile/lua_sms_receive.lua
create mode 100644 doc/examples/mobile/lua_timer.lua
hooks/post-receive
--
The Open Source GSM Base Band stack
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Software-defined analyzer for APCO P25".
The branch, max has been updated
via d25d93cf9e9b870e9e1440d9aaa7c9239fda56b6 (commit)
from 9b93b5699d89128bf07f95ee69f77ed640b9bdb8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/op25/commit/?id=d25d93cf9e9b870e9e1440d9aaa7c9239fd…
commit d25d93cf9e9b870e9e1440d9aaa7c9239fda56b6
Author: Max <ikj1234i(a)yahoo.com>
Date: Thu Dec 28 21:16:07 2017 -0500
p25 p2/tdma bugfix, code cleanups
-----------------------------------------------------------------------
Summary of changes:
op25/gr-op25_repeater/apps/rx.py | 24 +-----------------------
1 file changed, 1 insertion(+), 23 deletions(-)
hooks/post-receive
--
Software-defined analyzer for APCO P25
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via effdec6e13550f89469c2f9da95895cc5c474dd0 (commit)
from 20c7c46bceac4969e420f2b0dd89448327914971 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=effdec6e13550f89469c2f9da95895c…
commit effdec6e13550f89469c2f9da95895cc5c474dd0
Author: Max <msuraev(a)sysmocom.de>
Date: Thu Dec 28 14:18:02 2017 +0100
Add optional profiling support
This facilitates the use of programs like uftrace. It's disabled by
default due to associated overhead.
Change-Id: I5c16988cefa46e0b958030c0f3bff9efc5b4979d
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 9 +++++++++
1 file changed, 9 insertions(+)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom code for Iuh interface".
The branch, master has been updated
via 1e57ba503ed734b36094288ad2dbedbd11f39c57 (commit)
from f8b73b15c06055719e712b5a70d130cfd42bea4b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-iuh/commit/?id=1e57ba503ed734b36094288ad2dbedb…
commit 1e57ba503ed734b36094288ad2dbedbd11f39c57
Author: Max <msuraev(a)sysmocom.de>
Date: Thu Dec 28 12:27:41 2017 +0100
Use proper package version
Use actual application version instead of hardcoded "0".
Change-Id: I8711b9d819454d810291d57b97119d9fe4a47f8e
-----------------------------------------------------------------------
Summary of changes:
src/hnbgw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Osmocom code for Iuh interface
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom code for Iuh interface".
The branch, laforge/reject-id-cid has been created
at 722a802c79fc40d17e42982412382034e62829ab (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-iuh/commit/?id=722a802c79fc40d17e4298241238203…
commit 722a802c79fc40d17e42982412382034e62829ab
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Dec 28 21:47:06 2017 +0100
Reject any HNBAP-REGISTER messages for HNB's with identical CID
According to some references found in the nano3G MIB help, the CellID as
reported in the HNB-REGISTER-REQ is combined from 16-bit CellID and the
12bit RNC-ID.
The HNB-GW should use this value in the register-req to ensure it is
unique in the network. We should probably reject register requests from
non-unique / overlapping values.
Change-Id: Ib58cc9f3c0e700f8bc5930f4df0d2dfe7888b991
Closes: OS#2789
http://cgit.osmocom.org/osmo-iuh/commit/?id=39773fd362669ab614c767f4d818200…
commit 39773fd362669ab614c767f4d818200090d93233
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Oct 9 16:41:33 2017 +0800
WIP: fix asn1 syntax errors
Change-Id: Ib6977a9803fdce010eca9fc9a768c89ccf4215f8
-----------------------------------------------------------------------
hooks/post-receive
--
Osmocom code for Iuh interface