Skip to content

Setting of format, mix_rate and stereo flag on mic_record #470

@goatchurchprime

Description

@goatchurchprime

Which demo project is affected:
godot-demo-projects/audio/mic_record

Description:
The demo and instructions show how to print out the format, mix_rate and stereo flags, but not how to set any of them.

The AudioStreamSample class has a format option FORMAT_IMA_ADPCM, which would compress the signal. Even being able to set the stereo flag to false would save 50% of the bandwidth, as it's generally not relevant when you have a single microphone and therefore should be part of the example.

(If there is no way to set these values, maybe this issue should be filed with the core system.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions