control: tags -1 + unreproducible moreinfo thanks Hi Antoine,
On Wed, Nov 16, 2016 at 12:57:25PM -0500, Antoine Beaupré wrote: > I couldn't figure out how to make saytime work with my environment, > where the sound device is often take over by pulseaudio. > > This is normally not a problem because most stuff talks to pulseaudio > nowadays... But somehow saytime (or sox?) doesn't: > > I have tried various things like: > > saytime -t pulseaudio # sox fails > saytime -t pulse # sox says "missing filename" > padsp saytime # sox says device busy > > Is there a way to make this work? strangely it works for me out of the box, using Qubes, where VMs have sound by means of pulseaudio too (and only). user@untrusted:~$ sudo apt install saytime Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libsox-fmt-alsa libsox-fmt-base libsox2 oss-compat sox Suggested packages: libsox-fmt-all osspd The following NEW packages will be installed: libsox-fmt-alsa libsox-fmt-base libsox2 oss-compat saytime sox 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 669 kB of archives. After this operation, 1542 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsox2 amd64 14.4.1-5+b2 [261 kB] Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsox-fmt-alsa amd64 14.4.1-5+b2 [47.1 kB] Get:3 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsox-fmt-base amd64 14.4.1-5+b2 [68.8 kB] Get:4 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 sox amd64 14.4.1-5+b2 [139 kB] Get:5 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 oss-compat amd64 6 [5462 B] Get:6 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 saytime amd64 1.0-27+b1 [148 kB] Fetched 669 kB in 6s (97.0 kB/s) Selecting previously unselected package libsox2:amd64. (Reading database ... 121133 files and directories currently installed.) Preparing to unpack .../0-libsox2_14.4.1-5+b2_amd64.deb ... Unpacking libsox2:amd64 (14.4.1-5+b2) ... Selecting previously unselected package libsox-fmt-alsa:amd64. Preparing to unpack .../1-libsox-fmt-alsa_14.4.1-5+b2_amd64.deb ... Unpacking libsox-fmt-alsa:amd64 (14.4.1-5+b2) ... Selecting previously unselected package libsox-fmt-base:amd64. Preparing to unpack .../2-libsox-fmt-base_14.4.1-5+b2_amd64.deb ... Unpacking libsox-fmt-base:amd64 (14.4.1-5+b2) ... Selecting previously unselected package sox. Preparing to unpack .../3-sox_14.4.1-5+b2_amd64.deb ... Unpacking sox (14.4.1-5+b2) ... Selecting previously unselected package oss-compat. Preparing to unpack .../4-oss-compat_6_amd64.deb ... Unpacking oss-compat (6) ... Selecting previously unselected package saytime. Preparing to unpack .../5-saytime_1.0-27+b1_amd64.deb ... Unpacking saytime (1.0-27+b1) ... Processing triggers for mime-support (3.60) ... Setting up oss-compat (6) ... Setting up libsox2:amd64 (14.4.1-5+b2) ... Processing triggers for libc-bin (2.24-11+deb9u1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libsox-fmt-base:amd64 (14.4.1-5+b2) ... Setting up libsox-fmt-alsa:amd64 (14.4.1-5+b2) ... Setting up sox (14.4.1-5+b2) ... Setting up saytime (1.0-27+b1) ... user@untrusted:~$ saytime [voila, I hear saytime saying the time.] -- cheers, Holger
signature.asc
Description: Digital signature