12 Commits
Author SHA1 Message Date
MattKC 00f41e0546 Implement microphone support (#167)
* microphone initial work

* implement dumping functionality

Allows us to dump packets from the console for replay later on

* implement dump playback functionality

* pipe: when using playback, don't require wireless adapter

* move dump functionality to pipe

* started caramel library for interfacing with real gamepad

* finalized microphone implementation

* cleanup

* cleanup 2

* cleanup 3

* cleanup 4

* fixed more issues

* use initializers so mutex and cond are always valid

* rewrite audio output system to improve latency

* fix indent

* provide capability for audio to be enabled/disabled based on state

* fix android builds
2025-05-23 12:28:32 -07:00
itsmattkc 4ae9abefbf remove redundant logging functions 2025-05-08 12:58:36 -07:00
itsmattkc e1e9128fb1 use significantly faster bit reversing algorithm 2024-11-15 17:57:15 -08:00
itsmattkc 4ecf7c07f1 move reverse_bits into util.c 2024-11-13 17:40:08 -08:00
Daniel Foster 86d9feca8d lib: use pthread_setname_np directly (#99)
since pthread_setname_np is non-portable (hence the _np), it is only declared if
you #define _GNU_SOURCE
2024-11-08 19:59:15 -08:00
itsmattkc 717dcbc6cd add get_millis() to util 2024-10-27 18:22:20 -07:00
itsmattkc 5f34f63dc9 name all threads 2024-10-27 16:30:42 -07:00
itsmattkc 8dc7aef66d shifted all connection functionality into pipe 2024-08-05 00:38:26 -07:00
MattKC abd48af085 use dhclient in foreground mode
Fixes #31

Squashed commit of the following:

commit ff84ad89ac79de2ca8454e19d65a3e4dd84396b3
Author: MattKC <[email protected]>
Date:   Tue Jul 23 10:29:37 2024 -0700

    clear interrupt

commit f72c5184482ff751bac725df157a525e26b3c3dc
Author: MattKC <[email protected]>
Date:   Tue Jul 23 10:20:30 2024 -0700

    don't use pids because we control them here

commit c3ce76c09d2ab5ee041506cc6343c04a93aa968e
Author: MattKC <[email protected]>
Date:   Tue Jul 23 10:18:49 2024 -0700

    don't install interrupt handler

commit 698ff9525a29c3bab5b7924534d1e4ff8e0cc600
Author: MattKC <[email protected]>
Date:   Tue Jul 23 10:18:41 2024 -0700

    use SIGTERM instead of SIGINT

commit b7bc5552e657c91ce06404e87513266752a59a35
Author: MattKC <[email protected]>
Date:   Tue Jul 23 10:14:38 2024 -0700

    try using -r to release the lease

commit 2c37819ede1e1a5c243ce092c60a5640aca30013
Author: MattKC <[email protected]>
Date:   Tue Jul 23 10:06:33 2024 -0700

    annihilate dhclient

commit a669ec4e0e3fc5f0731a77472977b4a6b0377280
Author: MattKC <[email protected]>
Date:   Tue Jul 23 10:02:26 2024 -0700

    print even more info

commit 11652120d95e88c66d4512ceeab80839b7ccfd04
Author: MattKC <[email protected]>
Date:   Tue Jul 23 09:55:22 2024 -0700

    print more info

commit 9d513e89f0bf7ec59d6456ba7819fb19e8c9cec8
Author: MattKC <[email protected]>
Date:   Tue Jul 23 09:50:19 2024 -0700

    Call dhclient in foreground mode
2024-07-23 10:34:44 -07:00
GaryOderNichts fcc2f10bef Get command protocol into a working state (#32) 2024-06-19 02:28:49 -07:00
itsmattkc 3b3b11dfef improve pipes 2024-05-24 10:04:08 -07:00
MattKC 5fa9952281 renamed folders 2024-05-23 18:47:04 -07:00