Skip to content

NegativeArraySizeException in nl.sense_os.service.ambience.NoiseSensor.NoiseSampleJob.audioToFloat(byte[] buffer, int readBytes) #81

@tracts-root

Description

@tracts-root

Looks like NoiseSensor.NoiseSampleJob.run winds up with a negative value for readCount variable, but calls audioToFloat anyway.

The exception is caught within run() but should probably be handled better?

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