[SailfishDevel] Route media sound stream to FIFO

2018-02-01 Thread Michael Fuchs
Hi,

I built snapcast for SailfishOS [2]. Snapcast is a "Synchronous multi-room 
audio player". [1]

Everything works as expected now. Next step is the integration into Sailfish 
user experience. It should be simple to create a GUI, which starts/stops the 
snapclient.

But I don't know how to solve the server part of snapcast. Snapserver reads 
audio data from a FIFO buffer and broadcasts it to the network.
Creating a pulseaudio FIFO sink is clear to me. Either you write it into the 
config file pulse audio config file or load it via pacmd:

$ pacmd load-module module-pipe-sink file=/tmp/snapfifo 
sink_name=Snapcast
$ pacmd update-sink-proplist Snapcast device.description=Snapcast

But how do I route the media streams from the default sink to the FIFO-sink as 
soon as snapserver is running? (Like when you plug in a headphone or connect 
to a bluetooth device.)

Thanks for any advice.

cheers, Michael.



[1] https://github.com/badaix/snapcast
[2] https://build.merproject.org/package/show/home:fooxl:sailfish/snapcast


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting

2018-02-01 Thread Chris Adams
Hi everyone,

This is a quick reminder that we have the first CalDAV/CardDAV contributor 
meeting of the year, this coming Monday the 5th of February at 0800 UTC (not 
0900 UTC, since we agreed to move it forward one hour).

Please find the agenda for the upcoming meeting in the wiki:
https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#05.2F02.2F2017_Meeting

Some issues were noted on TJC which I'll try to fix over the weekend and get 
PRs up, but things are super busy at the moment so I can't promise that I'll 
manage to get that done.  The issues are fairly easy to fix, so if I haven't 
fixed them by Monday night, and you're a new contributor who wants to help out, 
please come along to the meeting so we can discuss and I can point you to the 
bit of code which needs fixing for those cases :-)

Best regards,
Chris.


From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Chris Adams 
[chris.ad...@jolla.com]
Sent: Monday, December 11, 2017 8:20 PM
To: Andrew Branson; Sailfish OS Developers
Cc: Andrew Branson
Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting

Hi everyone,

Please find the summary of the meeting in the wiki:
https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#11.2F12.2F2017_Meeting

The full log can be found at:
http://merproject.org/meetings/mer-meeting/2017/mer-meeting.2017-12-11-09.00.log.html

The next meeting will be held on the first Monday of February (not January, due 
to vacations etc) at 0800 UTC (instead of the usual 0900 UTC).

The major topic of the meeting was about dcaliste's contribution of the webdav 
sync plugin, which would allow synchronisation of the contents of a local 
folder with a remote server.  We discussed the need to have a contribution flow 
whereby community members can ask for their project to be built within Mer 
infrastructure in a "stepping stone" mer:contrib OBS project (which can be used 
for early-access testing etc) which eventually can be imported into mer:core.

Andrew kindly agreed to take ownership of that task (setting up the OBS 
project, creating packages in that project, ensuring that webhooks are set 
correctly, etc).  There are a few things to figure out (e.g. separated feature 
repos to ensure separation of packages for testing correctness and stability) 
but we hope to have the webdav plugin building before the end of the year.  
Once we have the practicalities sorted out, we can define and document a 
process whereby more projects can be added in this fashion.

Best regards,
Chris.



From: Andrew Branson [andrew.bran...@jollamobile.com]
Sent: Friday, December 08, 2017 7:00 PM
To: Chris Adams; Sailfish OS Developers
Cc: Andrew Branson
Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting

Hi,

08h00 UTC is fine for me as I'm on CET (+1). Are they any GMT'ers
wanting to participate?

Andy

On 08/12/17 08:26, Chris Adams wrote:
> Hi Damien,
>
> Let's keep it at 0900 for the one this coming Monday night, because that 
> probably suits Andrew Branson a bit better.  But we can move it forward to 
> 0800 for meetings after that, let's discuss during the meeting :-)
>
> Thanks,
> Chris.
>
> 
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Damien Caliste 
> [dcali...@free.fr]
> Sent: Tuesday, December 05, 2017 5:55 PM
> To: Sailfish OS Developers
> Subject: Re: [SailfishDevel] CalDAV/CardDAV Contributor Meeting
>
> Hello Chris,
>
> Le 2017-12-04 04:15, Chris Adams a écrit :
>> My apologies - but this will have to be postponed until next Monday.
> No problem.
>
>> Sorry for the late notice, but it turns out that I will not be
>> available tonight after all.
> For later on meetings, it is fine with me to shift them earlier at
> 8.00UTC if it's more convenient to you and suits everyone else.
>
> Have a nice day,
>
> Damien.
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org