Richard Fuchs
cbf807615a
MT#55283 add atomic64 size/type assert
Change-Id: Ie68eb9ac05db5afba238936a4b1a4be2bc8adaeb
3 weeks ago
Richard Fuchs
750c00618f
MT#55283 increase poller wait time to forever
Change-Id: I1df315d9f5382a974d67471f0f2eedec0eb9cb69
3 weeks ago
Richard Fuchs
15effb7641
MT#55283 type-safe thread helpers
Change-Id: I90ba4347ed787eb63bad84287bea200fac5dbe82
3 weeks ago
Richard Fuchs
25a28db9ec
MT#55283 fix naughty bit field bug
Change-Id: I865b54e0296b04009001e3df75db33a2745a3647
3 months ago
Richard Fuchs
71f2234902
MT#55283 obsolete timeval_diff
Change-Id: I83ea176acd77cdd9c371e4c8cde324bdfc3c2486
8 months ago
Richard Fuchs
358723e1c2
MT#55283 remove some unused functions
Change-Id: I8989e7c4191c2c670f65f39a44479e1ed394893a
8 months ago
Richard Fuchs
2a6853c219
MT#55283 obsolete timeval_cmp
Change-Id: I824ea19696e690afdbb21346f75ca16a6410b56b
8 months ago
Richard Fuchs
a4bd720105
MT#55283 convert time_t to int64_t
Change-Id: I9664249782355f7363a46bafcca6504415585875
8 months ago
Richard Fuchs
20ffa4f780
MT#55283 convert timerthread to int64_t
Change-Id: Ia7bdb7538428edef1ff83d7bd8f6116d5e618510
8 months ago
Richard Fuchs
c70510303a
MT#55283 convert rtpe_now to int64_t
First step in converting (almost) all timeval uses to int64_t
Change-Id: If20fd749c61c278273c535b68287df7e6f042808
8 months ago
Richard Fuchs
d75e44829d
MT#55283 replace UINT64F with PRIu64
Change-Id: I604226d2515dae6b7a348426b5e997dafc840042
8 months ago
Richard Fuchs
75aa3038db
MT#55283 convert ssrc_hash to g_direct
Change-Id: I5cd5a308a8c5f6fefed94e4f594eee3a31b0f6fd
8 months ago
Richard Fuchs
1779beeea0
MT#55283 fix atomic_compare_exchange macro
Change-Id: I25900efc7cef0f8b699ab9a1c17224c950d15d38
8 months ago
Richard Fuchs
0b654d9854
MT#55283 add rtpe_g_tree_first shortcut
Change-Id: I71ab7965c9edf988dc501673cdb714a7bb8b5725
8 months ago
Richard Fuchs
75884b8d58
MT#55283 add dedicated g_tree_first wrapper
Change-Id: I4f7a366d37ab2c67d57f4217133725917b2e726b
8 months ago
Richard Fuchs
5460ca1f90
MT#55283 properly namespace g_tree helpers
Change-Id: Ie3097da52012a91b1e5d9d5c7dabe901ff2d9d72
8 months ago
Richard Fuchs
bcbe751dec
MT#55283 make bufferpool (mostly) lock-free
Change-Id: I9c6803c3b01deacafc20bcca4c6ddd89fd69d3e9
9 months ago
Richard Fuchs
162e982088
MT#55283 fix typo
Technically inconsequential because both functions call the same
underlying pthread_rwlock_unlock
Change-Id: I6fddc55f70772592d17f496e5c16edf6ba7a88e5
9 months ago
Richard Fuchs
6b5fac9dc7
MT#61625 add "transcode-config"
Adds a new config section that allows adjusting behaviour for certain
transcoding scenarios. This only adds the initial support for the config
option.
Change-Id: Ia3d43061adc540fab054e5c99ab804dc1ff53b84
10 months ago
Richard Fuchs
21de8d4b94
MT#55283 modernise timeval_subtract
Change-Id: I7715ee92e12e88d69e3f714a6714f691646e240c
10 months ago
Richard Fuchs
5dd0a387a3
MT#55283 modernise timeval_from_us
Change-Id: I745365e9c0c3c055e6972d18ab4593b9589f55f5
10 months ago
Richard Fuchs
4947ab9404
MT#55283 modernise timeval_add
Change-Id: I16a368dc66e632d43f01f9e674ad9637a0c18370
10 months ago
Richard Fuchs
89e355b1ba
MT#55283 remove unused timeval helpers
Change-Id: I53da8a84bac3a5235d5a5155b08a6a3419ddb1a8
10 months ago
Richard Fuchs
672bf5305c
MT#62053 add interfaces-config= option
Change-Id: I32c67bd6834f51c835c08af67a7d84f3216486db
11 months ago
Richard Fuchs
119ca4b105
MT#62053 add config file groups callback
Add a callback type to read config groups and their contents based on a
group prefix.
Unused at this point.
Change-Id: I7d9e043e96f48e599bc4da2d8ef4079559cb8b47
11 months ago
Richard Fuchs
052972082a
MT#62053 generalise config loading
Switch from specialised handling of config sections (used to load
signalling templates) to a more general approach using a callback
mechanism. This allows us to add more information to the config file
while keeping the details of the underlying GKeyFile hidden. Use a typed
hash table for type safety.
Change-Id: I71ddfda0202b47df363bcc5acf1725078774f8f1
11 months ago
Richard Fuchs
ad8ce3541d
MT#61822 add RWLOCK_STATIC_INIT
Change-Id: I6718df967b70554a32c3caddcb4e29af4fb6d7f0
11 months ago
Richard Fuchs
aced85670d
MT#61368 add rwlock_trylock_w()
Helper function. Unused at this point.
Change-Id: I352db1cc363c493665f7cf774eb4d4440a1321c9
12 months ago
Richard Fuchs
b8a915246f
MT#61352 support signalling templates
Change-Id: If5624e3294bff7f677bdb08f98ea920c3b5f929a
1 year ago
Richard Fuchs
50b1d03e61
MT#61263 add flexible MOS calculation
Support different MOS formulas. Only "legacy" (existing formula) is
supported at this point.
Change-Id: I25846da993bf61a34f26a8384622b7a2a2bbcf06
1 year ago
Richard Fuchs
24ff9ce07b
MT#55283 set codec-chain opus app
Change-Id: Ibeecc1f6942e823fa123d6e3083487ef08566331
1 year ago
Richard Fuchs
a46822ff25
MT#55283 compile fix for older glib
by moving the glib helper into containers.h
Change-Id: I09bba2343cbbbaf4f9aba7fc89740d4fa6280927
1 year ago
Richard Fuchs
5647f479c4
MT#55283 support setting cc-opus-complexity
Change-Id: I30130557420e1f53cf69f14e8bed2f3016e22397
2 years ago
Richard Fuchs
a140d83975
MT#55283 enforce hash table types in callbacks
For typed hash tables, enforce the correct type in the arguments to the
hashing and equality functions.
Adapt existing affected callback functions and change their arguments
from void* to the respective types.
Add reverse casts to GHashFunc and GEqualFunc in instances where these
functions are used in non-typed hash tables (that should be converted at
a later point).
Add convenience macro to create typed wrapper functions for hash tables
that use "direct" hashing (i.e. the pointer value).
Add wrappers for existing GLib functions that have generic arguments so
that they can be used in typed hash tables.
Change-Id: I43bb32969208f4aae49584d95c0df8353df6e2a0
2 years ago
Richard Fuchs
324fc591e9
MT#55283 support custom uring buffer size
Change-Id: I020df2427f690d84130ca218c0b24cc8136fc07d
2 years ago
Richard Fuchs
376d61bddb
MT#55283 add convenience atomic_inc_na
Change-Id: Iddeef2a6fe8b29dff3e6975fb2f27cec0a12bbc6
2 years ago
Richard Fuchs
cdc8407a7c
MT#55283 use relaxed memory order for stats
No need for memory barriers here
Change-Id: I9ac6768bb1929be3aa982b0de73c95baa965bef7
2 years ago
Richard Fuchs
ebaca8a4e0
MT#55283 initial support for io_uring
Change-Id: I497db70a4ba6a9242b637a867a70fdfa0f361a44
2 years ago
Richard Fuchs
71177278dd
MT#55283 move atomic64 to auxlib.h
Change-Id: I6597d4ee39ba0ebb86f0640caaf538e505b78b77
2 years ago
Richard Fuchs
28e9079e2f
MT#55283 mass codec-chain update
Change-Id: I181e3cce6145b8bfd4c55e931b303a3b037eb167
2 years ago
Richard Fuchs
8d3b43a445
MT#55283 update NONE flags to gboolean
Also move `version` out of the global namespace.
Change-Id: I72e222fa6c533fc21d8391a861bdb804285895d6
2 years ago
Richard Fuchs
2160cb0fbf
MT#55283 use helper struct instead of void* array
Change-Id: Ic9992d3206d39a9f0274c8d88a3a027b26ba751f
2 years ago
Richard Fuchs
96a894ff8b
MT#55283 move helper funcs away from g_ namespace
Change-Id: I36f35062b135418dadb02d46d50b1454b5eebe3a
2 years ago
Richard Fuchs
949c5a9d8e
MT#55283 work around gcc <12 being stupid
gcc <12 propagates the const-ness of the given value to the newly
declared variable with __auto_type, leading to silly "can't assign to
const variable" errors. Work around this with an ugly macro.
Change-Id: Ic952c094c24bd802379fc10ad19d559613b2c1d0
2 years ago
Richard Fuchs
a40557eb03
MT#55283 remove obsolete macro
Change-Id: I3f05d02fe9475e0689a70725dc659b599a1ac904
2 years ago
Richard Fuchs
0dc3768225
MT#55283 use g_auto for auto locks
Change-Id: I103e0d9a2e24286b242ccd3ac4d2d6b734cdfe35
2 years ago
Richard Fuchs
cfa560c6b4
MT#55283 use g_auto for GHashTable
Change-Id: I698f661711104a0fd6a983c58c0256532e86f87e
2 years ago
Richard Fuchs
c28ba5cd4e
MT#55283 use g_auto for GString
Change-Id: Ie7eb4a8f4115cdf13770cb112d8116b29ae94d73
2 years ago
Richard Fuchs
43b171c714
MT#55283 replace free_gvbuf via g_autoptr
Change-Id: If2ce7fb274478a0c044c00ded1404c31258ed0c7
2 years ago
Richard Fuchs
5a2819bd9d
MT#55283 use g_auto for string buffers
Change-Id: I135f75355a128feb8f3152c170ca4f9022d917a8
2 years ago