History

cleanup, move remaining content

Sander van Grieken committed 6 years ago

Commit 9f9d0c61 parent 9f753aa4 files · +34 −34Browse files

Unified · Split

4 files
  1. Receivers/linux/README.md +33 −10
  2. Receivers/linux/scream2aac.sh +1 −0
  3. Receivers/raw/README.md +0 −22
  4. Receivers/raw/scream2aac.sh +0 −2
Receivers/linux/README.md+33−10
@@ -1,10 +1,20 @@
1−# scream-pulse
1+# scream
22
3−scream-pulse is a scream receiver using pulseaudio as audio output.
3+scream is a Scream audio receiver using Pulseaudio, ALSA or stdout as audio output.
44
55 ## Compile
66
7−You need pulseaudio headers in advance.
7+Compilation is done using CMake.
8+
9+If Pulseaudio or ALSA headers are found, support for those will be compiled in (see below for distro packages to install). If Pulseaudio is compiled in, it will be the default output, otherwise ALSA will be the default. If both Pulseaudio and ALSA are not compiled in, raw/stdout will be the default.
10+
11+```shell
12+$ mkdir build && cd build
13+$ cmake ..
14+$ make
15+```
16+
17+### Pulseaudio
818
919 ```shell
1020 $ sudo yum install pulseaudio-libs-devel # Redhat, CentOS, etc.
@@ -12,20 +22,33 @@ or · 1 unmodified line
1222 $ sudo apt-get install libpulse-dev # Debian, Ubuntu, etc.
1323 ```
1424
15−Run `make` command.
25+### ALSA
26+
27+```shell
28+$ sudo yum install alsa-lib-devel # Redhat, CentOS, etc.
29+or
30+$ sudo apt-get install libasound2-dev # Debian, Ubuntu, etc.
31+```
1632
1733 ## Usage
1834
35+You can see the accepted options by using the -h (help) option.
36+
37+```shell
38+$ scream -h
39+```
40+
41+### Network mode
42+
1943 ```shell
20−$ scream-pulse
44+$ scream
2145 ```
2246
23−This starts the Scream client in multicast mode.
24−If your machine has more than one network interface, you may need to
25−set the interface name which receives scream packets.
47+This starts the Scream client in multicast mode, using the default audio output.
48+Unicast mode is also supported, and can be used by passing the -u option. If your machine has more than one network interface, you may need to set the interface name which receives scream packets.
2649
2750 ```shell
28−$ scream-pulse -i eth0
51+$ scream -i eth0
2952 ```
3053
3154 ### IVSHMEM (Shared memory) mode
@@ -33,5 +56,5 @@ $ scream-pulse -i eth0 · 1 unmodified line
3356 Make sure to have read permission for the shared memory device and execute
3457
3558 ```shell
36−$ scream-pulse -m /dev/shm/scream-ivshmem
59+$ scream -m /dev/shm/scream-ivshmem
3760 ```
Receivers/linux/scream2aac.sh+1−0
@@ -0,0 +1 @@
1+./scream -v -o raw | ffmpeg -f s16le -ar 48000 -ac 2 -i - -c:a aac -b:a 128k -y output.m4a
Receivers/raw/README.md+0−22
@@ -1,22 +0,0 @@
1−# scream-raw
2−
3−scream-raw is a scream receiver using stdout as audio output.
4−
5−## Compile
6−
7−Run `make` command.
8−
9−## Usage
10−
11−```shell
12−$ scream-raw
13−```
14−
15−If your machine has more than one network interface, you may need to
16−set the interface name which receives scream packets.
17−
18−```shell
19−$ scream-raw -i eth0
20−```
21−
22−
Receivers/raw/scream2aac.sh+0−2
@@ -1,2 +0,0 @@
1−./scream-raw -v | ffmpeg -f s16le -ar 48000 -ac 2 -i - -c:a aac -b:a 128k -y output.m4a
2−

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t