Skip to content

Consider moving argument type check to JS side #84

Closed
@b-ma

Description

@b-ma
  • Easier to implement in JS compared to Rust
  • Should simplify the Rust code to a great extent
  • Handle type coercion in a more idiomatic way (i.e. setValueCurveAtTime should support Array, Float32Array, Float64Array, etc.)

See AudioNode constructor option argument as an example (cf. 4b2dc95)

  • Handle audio node context argument
  • Handle audio nodes options argument
  • Handle AudioNodeOption

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