Commit Graph

32 Commits

Author SHA1 Message Date
andrew.walker
f94c55437b Updated to fix some off by 1 errors which was causing major drifts in of itself. 2022-09-12 10:02:29 +01:00
andrew.walker
49c56395d5 Fixed floating point calculations to be correct when converting 32bit ints to floats. Fixed class names and initialisation of objects in the decklink state. 2022-09-12 10:02:29 +01:00
andrew.walker
c852f61579 Updated with comments and removal of some unnecessary log lines (and changing some to DEBUG). Added some tidying of the deck drift audio class that should make it more easily applicable to other cards. Changed so that now the audio drift class is always enabled (and that no_drift_fix) disables it's functionality. 2022-09-12 10:02:29 +01:00
andrew.walker
fb0ba11995 Updated to introduce threading for the channels in resampling 2022-09-12 10:02:29 +01:00
andrew.walker
ce03347236 Updated to have the fix in for tail buffer when the decompressed audio is 4 bytes per sample. 2022-09-12 10:02:29 +01:00
andrew.walker
6880a5a602 Added some additional debug for 32bit audio resampling. 2022-09-12 10:02:29 +01:00
andrew.walker
c5b31b28f9 Added missing commit 2022-09-12 10:02:29 +01:00
andrew.walker
da436e47b0 Updated with some intial threading code and handling for 32bps audio resampling 2022-09-12 10:02:29 +01:00
andrew.walker
aae91eb636 Added comments for the changes that were made to the resampling code and removed all unecessary log lines as part of the investigation into the code. 2022-09-12 10:02:29 +01:00
andrew.walker
bdf75e2276 Latest updates for working resampling 2022-09-12 10:02:29 +01:00
andrew.walker
8c33acd369 Added latest audio resampling code 2022-09-12 10:02:29 +01:00
andrew.walker
db20fa3b47 Updated the decklink with resample changes 2022-09-12 10:02:29 +01:00
Martin Pulec
10eb7f5662 resampler: added audio_frame2::resample_fake 2022-03-31 12:00:15 +02:00
Martin Pulec
875c938ea0 speex_resampler: param quality was not respected
Although param was processed, DEFAULT_RESAMPLE_QUALITY (=10) was always
set.
2022-03-01 16:11:18 +01:00
Martin Pulec
c3320314b4 resampler: tunable quality 2022-02-03 15:41:05 +01:00
Martin Pulec
cec2f43b32 fixed some (mostly Windows) warnings 2022-02-01 14:12:56 +01:00
Martin Pulec
e712578f43 Added audio RS encoding 2021-11-30 17:09:29 +01:00
Martin Pulec
c35083fa91 Suppress clang warnings 2021-09-08 08:25:10 +02:00
Martin Pulec
8f557a97d6 Replaced audio/audio.h with audio/types.h includes
audio/audio.h should not be used as a catch-all header for audio.
2021-08-11 15:58:58 +02:00
Martin Pulec
1e9853e9e5 Audio compress: return object instead of pointer 2021-08-11 13:28:25 +02:00
Martin Pulec
1b9aa3314d SpeexDSP: remove a submodule
Now it is a normal dependency.
2021-03-09 08:14:37 +01:00
Martin Pulec
e8c53dd39b Audio: extend network buffers if needed
Extend network buffers if received frame size exceed the configured
buffer size (eg. using a plenty of channels).
2020-02-07 15:31:58 +01:00
Martin Pulec
ab9add0799 Fixed further warnings 2019-07-24 10:57:06 +02:00
Martin Pulec
50a6fe615f Missing sstring includes 2019-06-19 16:44:20 +02:00
Ben Roeder
e4111c76b8 fixes for typos in messages 2018-09-11 12:51:21 +01:00
Martin Pulec
a7830d3bc2 Fixed few warnings 2018-07-24 09:38:47 +02:00
Martin Pulec
3ebaf50334 Added audio mixer 2017-01-18 11:13:24 +01:00
Martin Pulec
880a19dd4c ALSA play.: write from thread
This is a proposed change (not yet default) to the ALSA behaviour. There
is a thread that writes to device all the time, avoiding underruns. On
the other hand there is a need to handle latency for which new buffer
was created. Alternatively, speex jitter buffer could be used.
2016-06-28 17:33:24 +02:00
Martin Pulec
83c9421b4a Fixed some Coverity issues 2015-10-19 11:31:10 +02:00
Martin Pulec
c57b75d2b3 Audio_frame2: fix 2015-09-02 17:01:33 +02:00
Martin Pulec
95c51e0507 audio_frame2: optimize allocation a bit
+ preallocate some big frame in audio decoder
2015-08-31 11:11:04 +02:00
Martin Pulec
54d45ba489 Audio: move audio types in separate header/src 2015-08-31 11:11:04 +02:00