setBalance method
Sets the balance of the audio playback.
balance: The desired balance level (-1.0 for full left, 0.0 for center, 1.0 for full right).
Implementation
Future<void> setBalance(double balance) async {
await audioChunkPlayer.setBalance(balance); // Set the balance for the audio player.
}