question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash on `MicrophoneAudioSource.read()`

See original GitHub issue

I have an issue with the audio access with the example code from the README, probably due to my audio setup:

>>> mic.read()
torch.Size([4, 512])
python: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed.
Aborted (core dumped)

This is strange because I’m running this in a Docker container and I also use the sounddevice library without problems in another project in the same container.

_Originally posted by @KannebTo in https://github.com/juanmc2005/StreamingSpeakerDiarization/issues/8#issuecomment-949453753_

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
KannebTocommented, Oct 22, 2021

queue.get() waits until an item is available.

Yes I can make a PR at some point. But I would like to understand the problem first.

0reactions
juanmc2005commented, Dec 27, 2021

This should be solved in #19. Feel free to reopen if needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Record tab crashes when i click my microphone
So i went to see it on the record tab, but when i click that mic (doesnt happen when i click other ones),...
Read more >
reconnect microphone on pulseaudio crash #13030 - GitHub
Description Very often when I try to connect to conference calls brave is unable to find any microphones on my device.
Read more >
Microphone crashing when change input source
I am using the microphone, and found a lot of issues that crashes the app when the input source did change. The error...
Read more >
PulseAudio/Troubleshooting - ArchWiki
If PulseAudio uses the wrong microphone, and changing the Input Device with Pavucontrol did not help, take a look at alsamixer. It seems...
Read more >
Crash after connecting USB mic - Audacity Forum
This can be avoided by Transport / Rescan Audio Devices. But I often forget to do that. Is it possible to make Audacity...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found