zugz (tox)
c135c812c2
Fix playing unallocated memory on opening audio device
2020-11-16 00:00:00 +00:00
zugz (tox)
d75d6e8b60
sort includes
2020-11-14 00:00:05 +00:00
zugz (tox)
7dead5ec96
Implement simplistic VAD
2020-11-14 00:00:01 +00:00
zugz
ddcf224db2
Implement groupAV
2020-11-14 00:00:01 +00:00
zugz
daf794c4a2
Rework audio device handling
...
We now have at most one input and one output device open at any time,
but can have multiple capture callbacks and multiple output sources.
2020-11-14 00:00:01 +00:00
jfreegman
42763905d7
Replace deprecated usleep function with nanosleep
...
usleep was declared obsolete in POSIX.1-2001
2020-11-04 22:05:59 -05:00
jfreegman
7560bc9547
modularize string arrays for line completion
...
Instead of using various different forms of string arrays and having to handle them
differently for string completion, we now always use char pointer arrays. This allows
us to remove some large stack allocations, remove a bunch of confusing defines that
keep track of global array sizes, and generally unclutters the code so it's easier
to read.
2020-11-01 11:29:51 -05:00
jfreegman
2b43340c90
Convert all variable length arrays to heap allocations
...
VLA's are inherently unsafe so the safest option is to not use them
2020-11-01 11:29:48 -05:00
jfreegman
91f194c821
Fix pointer use after free bug
...
If toxcore fails to end a call we still need to do a cleanup
2020-10-28 23:59:28 -04:00
jfreegman
478762f76c
Dynamically allocate audio frame buffer memory
2020-10-28 23:59:25 -04:00
iphydf
6f72a191ba
Revert "Add feature flags and missing #includes."
...
This reverts commit dd5fa236ae
.
Also, set `-std=gnu99` in Bazel build.
2020-04-17 19:37:22 +00:00
iphydf
dd5fa236ae
Add feature flags and missing #includes.
...
These are needed to compile on some strict Linuxes.
2020-04-15 21:34:30 +00:00
jfreegman
ddc8c53abf
Fix unused variable warnings and change all (void)s to UNUSED macro
2020-03-30 16:02:27 -04:00
iphydf
46513017e3
Half-hearted attempt at making toxic work on osx.
...
Video has no chance without X11 for now.
2020-03-30 18:14:43 +00:00
jfreegman
63cc23401a
Improve readability of defines
2018-10-08 13:39:04 -04:00
iphydf
bebff3be0e
Use (void) for empty parameter list in C.
2018-09-08 17:23:07 +00:00
jfreegman
a37bf300f9
Update astylerc to match toxcore & reformat all source files
2018-07-18 11:33:16 -04:00
jfreegman
815c29ee31
Significantly reduce time before trying to re-send a message with no read receipt
...
(also some formatting cleanup)
2018-03-03 23:54:12 -05:00
Enni Rosario
e1bfa30769
Refresh device list on /lsdev.
2017-10-31 18:08:06 +02:00
Enni Rosario
ebcbc7497b
Indicate selected device when printing.
2017-10-31 17:45:39 +02:00
Jfreegman
f056f13329
Astyle everything and add an astyle options script to repo
2016-09-24 21:07:04 -04:00
Jfreegman
c24e1bd2b8
Fix a few A/V race conditions
2016-09-22 18:00:14 -04:00
Keegan Drake H.P
379ad9e116
Use ALC_ENUMERATE_ALL_EXT when available
2016-09-14 05:43:10 -05:00
Jfreegman
4e0e322e32
Fix cross-client audio issue
2016-04-05 00:49:46 -04:00
Jfreegman
462cfca175
Merge new AV branch
2015-10-20 17:57:54 -04:00
cnhenry
3241551cfb
Began conversion of audio code to new ToxAV API
2015-08-21 00:14:03 -05:00
cnhenry
6e90072fb8
Implemented OpenCV demo to demonstrate video device listing and set up code structure for video
2015-08-21 00:14:03 -05:00