aboutsummaryrefslogtreecommitdiffstats
path: root/src/odr-padenc.h
Commit message (Collapse)AuthorAgeFilesLines
* Add option to output X-PAD in intervals onlyStefan Pöschel2019-02-121-1/+4
| | | | Also hide PADPacketizer::GetPAD().
* Separate re-read file checkStefan Pöschel2018-11-111-0/+1
|
* SLS: add option to limit slide sizeStefan Pöschel2018-03-041-0/+2
|
* SLS: skip to next working slide on problemStefan Pöschel2018-02-151-0/+2
| | | | | | | When a slide cannot be encoded, skip to the next slide that works. To prevent an infinite loop, no skipping is done when the last slide of the slide store doesn't work and also no earlier slide of it worked.
* Check output file for being FIFOStefan Pöschel2018-02-101-1/+3
|
* C++11: use atomic bool instead of mutexStefan Pöschel2018-01-281-4/+3
|
* Add uniform PAD encoderStefan Pöschel2017-08-241-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | The uniform PAD encoder encodes every PAD on demand and is kind of synchronized to the audio encoder by means of the frame duration. Insertion intervals for slides and labels can be set indepentent from each other. It is also possible to specify how often the label is inserted. If the slides interval "0" is used, the next slide is inserted just after the previous one has been transmitted. This is useful e.g. for stations that transmit just a logo slide. An initial burst count can be set to ensure that an audio encoder has enough PADs available e.g. in case the audio encoder encodes DAB+ Superframes at once and hence needs all related PADs. If a slide/label is still in transmission when the transmission of the next one is scheduled, the new transmission is skipped and a warning is shown. In this case it makes sense to increase the PAD length or to instead decrease the slide size or label insertion interval (`-L`). This new PAD encoder does not require any changes on the audio encoder side. Only in case of MP2, a recent revision of ODR-AudioEnc has to be used (commit ce25f2c or later), as it fixes a problem with PADs that solely consist of the F-PAD.
* Move SLS/DLS insertion to base classStefan Pöschel2017-08-241-0/+2
|
* Refactor actual encoder invokationStefan Pöschel2017-08-241-0/+4
| | | | | | - move two vars to base class - handle thread sleep in base class - add missing lock guard for exit var
* Move some objects to PAD encoder base classStefan Pöschel2017-08-241-1/+12
|
* Small refactoringsStefan Pöschel2017-08-231-0/+5
|
* Rename sleep delay to slide intervalStefan Pöschel2017-08-231-2/+2
|
* Move current PAD encoder algorithm into subclassStefan Pöschel2017-08-231-4/+18
| | | | | This allows to replace the current PAD encoding algorithm by alternative methods in the future.
* Refactor basic PAD encoder structureStefan Pöschel2017-08-231-3/+38
| | | | | | - move main process into new PAD encoder object - hand over options by new separate options object - unify default value retrieval in usage
* Move includes/static vars into new main headerStefan Pöschel2017-08-221-0/+49