Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/jnqnfe/pulse-binding-rust

FFI and bindings for using PulseAudio from the Rust programming language.
https://github.com/jnqnfe/pulse-binding-rust

mainloops: add 'supports_rtclock' property

Needed to correctly duplicate some PA time event handling code in the
binding, which is to be do...

1da01ae147f622ede16f9f9ecbe36c227022eac2 authored over 6 years ago by Lyndon Brown <[email protected]>
callbacks: simplify single-use proxies a little

df2698004808bcf9d9aec5d3330a519b3c833287 authored over 6 years ago by Lyndon Brown <[email protected]>
news: rename 'news' file to 'changelog.md' and convert format

5a9090bfb98b55905329b5f1d88ff7131e26c71c authored over 6 years ago by Lyndon Brown <[email protected]>
news: prep for next release

d3003444fc0db047c7a9676888baf714398919d2 authored over 6 years ago by Lyndon Brown <[email protected]>
update versions

54c2cacffe95d238850a980c2a3c94cde1a5c54d authored over 6 years ago by Lyndon Brown <[email protected]>
doc typo fixes

ebffce53e0878bbbe1969922f9c809663d1450a8 authored over 6 years ago by Lyndon Brown <[email protected]>
operation: document possible memory leak

5869b3f55377459c11df5c44f85cd31bcbb496f8 authored over 6 years ago by Lyndon Brown <[email protected]>
proplist: output debug string with comma separator instead of newline

Dumping introspection data, commas are used as separators, except with
proplists, which is becau...

074e9bf9023dc5685143130b76c9b53cb98aae24 authored over 6 years ago by Lyndon Brown <[email protected]>
proplist: output debug string in list style

the proplist is a list, so create a debug string in the style
`[<entry1>, ...]` instead of `Prop...

7ff49936d7eab6923d3b1b5f645c021b506aa85a authored over 6 years ago by Lyndon Brown <[email protected]>
change target version doc comment

44f4d5de7a8759c12aeb09a20ed6d0eaa1c778cc authored over 6 years ago by Lyndon Brown <[email protected]>
update declared version compatability to v12

9dbc61b6ff6efd7be63ad43a0d5492541f4c17e8 authored over 6 years ago by Lyndon Brown <[email protected]>
update copy of C includes

to PA v12

Asside from the version update, the changes are to documentation only -
largely addit...

1d8ed3526d7444a671f1fa1b5ea1786c681b8b84 authored over 6 years ago by Lyndon Brown <[email protected]>
update versions specified in readme usage examples

03461aa1b2b853ecb3f6471e94ccf1b33e9c27b8 authored over 6 years ago by Lyndon Brown <[email protected]>
news: prep for next release

e296ee614fd355aac039d1442dee66cd30b236c0 authored over 6 years ago by Lyndon Brown <[email protected]>
update versions

154e72828da21dfab20ba57e5c5b828eb22742c4 authored over 6 years ago by Lyndon Brown <[email protected]>
context: ext_*: simplify usage

Just as doen for introspection

461b8acc3c4a4d50e95388bacbc3cf908af0f884 authored over 6 years ago by Lyndon Brown <[email protected]>
remove unnecessary whitespace

7bd20da701ab1f32a9512e590a58e78d4f7697dc authored over 6 years ago by Lyndon Brown <[email protected]>
introspect: simplify usage

Instead of transmuting from C structs, let's do a more involved conversion;
less efficient, but ...

70a0f4aecaf1244748823a9f6a369fb7c2ced6f9 authored over 6 years ago by Lyndon Brown <[email protected]>
introspection: remove unecessary converters

The `From` trait was implemented for introspection objects in both
directions between the bindin...

7b464ee37166675c825a1e4114de5267b5c409e6 authored over 6 years ago by Lyndon Brown <[email protected]>
context: ext_*: remove unecessary converters

just as with introspection

dd3b527e41d9e27663b87b714df0c51ae296f08d authored over 6 years ago by Lyndon Brown <[email protected]>
support closures for callbacks

Replacing the raw C function and userdata pointer pairs with support for
closures, for each uniq...

42e7634bdcb470b274d4a9ee6b941a91f568364d authored over 6 years ago by Lyndon Brown <[email protected]>
volume: rename CVolume to ChannelVolumes

b32c29c3c0cd3aa60742bbb6975f51ca8250544d authored over 6 years ago by Lyndon Brown <[email protected]>
format: simplify

45be6503732e17cef25c9e47cd3f1a7ba50627aa authored over 6 years ago by Lyndon Brown <[email protected]>
introspect: purge autoload API

deprecated since 2009

already not offered by binding

b72f44b75fa671466ef35ffdb85f547dc80d8ac3 authored over 6 years ago by Lyndon Brown <[email protected]>
context: make self immutable for some methods

Previous commits have:
1) Changed a large number of C API functions to take const pointers,
inli...

7135bcd7cc993bd14d7730b5f3dd12bb46d5c9c4 authored over 6 years ago by Lyndon Brown <[email protected]>
context: ext_*: add missing struct converters

f8ac99968ac88f063c3703ba50a3f14e239519cd authored over 6 years ago by Lyndon Brown <[email protected]>
stream: tidy up event names

move common event names into submodule, move documentation to stream's
set_event_callback method

bc3edd382b3a163375ed4c06f1cf4c7a98fda8a6 authored over 6 years ago by Lyndon Brown <[email protected]>
simplify operation object usage

assert pointers are not null, and remove option wrapper

032f10c5d8d47cec32a67cf8e3ecc1dcfdbfd6fd authored over 6 years ago by Lyndon Brown <[email protected]>
stream: rename 'plist' param to 'proplist'

a6ac6ca39c6ad92a5bc2451954d8e2290d550327 authored over 6 years ago by Lyndon Brown <[email protected]>
news: prep for next release

1fa351c938aab6be578b34aaaf89edc56912aa9f authored over 6 years ago by Lyndon Brown <[email protected]>
stream: rename proplist_remove to remove_proplist

09dac841371d0d1a3d1fcf33916df6c020b8f293 authored over 6 years ago by Lyndon Brown <[email protected]>
news: typo fixes

039f7864f961230d100834088f791a696e8e2711 authored over 6 years ago by Lyndon Brown <[email protected]>
assert lock() not called in event loop thread

284b096a2fea6db4b0befad6d844d60d47782538 authored over 6 years ago by Lyndon Brown <[email protected]>
update versions

cef93e2c9733f7df41111a6373ecb19ddc5c6ffc authored over 6 years ago by Lyndon Brown <[email protected]>
Revert "format/Info: internalise ptr attribute"

Users of this struct should actually have access to this raw object

While without it you can se...

c33d189474fc2bc6222ba6e6da0ef96e603d19d2 authored over 6 years ago by Lyndon Brown <[email protected]>
news: prep for next release

945656fde0bbc6e6807bf1f790500c60cc08590a authored over 6 years ago by Lyndon Brown <[email protected]>
stream: fix use-after-free with get_context

should have used from_raw_weak to avoid unref'ing the object on dropping
our wrapper

c61c10980c22668f5d6b9d8c3946cc76af312e9b authored over 6 years ago by Lyndon Brown <[email protected]>
update versions

779979412902658361202eee54c95c3aea908fb8 authored over 6 years ago by Lyndon Brown <[email protected]>
stream: fix use-after-free with get_format_info

should have used from_raw_free to avoid freeing on dropping our wrapper

e6930e16573f0b6d12d6628ba5de59147d6f9e95 authored over 6 years ago by Lyndon Brown <[email protected]>
stream: consistency fix 'list' => 'plist'

param name inconsistent with other function and with documentation

9f3072f1a735f1e2fbde37fa8981283ce91a15f8 authored over 6 years ago by Lyndon Brown <[email protected]>
volume: fix doc typo

37f228e2dbc6704073e7ab8231593f83587449e9 authored over 6 years ago by Lyndon Brown <[email protected]>
news: prep for next release

1e5bd70ee7055c3927b9233cd94949798d2f4092 authored over 6 years ago by Lyndon Brown <[email protected]>
news: typo fix

ffa7f2f05edd7dbb2145f666ed9e44889b21934e authored over 6 years ago by Lyndon Brown <[email protected]>
fix lifetime on mainloop get_api methods

lifetime elision linked the reference to the `self` reference, extending
the life of the `self` ...

eacbdb3462c042181bb783544e51d5902f473fb7 authored over 6 years ago by Lyndon Brown <[email protected]>
sample: change Format functions to methods

don't know why this wasn't already so, I seem to have overlooked them when
prepping the v1.0 rel...

f6b1e22dbb63dc6f5c389480f0d0bdf7cbcae3e5 authored over 6 years ago by Lyndon Brown <[email protected]>
glib-mainloop: return ref from get_api not raw pointer

out of sync with standard/threaded mainloops

070776a75f4b29f68277f4583062e0a8f51bab0b authored over 6 years ago by Lyndon Brown <[email protected]>
update versions

dc260673286108c74fbaa68f5c8bf399ed7cb090 authored over 6 years ago by Lyndon Brown <[email protected]>
volume: simplify

10d17f8e699339857daeecb7660251f9e696feb9 authored over 6 years ago by Lyndon Brown <[email protected]>
volume: replace malloc with vec in printing functions

326f12aeea30551592b660078d67e8a871b766db authored over 6 years ago by Lyndon Brown <[email protected]>
sample: format_to_string: return string not cstr

bfbed60f7d2ecc44eb18eeec9ce48b10cff5fcd0 authored over 6 years ago by Lyndon Brown <[email protected]>
news: update

10597133ee67d3c8ad140268d6193e9ed89f5217 authored over 6 years ago by Lyndon Brown <[email protected]>
format: encoding: to_string: return string not cstr

a2e54d589c71d0580acc6b03cb8f6d33e99b47eb authored over 6 years ago by Lyndon Brown <[email protected]>
news: update

79803b7595a4980739b0ca65603898247aaffbc9 authored over 6 years ago by Lyndon Brown <[email protected]>
remove drive Copy,Clone from def::SpawnApi

0e67e008124a280afa7f6cabb0487297d81e8120 authored over 6 years ago by Lyndon Brown <[email protected]>
hide print max constants

20a1c721df397a45e9b307af49c9efb6ea403f01 authored over 6 years ago by Lyndon Brown <[email protected]>
impl PartialEq for volume::CVolume

1d08e42e60b34c1f959760894bd4161e13a5e210 authored over 6 years ago by Lyndon Brown <[email protected]>
channelmap: map: to_[pretty_]name: return string not cstr

05091ffa856854d465ab5f77d27969ac02809a63 authored over 6 years ago by Lyndon Brown <[email protected]>
expose libc::timeval from timeval, not mainloop::events::timer

5fc90859f02c22e0369093833e11391c7f479638 authored over 6 years ago by Lyndon Brown <[email protected]>
impl PartialEq for channelmap::Map

fafe9d7be178b5e741cd4290087f78e89a02e33c authored over 6 years ago by Lyndon Brown <[email protected]>
fix lifetime on some stream methods that return object references

lifetime elision linked the reference to the `self` reference, extending
the life of the `self` ...

0209ed0b1079dbd836996c812395469cd139ca0f authored over 6 years ago by Lyndon Brown <[email protected]>
Introduce MicroSeconds wrapper

Better type strictness, simpler conversions with timeval

38fddf08d02fe961e00c4b07fcd5d35a637197c2 authored over 6 years ago by Lyndon Brown <[email protected]>
derive Debug,PartialEq,Eq for def::TimingInfo

now that we have a Timeval wrapper implementing the necessary traits

822dfe66083d73afc3db9b556c663066f944c413 authored over 6 years ago by Lyndon Brown <[email protected]>
channelmap: position: to_[pretty_]string: return string not cstr

f74fcd0ebd983f74aec43636d668dd45ba8711e8 authored over 6 years ago by Lyndon Brown <[email protected]>
mainloop/standard: fix `run` method's return data

Incorrectly was returning function call result, while claiming in the doc
that this was the quit...

90dad584d5708b15bb99405fb0e116b320badfd6 authored over 6 years ago by Lyndon Brown <[email protected]>
derive more traits for certain structs/enums

b46572dd33123fccd91de7b7083a84143180b439 authored over 6 years ago by Lyndon Brown <[email protected]>
tidy up time conversion constants

- use of ::sample::Usecs type for some of them did not really make sense
- new constant names ...

11c6c68fef308120130164cf2e599a89a3bd2164 authored over 6 years ago by Lyndon Brown <[email protected]>
direction: to_string: return string not cstr

e16d1210a022edad351b8b829238171f2ce74d57 authored over 6 years ago by Lyndon Brown <[email protected]>
add wrapper for quit-retval

better type strictness, clarity of value's purpose (compared to just an
i32, underlying int type...

7fdef950313a0717994f27bb50cf36fc5057bdb5 authored over 6 years ago by Lyndon Brown <[email protected]>
Add and use wrapper for timeval

This enables traits to be implemented, thus enabling them to be
derived/implemented for structs ...

ff904e0ac7c76b948954f52fbad9f9f79cadc6e7 authored over 6 years ago by Lyndon Brown <[email protected]>
licensing clarification

83f2b74aa9abd40cbb2bc7dea7557db7b4cdce6e authored over 6 years ago by Lyndon Brown <[email protected]>
stream: get_underflow_index: return unsigned

C API usage says that -1 indicates not-known, thus it should be safe to
assume, on top of this b...

731a7f9a4cb07b980697d358ee18e313e136792a authored over 6 years ago by Lyndon Brown <[email protected]>
news: update

99be7668c8ff2412d850e55ad205a9ccd5ab9035 authored over 6 years ago by Lyndon Brown <[email protected]>
Stream: begin_write: improve doc clarity

ab31c33e660a1754fd86ece8e12061baacfdea80 authored over 6 years ago by Lyndon Brown <[email protected]>
Stream: simplify begin_write buffer use

Construct a mutable slice from the pointer and length with
`from_raw_parts_mut` rather than expe...

7942b4010534dd1b2a38e9fe759166e499be4dab authored over 6 years ago by Lyndon Brown <[email protected]>
Stream: explictly tie lifetime of BufferResult and PeekResult to self

Elision does this anyway, but let's make it clear

de4fbeee321fa74fdbcec999460d5e228a318030 authored over 6 years ago by Lyndon Brown <[email protected]>
Stream: fix begin_write doc

The `write` method has taken an immutable slice, not a pointer and size,
since v1.0 of the bindi...

c8bb4f92553c6ca305c3c84ba78e90452b7326e1 authored over 6 years ago by Lyndon Brown <[email protected]>
Stream: clarify re-use of the begin_write buffer

bea2a11644894fdb7ea50ec80c3032ed78db0503 authored over 6 years ago by Lyndon Brown <[email protected]>
Stream: further simplify begin_write

a8ecfc626d3512f594386e0e70f1696829640adc authored over 6 years ago by Lyndon Brown <[email protected]>
Tidy up error code handling

- add `PAErr` wrapper for i32 error type, for cleaner interfaces
- move `strerror` function to...

454e108515284b49d91cf04971f52ba85d584459 authored over 6 years ago by Lyndon Brown <[email protected]>
tidying

3856576ec03d15fc8a2eb62b934ba8915122553b authored over 6 years ago by Lyndon Brown <[email protected]>
news: prep for next release

7242b01f556bcd0ca7689c0c2fe5f48d5b8e617e authored over 6 years ago by Lyndon Brown <[email protected]>
news: remove dependency note from v1.0.5, confusing

All crates updated there dependencies. The note was intended to make it
clear that this was the ...

e9abf9bd70ecaead441cb05579db6847548505e7 authored over 6 years ago by Lyndon Brown <[email protected]>
news: typo fix

46e929b66ce0d10864caa02ee4a799b0d0150c6e authored over 6 years ago by Lyndon Brown <[email protected]>
update versions

66967e0071b7dbdfe46141bf80f20886395a51f5 authored over 6 years ago by Lyndon Brown <[email protected]>
update dependencies

ensures users of crates do not end up with a mixture of v1.0 and v1.1 of
the same crates.

2349b7b3922a723c534ed5bc9fd5ad0f89c942d7 authored over 6 years ago by Lyndon Brown <[email protected]>
Promote `self` to mutable for some methods

Although our objects in these cases can be used immutably (no change
in the wrapped pointer), we...

472c9c8fb51c801c7678df66b0e1519250189a35 authored over 6 years ago by Lyndon Brown <[email protected]>
Proplist: internalise ptr attribute

37e721bdea9261a2a280745433191202a8083496 authored over 6 years ago by Lyndon Brown <[email protected]>
Context: play_sample_with_proplist: clarify proplist param

Patch was submitted to pulseaudio for this.

1762de9a3392aedbf64ff77dc163cb8159f7434c authored over 6 years ago by Lyndon Brown <[email protected]>
Context: take proplist param as immutable ref in new_with_proplist

Underlying C function in pulseaudio only needs immutable reference but
wrongly takes mutable one...

c612eb9a9e8ec14687b314a510938d70f131458d authored over 6 years ago by Lyndon Brown <[email protected]>
utils: hide internal unwrap_optional_callback function

I only just became aware of `pub(crate)` scope limiting syntax; this
internal function is only u...

85ed1a4f1fc6500e5bcefaa755d03b2bc19f2d02 authored over 6 years ago by Lyndon Brown <[email protected]>
DeviceRestore: privatise internal context pointer

b35aa2cb9117f5ba9cdb8708bfc11f7e76d461f1 authored over 6 years ago by Lyndon Brown <[email protected]>
CVolume: make self for get_position immutable

Underlying C function in pulseaudio only needs immutable reference but
wrongly takes mutable one...

a7ab1714e55ef8849caf40c4cdfa335408936068 authored over 6 years ago by Lyndon Brown <[email protected]>
Context: take proplist param as immutable ref in play_sample_with_proplist

Underlying C function in pulseaudio only needs immutable reference but
wrongly takes mutable one...

2e1e715962808a0c4e609d1452d2dbf2100ef857 authored over 6 years ago by Lyndon Brown <[email protected]>
Internalise/privatise various from_raw methods

5429d471701ef5feb030df27a4802aabebc68d5d authored over 6 years ago by Lyndon Brown <[email protected]>
DeviceManager: privatise internal context pointer

87b0706ca4bdcbcab96c59c64f4c63550a9f63ce authored over 6 years ago by Lyndon Brown <[email protected]>
news: prep for next release

1fc6d7164484b3d87068ebb6075c4b4d3c1c1ca2 authored over 6 years ago by Lyndon Brown <[email protected]>
events/timer: internalise get_ptr method

a07d4060fcd4dcb337e0cf88eaeab2d0c5cde13b authored over 6 years ago by Lyndon Brown <[email protected]>
sys: constify various pointer params

These are all cases where the C API takes a mutable pointer when it
shouldn't - it is not mutati...

aca58d86a46a99537c30474bd6be135f71f6940e authored over 6 years ago by Lyndon Brown <[email protected]>
update news

8eaefaeb2b53a28dfb0a345f4d8ab77f60517300 authored over 6 years ago by Lyndon Brown <[email protected]>
Context: internalise inner pointer

a41d97d24b673257e601bba106b861fdf3538c76 authored over 6 years ago by Lyndon Brown <[email protected]>