Commit graph

18 commits

Author SHA1 Message Date
Nonoo
9c8e356a21 Init virtual sound card, serial port and serial port TCP server only once
We init only once with the first device name we acquire, so apps using these
interfaces won't have issues with the interface going down while the app is
running.
2020-10-28 22:32:45 +01:00
Nonoo
757dc58280 Fix audio delay if nothing is reading the virtual sound card 2020-10-28 18:02:44 +01:00
Nonoo
a4317908e3 Fix audio deinit hang 2020-10-27 17:31:07 +01:00
Nonoo
47fc725c71 Fix cleaning up sink pipes 2020-10-27 14:22:08 +01:00
Nonoo
56f30cf1ab Fix audio pipe filename 2020-10-27 14:20:43 +01:00
Nonoo
c008bb3b3d Cleanup audio buffer size calculation 2020-10-27 14:20:27 +01:00
Nonoo
edb20dda86 Cleanup previous audio pipes 2020-10-27 14:12:20 +01:00
Nonoo
00aeab93b5 Fix sending audio 2020-10-27 11:55:09 +01:00
Nonoo
bb1b04caae Cleanup 2020-10-27 09:25:36 +01:00
Akos Marton
4f3734957c Do not send silence frames to the radio 2020-10-27 10:03:22 +02:00
Nonoo
f42efc1f04 Use some constants 2020-10-26 10:33:24 +01:00
Nonoo
d2efa14e9c Move log into the main package 2020-10-26 09:09:30 +01:00
Nonoo
f996301830 Add platform specific build tags 2020-10-25 21:25:38 +01:00
Nonoo
f5a0b5e61e Fix occasional hang on audio deinit 2020-10-25 11:03:39 +01:00
Nonoo
e9d71de2c4 Add delayed deinit 2020-10-23 16:20:09 +02:00
Nonoo
f79d23f755 Add support for restarting the whole process on failure 2020-10-23 14:00:59 +02:00
Nonoo
9dbd5760ce Use radio name for pulse dev description 2020-10-21 16:09:10 +02:00
Nonoo
f2edd1a106 Move platform specific stuff to separate files 2020-10-21 09:26:21 +02:00
Renamed from audio.go (Browse further)