mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
Comments for every function: the last batch; CI checks it
The UI tests, Gradle's script, the iOS app and the native test hosts (batch 6 of 8, comment lines only) and the checker's own. Every function in the app is now documented; android.yml's docs job runs tools/doc_check.py first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
This commit is contained in:
51 files changed
+240
No files matched your search
@@ -57,6 +57,7 @@ const int FRAME = 160; /* 20 ms at 8000 Hz */
|
||||
/* a frame through the codec, in place */
|
||||
class Codec {
|
||||
public:
|
||||
/* the codec called name (none, gsm or an AMR-NB rate); the program exits if it hasn't it */
|
||||
explicit Codec(const std::string &name) : name_(name)
|
||||
{
|
||||
#ifdef HAVE_GSM
|
||||
@@ -85,6 +86,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
/* the frame s (FRAME samples) encoded and decoded back, in place (as it is for none) */
|
||||
void run(short *s)
|
||||
{
|
||||
#ifdef HAVE_GSM
|
||||
@@ -144,6 +146,7 @@ void channel(int in, int out, std::string codec)
|
||||
|
||||
} // namespace
|
||||
|
||||
/* a filter (--filter), or two modems run on a line through the codec, their ptys on stderr */
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
dmd::Options opt;
|
||||
|
||||
Reference in new issue
Block a user