Martin Pulec
5fe914edd9
audio/codec: get rid of rang.hpp
2023-06-23 10:58:33 +02:00
Martin Pulec
572209187e
audio/codec: turned fprintfs into log_msg
...
+ print number of empty channels
2023-06-21 16:37:42 +02:00
Martin Pulec
83f8d55913
audio codec: do not pass empty channels to dec
...
libavcodec audio decoder has assertion on channel non-emptiness (which
is perhpas correct - there cannot be anything done there) so do not pass
emtpy channels.
refer to GH-316
2023-06-13 16:06:11 +02:00
Martin Pulec
48219758ea
use Opus, not OPUS
...
For audio codecs, we respect its native capitalization of letters, eg.
AAC, speex. So do it also for Opus. This should not affect existing
applications since the Opus name is parsed case-insensitively.
Only exception is SDP (rtpmap) where is usually used lower-case (at
least in rfc7587).
2023-04-26 09:53:10 +02:00
Martin Pulec
b1f0e004f4
fixed new Coverity bugs
...
Fixed some of (easy) newly detected Coverity bugs. Those are mostly
innocent ones (performance) and not new (detected because of new release
of Coverity).
2022-08-22 09:57:16 +02:00
Martin Pulec
3913f589ed
Audio compress: fixed encoder changing BPS with multichannel
...
Fixed a situation when audio compression changes BPS, eg. AAC:
uv -s testcard --audio-codec AAC --audio-capture-format channels=2
2022-01-06 13:56:47 +01:00
Martin Pulec
1b3b27eb7c
Updated copyright dates for modified files
2021-11-08 15:43:14 +01:00
Martin Pulec
09426b2a7c
print rather err msg on wrong unit_evaluate(_dbl) val
...
Use an user-friendlier error message than assert.
2021-10-05 10:26:48 +02:00
Martin Pulec
2fefba5259
Audio codec: prevent crashes when decreased number of channels
...
Number of codec states may exceed the actual number of frame channels
(states are not deleted).
2021-08-11 13:32:41 +02:00
Martin Pulec
1e9853e9e5
Audio compress: return object instead of pointer
2021-08-11 13:28:25 +02:00
Martin Pulec
31d9809fcd
Updated documentation
...
Updated authors, copyright to 3-clause BSD (where possible) and file-level Doxygen
2019-11-09 13:47:11 +01:00
Martin Pulec
ad6ea541e6
Audio codec: improved help
...
+ mention that the bitrate is per channel
2019-10-08 15:35:15 +02:00
Martin Pulec
696034ff59
Audio codec: fill missing channel samples
...
Fill missing channel samples with a silence. This should behave better
in case of greater number of channels because now is not dropped the
whole frame.
2019-08-22 10:23:51 +02:00
Martin Pulec
e602942929
Typo
2019-08-19 09:13:08 +02:00
Milos Liska
9006d07f49
Fixed --audio-codec parameters parsing
...
* Fixed dangling pointer to parsed out value of audio codec parameters.
2019-08-08 09:33:43 +02:00
Martin Piatka
c96a20dec8
Capabilities: Print supported audio compressions
2019-07-30 11:01:20 +02:00
Martin Pulec
e0e315a6fa
Audio codec: check validity of parameters
2018-09-18 11:28:00 +02:00
Martin Pulec
2894c313a2
Better input value check for bitrates and MTU
...
* better check values' boundries
* for MTU and traffic shapper also check if there are reasonable values
(eg. for the cases when they are interchanged by mistake)
2017-03-15 16:45:47 +01:00
Martin Pulec
a390d0ab89
Audio codec: use new module API
2015-09-02 17:01:07 +02:00
Martin Pulec
9672fcc20c
audio_codec_decompress: return obj instead of pointer
2015-08-31 11:11:03 +02:00
Martin Pulec
0fc4ba2942
Audio codec: choose sample rate automatically
2015-08-19 09:53:10 +02:00
Martin Pulec
899ca0b56f
Audio sender: don't auto resample to 48000
...
+ some rework - audio_frame2 has now methods for changing bps and
resampling
2015-08-19 09:53:10 +02:00
Martin Pulec
7ca27e5d7d
Libavcodec audio: support for further sample fmts
...
+ fixed AAC (bitrate == 0 caused malfunctioning)
2015-07-20 16:03:27 +02:00
Martin Pulec
fed097a97f
Lavcd audio: removed G.726+ADPCM, added AAC+FLAC
...
Removed codecs seems to have some issues, not clear whether in UltraGrid
or libavcodec.
2014-11-27 18:21:51 +01:00
Martin Pulec
2e833bd261
Libavcodec audio: suport for mp3 + fixes
2014-11-26 13:06:24 +01:00
Martin Pulec
af74d48c1c
Libavcodec audio: minor improvements
2014-09-19 18:22:09 +02:00
Martin Pulec
d8886e7c81
Fixed another Coverity bugs
2014-09-12 16:07:43 +02:00
Martin Pulec
79b56ad8f7
GCC 4.6 compat
2014-08-26 10:42:11 +02:00
Martin Pulec
ef733c6f9e
audio_frame2: added const semantics
2014-08-21 14:01:31 +02:00
Martin Pulec
82a2611c8a
Some audio fixes (hacks)
2014-08-18 12:37:19 +02:00
Martin Pulec
abb0cd7a20
Added rate limiter for audio but disable it
...
Is it really needed??
2014-08-18 12:37:19 +02:00
Martin Pulec
13b3555c0a
Rewrite audio_frame2 to C++ class
2014-08-18 12:37:14 +02:00
Martin Pulec
42504a3980
Use C++ compiler for files using audio_frame2
2014-08-13 13:37:52 +02:00