mic_stream 0.0.8 copy "mic_stream: ^0.0.8" to clipboard
mic_stream: ^0.0.8 copied to clipboard

outdated

Provides a tool to get the microphone input as Byte Array Stream

0.0.1 #

Initial release - Android support only!

Provides the Class Microphone inheriting StreamController

Constructor takes the Sample Rate as optional argument.

Provides methods to:
  • platformVersion: Getter to return current platform version
  • bufferSize: Getter to return current buffer size (calculated from the sample size)
  • isRecording: Returns the state of the class
  • sampleRate: Setter to manually update the sample rate (use with caution, though)
  • close: Closes the internal StreamController
  • toString: Pass-through to internal StreamController

0.0.2 #

  • Getter for internal stream: microphone.stream

0.0.3 #

  • pause: Pauses writing data to the stream
  • resume: Resumes a paused stream

0.0.4 #

  • Changed Values for default and maximum sample rate (to 32 kHZ and 48 kHZ, respectively)

0.0.5 #

  • Setter for microphone (audioSource, sampleRate, channelConfig, audioFormat)

0.0.6 #

  • Smaller changes

0.0.7 #

  • Fixed crucial bug from 0.0.6

0.0.8 #

  • Calculations of durations, as multi-threading currently makes it not working. Will be included in future releases
  • Some unit tests (Will be extended in the future to fully ensure the plugin's working)
92
likes
0
pub points
91%
popularity

Publisher

unverified uploader

Provides a tool to get the microphone input as Byte Array Stream

Homepage

License

unknown (license)

Dependencies

flutter, simple_permissions

More

Packages that depend on mic_stream