Skip to content

Simpleaudio causing segmentation fault #7

@KhachDavid

Description

@KhachDavid

I am running the python SDK example code:

OS: Ubuntu 24.04
Python version: 3.12.3

In the example code running this below:

f.microphone.play_audio_background(audio_data)

image

When removing this return value

return simpleaudio.play_buffer(audio_data, num_channels=1, bytes_per_sample=2, sample_rate=sample_rate)

The segmentation fault is gone but I cannot hear the audio.

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