Skip to content

float vs uint16 #80

Description

@DrEVILish

volume.cpp SetFadervalue() accepts a float, then calls
helper.cpp Fadervalue2dBfs() which expects a uint16_t.
FaderValue2dbfs then most of that function does its math in floats. Float -> uint16 loses precision and takes extra code steps converting types.

Unless there is a specific reason for the type casting.

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