Skip to content

Commit b12ed83

Browse files
authored
Merge pull request #178 from ziptechnologiesllc/177-fix-macos-init
Use native controller call to check ready state.
2 parents 90f7b7f + a543947 commit b12ed83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/soloud.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ interface class SoLoud {
361361
/// get the visualization flag from the player on C side.
362362
/// Eventually we can set this as a parameter during the
363363
/// initialization with some other parameters like `sampleRate`
364-
_isVisualizationEnabled = getVisualizationEnabled();
364+
_isVisualizationEnabled = _controller.soLoudFFI.getVisualizationEnabled();
365365

366366
// Initialize [SoLoudLoader]
367367
_loader.automaticCleanup = automaticCleanup;

0 commit comments

Comments
 (0)