Comments (4)
Sorry for the delay, I'll try to take a look at it all soon. I'm not ignoring you :)
from pulse-binding-rust.
No worries, I've been quite busy myself as well :)
from pulse-binding-rust.
Looking for the support of that as well :)
from pulse-binding-rust.
I've just started extensively using this crate, and the ergonomics of the API are difficult around these borrowed structs.
Since there's no public way to copy/clone them, we can only read them during the closures, and that makes it very difficult to consume...
For those curious, my workaround was to copy all of the structs, or create wrappers for some of them, and then inside the closures create instances of my struct copies. This isn't nice at all - if this crate changes anything then it'll break my structs, but it works for me for now.
I'm all for something like #43 - but instead of using a fork of this project with that addition (or just straight up duplicating the structs themselves), can we instead make some changes here? 🙏
from pulse-binding-rust.
Related Issues (20)
- Possible undefined behavior due to missing `Send` for callbacks HOT 6
- question, I'm stuck to just retrieve the sink infos HOT 6
- Error: invalid argument when calling Simple.read() HOT 1
- Record Stream never calls read callback. HOT 5
- Assertion 'q->front' failed at pulsecore/queue.c:81, function pa_queue_push(). Aborting. Aborted (core dumped) HOT 4
- Lifetime mismatch around .get() HOT 3
- get_str documentation inaccurate HOT 3
- libpulse-binding build on docs.rs fails for version 2.24 HOT 2
- Soundness issue HOT 4
- Documentation typo? HOT 1
- CI failure - floating point calculation assertions HOT 6
- Use `FnOnce` in API where applicable
- CI failure, again... HOT 1
- Possible UB in `get_api` function HOT 6
- Cross compile error HOT 1
- Missing documentation HOT 4
- Segfault occurs when calling `stream.set_write_callback(None)` inside write callback HOT 3
- How to use ListResult? HOT 2
- Cannot send mainloop across threads HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulse-binding-rust.