aboutsummaryrefslogtreecommitdiffstats
path: root/src/dabplus-enc.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-07-08 12:07:59 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-07-08 12:07:59 +0200
commit350195adc995a74ff32f689f3493f2066c8d7b6b (patch)
tree007aa6c5c478be5a4d9d020f75f39f96e5801e60 /src/dabplus-enc.cpp
parent64b729f3284ead6a71fbeb7f8e0dd22187b21786 (diff)
downloadfdk-aac-dabplus-350195adc995a74ff32f689f3493f2066c8d7b6b.tar.gz
fdk-aac-dabplus-350195adc995a74ff32f689f3493f2066c8d7b6b.tar.bz2
fdk-aac-dabplus-350195adc995a74ff32f689f3493f2066c8d7b6b.zip
Improve Doxygen mainpage
Diffstat (limited to 'src/dabplus-enc.cpp')
-rw-r--r--src/dabplus-enc.cpp37
1 files changed, 23 insertions, 14 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp
index 953073d..35a7496 100644
--- a/src/dabplus-enc.cpp
+++ b/src/dabplus-enc.cpp
@@ -32,16 +32,23 @@
* The readme for the whole package is \ref md_README
*
* Interesting starting points for the encoder
- * - \ref dabplus-enc.cpp
- * - \ref VLC Input
- * - \ref Alsa Input
- * - \ref JACK Input
- * - \ref SampleQueue
- * - \ref charset.h
- * - \ref libtoolame API
+ * - \ref dabplus-enc.cpp Main encoder file
+ * - \ref VLCInput.h VLC Input
+ * - \ref AlsaInput.h Alsa Input
+ * - \ref JackInput.h JACK Input
+ * - \ref SampleQueue.h
+ * - \ref charset.h Charset conversion
+ * - \ref toolame.h libtolame API
+ * - \ref AudioLevel
+ * - \ref DataInput
+ * - \ref SilenceDetection
*
* For the mot-encoder:
* - \ref mot-encoder.cpp
+ *
+ *
+ * \file dabplus-enc.cpp
+ * \brief The main file for the audio encoder
*/
#include "config.h"
@@ -904,7 +911,7 @@ int main(int argc, char *argv[])
memset(&outbuf[0], 0x00, outbuf_size);
memset(&input_buf[0], 0x00, input_buf.size());
- /*! \section Data input
+ /*! \section DataInput
* We read data input either in a blocking way (file input, VLC or ALSA
* without drift compensation) or in a non-blocking way (VLC or ALSA
* with drift compensation, JACK).
@@ -1013,7 +1020,8 @@ int main(int argc, char *argv[])
#endif
}
- /*! Audio level measurement is always done assuming we have two
+ /*! \section AudioLevel
+ * Audio level measurement is always done assuming we have two
* channels, and is formally wrong in mono, but still gives
* numbers one can use.
*
@@ -1026,7 +1034,8 @@ int main(int argc, char *argv[])
peak_right = MAX(peak_right, r);
}
- /*! Silence detection, looks at the audio level and is
+ /*! \section SilenceDetection
+ * Silence detection looks at the audio level and is
* only useful if the connection dropped, or if no data is available. It is not
* useful if the source is nearly silent (some noise present), because the
* threshold is 0, and not configurable. The rationale is that we want to
@@ -1114,7 +1123,7 @@ int main(int argc, char *argv[])
}
}
- /*! toolame expects the audio to be in another shape as
+ /*! \note toolame expects the audio to be in another shape as
* we have in input_buf, and we need to convert first
*/
short input_buffers[2][1152];
@@ -1143,9 +1152,9 @@ int main(int argc, char *argv[])
}
}
- /*! Check if the encoder has generated output data.
- * DAB+ requires RS encoding, which is not done in ODR-DabMux and not necessary
- * for DAB.
+ /* Check if the encoder has generated output data.
+ * DAB+ requires RS encoding, which is not done in ODR-DabMux and not necessary
+ * for DAB.
*/
if (numOutBytes != 0 and
selected_encoder == encoder_selection_t::fdk_dabplus) {