Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThreadSource error #15

Open
AndreMPCosta opened this issue Sep 22, 2015 · 8 comments
Open

ThreadSource error #15

AndreMPCosta opened this issue Sep 22, 2015 · 8 comments
Labels

Comments

@AndreMPCosta
Copy link

AndreMPCosta commented Sep 22, 2015

When I try to run the sinslider example I get this error:

I/python (13506): File "/home/andre/.buildozer/android/app/main.py", line 5, in
I/python (13506): File "audiostream/sources/wave.pyx", line 5, in init audiostream.sources.wave (audiostream/sources/wave.c:3438)
I/python (13506): ImportError: cannot import name ThreadSource

Any workaround for this?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26871697-threadsource-error?utm_campaign=plugin&utm_content=tracker%2F77121&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77121&utm_medium=issues&utm_source=github).
@mpollow
Copy link

mpollow commented Sep 24, 2015

I am having the same issue on Android 5. With Android 4.4.2 everything is working fine. What is your version of Android?

@AndreMPCosta
Copy link
Author

I am at 5.0.2.

Well I need to record sound and not generate samples so I didn't try to fix this issue. I'm not getting much success on recording though. Are you able to record via microphone on Android 5? (if you tried)

@mpollow
Copy link

mpollow commented Sep 24, 2015

So it possibly is an Android 5 issue. Hopefully someone with a deeper insight can check this out.

Never tried to record audio, so I cannot comment on this.

@AndreMPCosta
Copy link
Author

Thanks for your input @Bambooeater
Lets hope someone can check this out.

@oceanpix
Copy link

oceanpix commented Jan 7, 2017

Hi! I was wondering if somebody found a solution for this issue, I'm having the same issue on android 6 marshmallow / nexus 5.
It's so sad not being able to use this module for the manage the audio streams in kivy :(

@AndreMPCosta
Copy link
Author

I could record without problems, I didn't try anymore generating samples because I didn't need that for my project. I don't know if anyone managed to solve this problem.

@oceanpix
Copy link

oceanpix commented Jan 7, 2017

Thank you for your answer Andre! I'm actually working on a project that need both input and output audio streams in Android and I was kind of hoping to use this module for that.
I'm pretty new in app development but for my understanding the only option at this point is to figure out a way of how to directly drive pyjnius to get these audio streams in my kivy app instead

@Julian-O Julian-O added the bug label Dec 3, 2023
@Julian-O
Copy link

Julian-O commented Dec 3, 2023

Is this still an issue? Android 5 is pretty dated, and I am hoping we can close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants