Skip to content

Issue on MAC OSX #30

@bonomip

Description

@bonomip

site-packages/numpy/core/numeric.py", line 223, in ones
a = empty(shape, dtype, order)
TypeError: 'float' object cannot be interpreted as an index

caused by line 130 of "src/stream_reader_sounddevice.py".

solved by adding a hard cast to int.

self.data_windows_to_buffer = int(data_windows_to_buffer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions