mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-01 11:04:28 +01:00
A microphone button in the empty search field listens to the room and names the song, on phones and desktop. - The audio fingerprint and the Shazam request run in Rust behind a new recognize_song data job, so every platform shares one path. - Listening sends the audio so far at 4, 8 and 12 seconds and stops at the first match; quiet or short clips are reported instead of sent. - A match can be played from the library (by ISRC, then title and artist), searched in Mornye, or opened in Shazam. Recent matches are kept in a local history. - Android asks for the microphone only when listening starts; iOS and macOS gain the microphone usage description and entitlement. The Linux package recommends pulseaudio-utils for capture.
54 lines
2.6 KiB
C++
54 lines
2.6 KiB
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <app_links/app_links_plugin_c_api.h>
|
|
#include <audioplayers_windows/audioplayers_windows_plugin.h>
|
|
#include <bonsoir_windows/bonsoir_windows_plugin_c_api.h>
|
|
#include <connectivity_plus/connectivity_plus_windows_plugin.h>
|
|
#include <desktop_drop/desktop_drop_plugin.h>
|
|
#include <dynamic_color/dynamic_color_plugin_c_api.h>
|
|
#include <ffmpeg_kit_flutter_new_audio/f_fmpeg_kit_flutter_plugin.h>
|
|
#include <flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h>
|
|
#include <media_kit_libs_windows_audio/media_kit_libs_windows_audio_plugin_c_api.h>
|
|
#include <permission_handler_windows/permission_handler_windows_plugin.h>
|
|
#include <record_windows/record_windows_plugin_c_api.h>
|
|
#include <share_plus/share_plus_windows_plugin_c_api.h>
|
|
#include <url_launcher_windows/url_launcher_windows.h>
|
|
#include <volume_controller/volume_controller_plugin_c_api.h>
|
|
|
|
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
|
AppLinksPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("AppLinksPluginCApi"));
|
|
AudioplayersWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("AudioplayersWindowsPlugin"));
|
|
BonsoirWindowsPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("BonsoirWindowsPluginCApi"));
|
|
ConnectivityPlusWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin"));
|
|
DesktopDropPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("DesktopDropPlugin"));
|
|
DynamicColorPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("DynamicColorPluginCApi"));
|
|
FFmpegKitFlutterPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("FFmpegKitFlutterPlugin"));
|
|
FlutterSecureStorageWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("FlutterSecureStorageWindowsPlugin"));
|
|
MediaKitLibsWindowsAudioPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("MediaKitLibsWindowsAudioPluginCApi"));
|
|
PermissionHandlerWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
|
|
RecordWindowsPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("RecordWindowsPluginCApi"));
|
|
SharePlusWindowsPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi"));
|
|
UrlLauncherWindowsRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
|
|
VolumeControllerPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("VolumeControllerPluginCApi"));
|
|
}
|