paraslash

Paraslash network audio streaming tools


About
News
Download
Documentation
Development

Development


The table below shows the topics currently under development. Each topic is included in the integration branch shown as Branch . Topics in next are expected to be of higher quality than those in pu .

Name Branch Commits Description
aft_fixes next 3 Improvements to the audio file table
clean_server_exit 0
compress pu 1 improvements to the compress filter
crypt 0
doc 0
ff pu 3 overhaul the ff server command
for-maint pu 0 urgent fixes for old bugs
gui-sigwinch 0
listen-address next 2 New options to specify listening addresses of passive sockets
long-help next 12 New option --long for help commands.
misc pu 2 smallish miscellaneous changes for master
sf_float pu 1 support 32 bit float sample format.
ss pu 25 screen saver implementation based on Imagemagick
ubsan pu 2 New option for configure to activate ubsan

Topic branch details

The SHA1 number shown as tip can be used to checkout a commit which only contains the changes introduced in this topic.

aft_fixes

  • desc: Improvements to the audio file table
  • state: started on 2018-04-09, cooking since 2018-06-06
  • branch: next
  • base: master
  • aim: master
  • number commits: 3
  • tip: 3cdcb449fc23f0bebe34343dc26b4e34b82175d5
  • merge commit: 93a087bddd71a71dcd2cce6ea9545b71f55e4af2
  • merge date: Sun, 6 May 2018 10:52:59 +0200
  • rebase count: 46

  • If the current audio file is renamed, the status items are updated to reflect this fact.

  • After the server process received SIGHUP, changes to the current audio file did not trigger an update of the status items. This has been fixed.

       aft.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++----------------
       1 file changed, 46 insertions(+), 16 deletions(-)
    

compress

  • desc: improvements to the compress filter
  • state: started on 2018-05-19
  • branch: pu
  • base: master
  • aim: master
  • number commits: 1
  • tip: 395649313607bb1313a58f312d446eb450405a9f
  • merge commit: 351162562521f4a759ad1a0bcd37cf143e19c0c7
  • merge date: Sun, 20 May 2018 11:38:11 +0200
  • rebase count: 33

       compress_filter.c | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)
    

ff

  • desc: overhaul the ff server command
  • state: started on 2018-05-01
  • branch: pu
  • base: master
  • aim: master
  • number commits: 3
  • tip: 7f008a354ecdc42762b824978fc79f0562b781e8
  • merge commit: 17785ad9a59fed1fd93bcb2829cd7268171ab755
  • merge date: Sun, 20 May 2018 11:38:11 +0200
  • rebase count: 33

A short series which overhauls the ff server command.

  • The ff command now accepts a negative argument to instruct the virtual streaming system to jump backwards in the current audio stream. The old syntax (e.g., “ff 30-”) is still supported but it is deprecated and no longer documented. The compatibility code is sheduled for removal after 0.7.0.

       command.c                  | 32 ++++++++++++++++++++++----------
       m4/lls/server_cmd.suite.m4 | 20 ++++++++++----------
       2 files changed, 32 insertions(+), 20 deletions(-)
    

for-maint

  • desc: urgent fixes for old bugs
  • state: cooking for a while, to be merged soon
  • branch: pu
  • base: maint
  • aim: maint
  • number commits: 0
  • tip: 884f36e554f9c58815bc24cc3f1f033ab30cb7c7
  • merge commit: 884f36e554f9c58815bc24cc3f1f033ab30cb7c7
  • merge date: Mon, 30 Apr 2018 21:26:12 +0200
  • rebase count: 0

listen-address

  • desc: New options to specify listening addresses of passive sockets
  • state: started on 2018-03-07, cooking since 2018-04-18
  • branch: next
  • base: master
  • aim: master
  • number commits: 2
  • tip: 4fbe16430b4776814128d7110682c69d1b047c57
  • merge commit: cb893cb637d4927c3acc43b5689ab98233f4dced
  • merge date: Wed, 18 Apr 2018 09:29:11 +0200
  • rebase count: 55

A short series which adds options for para_server that allow the user to specify the listening addresses of the passive sockets.

  • New server options: –listen–address, –http-listen-address and –dccp-listen-address. These options restrict the set of listening addresses of the TCP and DCCP sockets of the server process.

       dccp_send.c            |   8 ++-
       http_send.c            |  10 ++-
       m4/lls/server.suite.m4 |  64 ++++++++++++++---
       net.c                  |  65 +++++++++++++++--
       net.h                  |   2 +
       send.h                 |  20 ++++--
       send_common.c          | 190 ++++++++++++++++++++++++++++++-------------------
       server.c               |  71 ++++++++++++++----
       8 files changed, 320 insertions(+), 110 deletions(-)
    

long-help

  • desc: New option –long for help commands.
  • state: started on 2018-03-09, cooking since 2018-04-29
  • branch: next
  • base: master
  • aim: master
  • number commits: 12
  • tip: d3f0eb9a37a63319de4e191dce4c82d8877d778b
  • merge commit: db2d5a4d47602673436171d1832c74591571fcfe
  • merge date: Sun, 29 Apr 2018 10:29:02 +0200
  • rebase count: 52

This series introduces lsu.c and lsu.h which contain helpers related to the lopsub library. These helpers are designed to be shared between the executables. The series starts by implementing a generic help command for lopsub suites and converts para_server. Subsequent patches convert audiod and para_play.

The second part of the series adds another lopsub related helper which merges command line options and config file options. Each executable is modified to make use of the new helper, getting rid of quite some code duplication.

  • The help commands of server, audiod, play now support –long. By default, the short help is shown.

  • The code to merge the command line options with the config file options has been consolidated.

       audioc.c                    |  74 ++++----------
       audiod.c                    |  96 +++++-------------
       audiod_command.c            |  53 ++--------
       client.c                    |  10 +-
       client_common.c             |  43 ++------
       command.c                   |  69 ++++---------
       configure.ac                |   9 +-
       filter.c                    |  47 ++-------
       gui.c                       |  66 +++----------
       lsu.c                       | 235 ++++++++++++++++++++++++++++++++++++++++++++
       lsu.h                       |  35 +++++++
       m4/lls/audiod_cmd.suite.m4  |  10 +-
       m4/lls/include/long-help.m4 |  15 +++
       m4/lls/play_cmd.suite.m4    |   1 +
       m4/lls/server_cmd.suite.m4  |   7 +-
       mixer.c                     |  65 +++---------
       play.c                      | 120 +++++++---------------
       server.c                    |  83 +++++-----------
       t/t0004-server.sh           |   4 +-
       19 files changed, 478 insertions(+), 564 deletions(-)
    

misc

  • desc: smallish miscellaneous changes for master
  • state: testing
  • branch: pu
  • base: master
  • aim: master
  • number commits: 2
  • tip: a47c362dddeadacde587fe3920fd17b1abd17c5e
  • merge commit: e8fda822919e39262a481da92a4d51bcb92046d6
  • merge date: Sun, 20 May 2018 11:38:11 +0200
  • rebase count: 33

Stuff in here is too small to get its own topic branch, and safe enough to be applied to master without cooking in next.

     Makefile.real   | 67 ++++++++++++++++++++++++++++++---------------------------
     m4/lls/makefile | 24 ++++++++++-----------
     net.c           | 11 ++++++----
     server.c        |  6 ++++++
     t/makefile.test |  5 +++--
     5 files changed, 63 insertions(+), 50 deletions(-)

sf_float

  • desc: support 32 bit float sample format.
  • state: started on 2018-04-29
  • branch: pu
  • base: master
  • aim: master
  • number commits: 1
  • tip: ef8e91fef817e4511bf6210d32ca68a2cf7e10db
  • merge commit: 1c0afb62354e3fc94dcce4d08481eebff1d03eaa
  • merge date: Sun, 20 May 2018 11:38:11 +0200
  • rebase count: 33

Only supported by alsa.

     alsa_write.c                    | 1 +
     ao_write.c                      | 1 +
     check_wav.c                     | 6 ++++--
     error.h                         | 2 +-
     m4/lls/include/sample-format.m4 | 3 ++-
     oss_write.c                     | 8 ++++++--
     para.h                          | 1 +
     7 files changed, 16 insertions(+), 6 deletions(-)

compress

  • desc: improvements to the compress filter
  • state: started on 2018-05-19
  • branch: pu
  • base: master
  • aim: master
  • number commits: 1
  • tip: 395649313607bb1313a58f312d446eb450405a9f
  • merge commit: 351162562521f4a759ad1a0bcd37cf143e19c0c7
  • merge date: Sun, 20 May 2018 11:38:11 +0200
  • rebase count: 33

       compress_filter.c | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)
    

listen-address

  • desc: New options to specify listening addresses of passive sockets
  • state: started on 2018-03-07, cooking since 2018-04-18
  • branch: next
  • base: master
  • aim: master
  • number commits: 2
  • tip: 4fbe16430b4776814128d7110682c69d1b047c57
  • merge commit: cb893cb637d4927c3acc43b5689ab98233f4dced
  • merge date: Wed, 18 Apr 2018 09:29:11 +0200
  • rebase count: 55

A short series which adds options for para_server that allow the user to specify the listening addresses of the passive sockets.

  • New server options: –listen–address, –http-listen-address and –dccp-listen-address. These options restrict the set of listening addresses of the TCP and DCCP sockets of the server process.

       dccp_send.c            |   8 ++-
       http_send.c            |  10 ++-
       m4/lls/server.suite.m4 |  64 ++++++++++++++---
       net.c                  |  65 +++++++++++++++--
       net.h                  |   2 +
       send.h                 |  20 ++++--
       send_common.c          | 190 ++++++++++++++++++++++++++++++-------------------
       server.c               |  71 ++++++++++++++----
       8 files changed, 320 insertions(+), 110 deletions(-)
    

ss

  • desc: screen saver implementation based on Imagemagick
  • state: proof of concept
  • branch: pu
  • base: master
  • aim: master
  • number commits: 25
  • tip: 37d6b923c950dd07888c7d176fa05f0969e6d155
  • merge commit: c1c71c4a82f11e3ca39cec37117a8211fdc488e6
  • merge date: Sun, 20 May 2018 11:38:11 +0200
  • rebase count: 42

A quick hack for a screen saver which shows the cover art of the current audio file in an X window and slowly distorts the image, using several transformations provided by the Imagemagick library. Psychedelic and funny to watch.

Not yet integrated in the build system, and definitely quite buggy but could be made to work reliably.

     para-ss |  44 +++++
     ss.c    | 602 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     2 files changed, 646 insertions(+)

ubsan

  • desc: New option for configure to activate ubsan
  • state: started on 2017-07-15
  • branch: pu
  • base: master
  • aim: master
  • number commits: 2
  • tip: bbb815c76995264afa8a4ad0d7f804907ede8231
  • merge commit: 6fc241827882116a9fce30e8fc45e5363d47d0a1
  • merge date: Sun, 20 May 2018 11:38:11 +0200
  • rebase count: 33

       Makefile.in   | 2 ++
       Makefile.real | 6 ++++++
       configure.ac  | 5 +++++
       3 files changed, 13 insertions(+)