Update README.md #1

Closed
deadvey wants to merge 1 commits from (deleted):master into master

View File

@ -4,6 +4,7 @@ Original repo on my [personal gitea](https://git.javalsai.dynv6.net/micdroid/and
This is an app that can record audio with configurable block size and can stream it into a tcp stream with perfect quality. Simple yet effective, you can also stream it to multiple streams at the same time. This is an app that can record audio with configurable block size and can stream it into a tcp stream with perfect quality. Simple yet effective, you can also stream it to multiple streams at the same time.
# Notes # Notes
DeaDvey is SUPER cool
This is indev quality code and there's a long way to go, but it's enought to be used for now, there's a lot of hard-coded parameters and behaviour for now: This is indev quality code and there's a long way to go, but it's enought to be used for now, there's a lot of hard-coded parameters and behaviour for now:
* Audio specs are rate=40800, channels=1 (mono), default mic input (no chooser) and format=pcm16bit (equivalent to s16le). Assuming the rate refers to uits (pcm16) per second and not bytes or other thing, that gives $unitSize \cdot rate \cdot channels$ of bandwidth per stream (you can just multiply this), which equals ~79.7KiB/s ~= 0.08MiB/s. * Audio specs are rate=40800, channels=1 (mono), default mic input (no chooser) and format=pcm16bit (equivalent to s16le). Assuming the rate refers to uits (pcm16) per second and not bytes or other thing, that gives $unitSize \cdot rate \cdot channels$ of bandwidth per stream (you can just multiply this), which equals ~79.7KiB/s ~= 0.08MiB/s.
* Stopping any of the streams causes the app to crash, take it as a way to close it for now. * Stopping any of the streams causes the app to crash, take it as a way to close it for now.