Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
alnitak committed Oct 11, 2024
1 parent a6df93f commit 3c2c90a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions lib/src/bindings/audio_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:flutter_soloud/src/bindings/audio_data_ffi.dart'
if (dart.library.js_interop) 'audio_data_web.dart';
import 'package:flutter_soloud/src/bindings/soloud_controller.dart';
import 'package:flutter_soloud/src/exceptions/exceptions.dart';
import 'package:flutter_soloud/src/soloud.dart';
import 'package:meta/meta.dart';

/// The way the audio data should be acquired.
Expand Down Expand Up @@ -89,9 +90,7 @@ enum GetSamplesKind {
/// }
/// ```
///
/// To smooth FFT values use [SoLoud.instance.setFftSmoothing].
///
// TODO(all): make AudioData singleton?
/// To smooth FFT values use [SoLoud.setFftSmoothing].
@experimental
class AudioData {
/// Initialize the way the audio data should be acquired.
Expand Down
4 changes: 2 additions & 2 deletions lib/src/bindings/bindings_player.dart
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ abstract class FlutterSoLoud {
// waveform audio data
// ///////////////////////////////////////

/// See [SoLoud.readSamplesFromFile] for details.
/// See SoLoud.readSamplesFromFile for details.
@mustBeOverridden
Float32List readSamplesFromFile(
String completeFileName,
Expand All @@ -862,7 +862,7 @@ abstract class FlutterSoLoud {
bool average = false,
});

/// See [SoLoud.readSamplesFromMem] for details.
/// See SoLoud.readSamplesFromMem for details.
@mustBeOverridden
Float32List readSamplesFromMem(
Uint8List buffer,
Expand Down
2 changes: 1 addition & 1 deletion lib/src/soloud.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ interface class SoLoud {
/// will be decreased with an amplitude between the old and the new value.
/// This will resul on a less shaky visualization.
///
/// [smooth] must be in the [0.0 ~ 1.0] range.
/// [smooth] must be in the 0.0 ~ 1.0 range.
/// 0 = no smooth
/// 1 = full smooth
/// the new value is calculated with:
Expand Down

0 comments on commit 3c2c90a

Please sign in to comment.