Skip to content

SoundRecorder Documentation wrong #19

Closed

Description

@zxl777

The sample code is handwritten and has not been actually verified.
When I actually ran it, I found two spelling errors that caused it to fail to compile.

In addition, this example cannot actually stop recording. I have to delete recorder.onStopped to recorder.stop().

Can you try to improve the source code of this document and example, thank you.

Activity

  1. mdkess commented on Jul 25, 2020

    @mdkess

    https://github.com/bsutton/sounds/wiki/SoundRecorder#permissions also has references to .start() instead of .record() - I suspect this is because of the fork.

  2. bsutton commented on Aug 6, 2020

    @bsutton
    Owner

    Thanks for the feed back.
    I've now checked that all the snippets on the recording page compile.

    The api was a bit of a moving target when the doco was originally written.

    Any other reviews of the doco would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions