Initial commit

This commit is contained in:
eleksir
2024-01-06 18:33:44 +03:00
commit d85dc5d5bb
657 changed files with 262300 additions and 0 deletions

11
vendor/github.com/mafik/pulseaudio/updates.go generated vendored Normal file
View File

@@ -0,0 +1,11 @@
package pulseaudio
// Updates returns a channel with PulseAudio updates.
func (c *Client) Updates() (updates <-chan struct{}, err error) {
const subscriptionMaskAll = 0x02ff
_, err = c.request(commandSubscribe, uint32Tag, uint32(subscriptionMaskAll))
if err != nil {
return nil, err
}
return c.updates, nil
}