Liam Appelbe
Liam Appelbe
> 1)Should this be integrated into package: coverage, or would it be better as a standalone tool? It should be integrated into the formatter functions at first, then we'll add...
The one Brian ran into in cupertino_http was [URLSession:downloadTask:didFinishDownloadingToURL:](https://developer.apple.com/documentation/foundation/nsurlsessiondownloaddelegate/1411575-urlsession). It's called after a download to a temporary file is complete. The temporary file will be deleted after the callback returns....
Related: https://github.com/dart-lang/native/issues/1338. If you set a minimum target version, then ffigen won't generate bindigns for APIs that were deprecated before that version.
That would be a good start. I was also thinking of translating every method starting with "init" into a constructor.
Decided to just translate `Foo.new1()` into `Foo()`, as Brian suggests. Translating all `init` methods too would be a bit confusing for users, wouldn't improve ergonomics that much, and might cause...
Hmmm. This should happen automatically. Maybe the definition of NSString in the internal headers is doing something weird, and not explicitly extending NSObject? I suppose we can hard code this...
I would expect that these sorts of array declarations should be no problem for ffigen. It's just running clang on the header, so anything that clang can understand, ffigen should...
How do I convert the raw data obtained by the microphone into the data required for the spectrogram?
Need some details about what the raw data looks like. What is the Dart type? How is it encoded? Assuming it's just, say, an [`Int16List`](https://api.flutter.dev/flutter/dart-typed_data/Int16List-class.html), you just need to convert...
How do I convert the raw data obtained by the microphone into the data required for the spectrogram?
You upload hasn't worked, so I can't actually see the data. It looks like the audio_streamer plugin already gives you a `List`, so you probably don't actually need to do...
How do I convert the raw data obtained by the microphone into the data required for the spectrogram?
yep, looks like it's already in the correct format. Have you tried running it through `STFT.stream`?