Skip to content

No audio input on macOS #470

@nicocrm

Description

@nicocrm

Package version
5.2.0

Environment

  • OS: macOS 15.3

Describe the bug

No audio input is captured. A sound file is produced of the correct duration but without any audio.

To Reproduce

Here is the configuration I used... I tried a few different options, commented out here, but they all produced the same result.

    await audioRecord.start(
      RecordConfig(
        // encoder: AudioEncoder.aacLc,
        // encoder: AudioEncoder.wav,
        // device: InputDevice(
        //     id: 'BuiltInMicrophoneDevice',
        //     label: 'BuiltInMicrophoneDevice'),
      ),
      path: filePath,
    );

Additional context

It works on the iOS simulator, and on chrome.
Only the macOS app does not capture any input.
I used another library (flutter_sound) and it worked OK, but I would prefer using this one as it has less dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions