Giter Site home page Giter Site logo

daniilalpha / minisound Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 10.33 MB

A high-level real-time audio playback library for Flutter, based on miniaudio.

Kotlin 0.03% Dart 21.97% CMake 8.74% C++ 5.34% C 9.04% HTML 0.48% Ruby 0.51% JavaScript 31.11% Makefile 21.71% Python 1.03% TypeScript 0.05%
audio audio-playback audio-playback-library dart dart-package dart3 flutter flutter-package miniaudio realtime-audio

minisound's Issues

1.5.0 Build Fails on Windows

Saw the release and went to try from the main repository and now seeing

xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(19,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(19,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(19,39): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(18,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(19,39): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(19,39): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(23,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(23,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(23,41): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(22,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(23,41): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(23,41): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(27,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(27,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(27,43): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(26,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(27,43): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(27,43): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(31,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(31,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(31,43): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(30,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(31,43): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(31,43): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(37,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(37,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(37,37): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(36,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(37,37): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(37,37): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(41,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(41,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(41,36): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(40,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(41,36): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(41,36): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(45,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(45,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(45,40): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(44,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(45,40): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\generator.c(45,40): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\recorder.c(97,26): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details. [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\recorder.c(158,9): warning C4244: 'function': conversion from 'float' to 'const int', possible loss of data [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(14,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(14,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(14,31): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(13,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(14,31): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(14,31): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(18,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(18,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(18,26): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(17,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(18,26): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(18,26): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(22,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(22,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(22,27): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(21,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(22,27): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(22,27): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(26,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(26,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(26,27): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(25,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(26,27): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(26,27): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(30,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(30,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(30,27): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(29,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(30,27): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(30,27): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(34,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(34,9): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(34,27): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(33,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(34,27): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(34,27): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(38,5): error C2143: syntax error: missing ')' before '(' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(38,12): error C2059: syntax error: ')' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(38,32): error C2143: syntax error: missing ')' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(37,1): error C2091: function returns function [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(38,32): error C2143: syntax error: missing '{' before '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]
xminisound\minisound\example\windows\flutter\ephemeral\.plugin_symlinks\minisound_ffi\src\src\sound.c(38,32): error C2059: syntax error: '==' [xminisound\minisound\example\build\windows\x64\plugins\minisound_ffi\shared\minisound_ffi.vcxproj]

No need to include CMakeFiles for web.

If you keep minisound_ffi/src/build the makefile was setup to build with make build_weblib, then automatically embed the loader and move the files to the minisound_web folder. There is no need for a custom task that causes inclusion of temp files to repository.

Repeated playback error

When the music has not been played yet, clicking play again will cause an error.

Win10 x64
PS C:\Windows\system32> flutter --version
Flutter 3.10.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9cd3d0d9ff (9 weeks ago) • 2023-05-23 20:57:28 -0700
Engine • revision 90fa3ae28f
Tools • Dart 3.0.2 • DevTools 2.23.1
PS C:\Windows\system32>

code

import 'package:flutter/material.dart';
import "package:minisound/minisound.dart" as minisound;

class Test2 extends StatefulWidget {
  const Test2({Key? key}) : super(key: key);

  @override
  _Test2State createState() => _Test2State();
}

class _Test2State extends State<Test2> {
  @override
  Widget build(BuildContext context) {
    final engine = minisound.Engine();

    return Scaffold(
      appBar: AppBar(
        title: const Text('Test Play'),
      ),
      body: ElevatedButton(
        child: const Text("play"),
        onPressed: () async {
          await engine.init();
          final sound = await engine
              .loadSoundFile("C:\\Users\\FangJun\\Music\\我会好好的 - 王心凌.mp3");
          await engine.start();
          sound.play();
        },
      ),
    );
  }
}

error:

Flutter assets will be downloaded from https://mirrors.tuna.tsinghua.edu.cn/flutter. Make sure you trust this source!
Launching lib\main.dart on Windows in debug mode...
√  Built build\windows\runner\Debug\fmusic.exe.
Connecting to VM Service at ws://127.0.0.1:10766/YcJzBaabtFU=/ws
DEBUG: Loading library: user32.dll
DEBUG: Loading symbol: GetForegroundWindow
DEBUG: Loading symbol: GetDesktopWindow
DEBUG: Loading library: advapi32.dll
DEBUG: Loading symbol: RegOpenKeyExA
DEBUG: Loading symbol: RegCloseKey
DEBUG: Loading symbol: RegQueryValueExA
DEBUG: Loading library: ole32.dll
DEBUG: Loading symbol: CoInitialize
DEBUG: Loading symbol: CoInitializeEx
DEBUG: Loading symbol: CoUninitialize
DEBUG: Loading symbol: CoCreateInstance
DEBUG: Loading symbol: CoTaskMemFree
DEBUG: Loading symbol: PropVariantClear
DEBUG: Loading symbol: StringFromGUID2
DEBUG: Attempting to initialize WASAPI backend...
DEBUG: Loading library: kernel32.dll
DEBUG: Loading symbol: VerifyVersionInfoW
DEBUG: Loading symbol: VerSetConditionMask
DEBUG: Loading library: avrt.dll
DEBUG: Loading symbol: AvSetMmThreadCharacteristicsA
DEBUG: Loading symbol: AvRevertMmThreadCharacteristics
DEBUG: System Architecture:
DEBUG:   Endian: LE
DEBUG:   SSE2:   YES
DEBUG:   AVX2:   YES
DEBUG:   NEON:   NO
DEBUG: [WASAPI] Trying IAudioClient3_InitializeSharedAudioStream(actualPeriodInFrames=441)
DEBUG:     defaultPeriodInFrames=441
DEBUG:     fundamentalPeriodInFrames=441
DEBUG:     minPeriodInFrames=441
DEBUG:     maxPeriodInFrames=441
DEBUG: [WASAPI] Using IAudioClient3
DEBUG:     periodSizeInFramesOut=441
INFO: [WASAPI]
INFO:   扬声器 (USB Audio Device) (Playback)
INFO:     Format:      32-bit IEEE Floating Point -> 32-bit IEEE Floating Point
INFO:     Channels:    2 -> 2
INFO:     Sample Rate: 44100 -> 44100
INFO:     Buffer Size: 441*3 (1323)
INFO:     Conversion:
INFO:       Pre Format Conversion:  NO
INFO:       Post Format Conversion: NO
INFO:       Channel Routing:        NO
INFO:       Resampling:             NO
INFO:       Passthrough:            YES
INFO:       Channel Map In:         {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
INFO:       Channel Map Out:        {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
[engine.c:63 info] engine initialized successfully!
[engine.c:109 info] sound loaded successfully!
[engine.c:83 info] engine started successfully
[engine.c:132 info] sound played successfully!
DEBUG: Loading library: user32.dll
DEBUG: Loading symbol: GetForegroundWindow
DEBUG: Loading symbol: GetDesktopWindow
DEBUG: Loading library: advapi32.dll
DEBUG: Loading symbol: RegOpenKeyExA
DEBUG: Loading symbol: RegCloseKey
DEBUG: Loading symbol: RegQueryValueExA
DEBUG: Loading library: ole32.dll
DEBUG: Loading symbol: CoInitialize
DEBUG: Loading symbol: CoInitializeEx
DEBUG: Loading symbol: CoUninitialize
DEBUG: Loading symbol: CoCreateInstance
DEBUG: Loading symbol: CoTaskMemFree
DEBUG: Loading symbol: PropVariantClear
DEBUG: Loading symbol: StringFromGUID2
DEBUG: Attempting to initialize WASAPI backend...
DEBUG: Loading library: kernel32.dll
DEBUG: Loading symbol: VerifyVersionInfoW
DEBUG: Loading symbol: VerSetConditionMask
DEBUG: Loading library: avrt.dll
DEBUG: Loading symbol: AvSetMmThreadCharacteristicsA
DEBUG: Loading symbol: AvRevertMmThreadCharacteristics
DEBUG: System Architecture:
DEBUG:   Endian: LE
DEBUG:   SSE2:   YES
DEBUG:   AVX2:   YES
DEBUG:   NEON:   NO
DEBUG: [WASAPI] Trying IAudioClient3_InitializeSharedAudioStream(actualPeriodInFrames=441)
DEBUG:     defaultPeriodInFrames=441
DEBUG:     fundamentalPeriodInFrames=441
DEBUG:     minPeriodInFrames=441
DEBUG:     maxPeriodInFrames=441
DEBUG: [WASAPI] Using IAudioClient3
DEBUG:     periodSizeInFramesOut=441
INFO: [WASAPI]
INFO:   扬声器 (USB Audio Device) (Playback)
INFO:     Format:      32-bit IEEE Floating Point -> 32-bit IEEE Floating Point
INFO:     Channels:    2 -> 2
INFO:     Sample Rate: 44100 -> 44100
INFO:     Buffer Size: 441*3 (1323)
INFO:     Conversion:
INFO:       Pre Format Conversion:  NO
INFO:       Post Format Conversion: NO
INFO:       Channel Routing:        NO
INFO:       Resampling:             NO
INFO:       Passthrough:            YES
INFO:       Channel Map In:         {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
INFO:       Channel Map Out:        {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
Lost connection to device.
[engine.c:63 i
Exited (sigterm)

111

Will it work on Macos too?

I ran it on mac os and got this error.

2023-08-02 11:10:43.762 xcodebuild[27539:261165] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled) /Users/ijungho/.pub-cache/hosted/pub.dev/minisound_ffi-1.1.0/macos/Classes/minisound_ffi.c:3:10: fatal error: '../../src/minisound_ffi.c' file not found #include "../../src/minisound_ffi.c" ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.

is not working on IOS

It's work well on Android,
but i got this error 'Lexical or Preprocessor Issue (Xcode): '../../src/external/milo/src/milo.c' file not found
/Users/patrickImusic/.pub-cache/hosted/pub.dev/minisound_ffi-1.3.8/ios/Classes/minisound_ffi.c:6:9'
when i'm trying to run on IOS

Circular buffer no longer seamless.

It seems something changed with the way frames are read or pruned from the circular buffer. Now there is leftover audio when starting a new recording after the first has played.

loadSound supposed to work ?

Hello!

Having trouble to try this function. When loading a Uint8List of data the app crashes. Any clue ?

INFO:   Built-in Audio Digital Stereo (HDMI) (Playback)
INFO:     Format:      32-bit IEEE Floating Point -> 32-bit IEEE Floating Point
INFO:     Channels:    2 -> 2
INFO:     Sample Rate: 48000 -> 48000
INFO:     Buffer Size: 1440*1 (1440)
INFO:     Conversion:
INFO:       Pre Format Conversion:  NO
INFO:       Post Format Conversion: 
Lost connection to device.
Failed to send request: {"jsonrpc":"2.0","id":"20","method":"getObject","params":{"isolateId":"isolates/3140592888150543","objectId":"libraries/@557171358"}}

Add an ability to control delay between sound looping cycles

I need a metronome for my mobile/web application but playing sounds in Ticker is slightly inconsistent due to low fps on some weak devices. It would be great if delay between lopping cycles was handled on a native side because regular looping is handled there anyway.

Voice is high pitched on Web.

It seems something changed with the data types after the PR? There are pitch changes happening with the recorder now like it sounds when someone inhales helium from a balloon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.