Commit Graph

30 Commits

Author SHA1 Message Date
armin-25689
810ef140cb style: make the code more prescriptive 2024-01-01 12:41:51 -06:00
armin-25689
3840b1409e feat: add oss audio callback for FreeBSD
OSS is the native sound system of the FreeBSD.It will be used on the x11_vaapi platform.It was added to reduce moonlight's dependency on FreeBSD.
2024-01-01 12:41:51 -06:00
Cameron Gutman
1feeab9c71 Fix more warnings 2022-11-20 20:41:21 -06:00
Cameron Gutman
c3325a8887 Don't print error if zero samples are decoded 2022-11-09 00:10:03 -06:00
Cameron Gutman
30b563a2fc Tune ALSA parameters to avoid underruns
Fixes frequent underruns on Vero 4K
2022-11-01 00:11:08 -05:00
Cameron Gutman
cb4b5d55b5 Improve ALSA underrun error recovery
Fixes lack of audio on Vero 4K
2022-10-31 22:19:34 -05:00
Cameron Gutman
781afc7c66 Fix surround channel mappings on PulseAudio 2021-07-25 17:51:22 -05:00
Cameron Gutman
0698e8b43f Fix PulseAudio when manually specifying the audio device 2021-07-25 17:30:46 -05:00
Cameron Gutman
fb57f3cb4d Add arbitrary audio duration support to all audio backends 2021-07-25 14:01:19 -05:00
Cameron Gutman
4e09dccfc0 Use moonlight-common-c definition for max channel count 2021-07-25 13:33:35 -05:00
Cameron Gutman
2fa276182f Fix ALSA and PA mappings for 7.1 surround sound 2021-07-24 15:35:27 -05:00
Cameron Gutman
1cb4699057 Start plumbing 7.1 surround sound support 2021-07-24 08:14:03 -05:00
Cameron Gutman
615ed824ac Use 48KHz sample rate for PA test to match the actual stream 2021-07-24 07:33:07 -05:00
Hugo Hromic
434dba31de General codebase clean-ups (no code changes)
* Remove trailing spaces
* Replace TABs with spaces
* Add missing indentation
2019-10-05 19:13:24 +01:00
Iwan Timmer
32a26d19f9 Correct typos for embedded platforms 2017-05-31 18:03:21 +00:00
Iwan Timmer
f5cb2d1880 Provide selected audio device as context 2017-05-28 16:13:09 +02:00
Iwan Timmer
a0462e49b8 Update Moonlight-common-c 2017-05-28 16:13:09 +02:00
Iwan Timmer
be2b44f124 Cleanup import of headers 2017-05-28 16:13:09 +02:00
Iwan Timmer
3461d17119 Remove saving to file for fake platform 2017-05-27 17:06:03 +02:00
Iwan Timmer
fca16aa801 Cleanup audio decoding code 2017-05-25 16:48:58 +02:00
Iwan Timmer
4bf3137bfc Cleanup Pulseaudio code to allow server select using audio argument 2017-05-10 15:58:32 +02:00
Iwan Timmer
870901784e Always include fake output but never choose it by default 2017-03-17 16:42:52 +01:00
Iwan Timmer
68e18a2067 Default to corect audio device on Raspberry Pi 2016-03-25 11:14:18 +01:00
Unknownforce351
8de4fe1cf3 Initial OMX Support 2016-03-24 18:14:02 +01:00
Iwan Timmer
cfddc233d1 Check Pulseaudio server availability 2016-01-16 17:46:53 +01:00
Iwan Timmer
0ed8b0937f Add Pulseaudio output 2015-12-27 21:13:09 +01:00
Cameron Gutman
48f88f6d2f Add 5.1 surround sound support 2015-10-26 02:58:28 +00:00
Iwan Timmer
c4bd362a5d Enable direct submit optimization in audio and video decoders 2015-08-15 11:09:42 +02:00
Iwan Timmer
299a4a461f Provide alternative SDL audio output 2015-07-28 11:49:29 +02:00
Iwan Timmer
2ba4840569 Move audio code to seperate directory 2015-07-12 21:31:53 +02:00