-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from kubo/scream-pulse-set-nic-name
Add an option to set network interface name.
- Loading branch information
Showing
3 changed files
with
99 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
CC=gcc | ||
CFLAGS = -Wall | ||
|
||
scream-pulse: | ||
$(CC) -o scream-pulse scream-pulse.c -lpulse-simple -lpulse | ||
scream-pulse: scream-pulse.c | ||
$(CC) $(CFLAGS) -o scream-pulse scream-pulse.c -lpulse-simple -lpulse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# scream-pulse | ||
|
||
scream-pulse is a scream receiver using pulseaudio as audio output. | ||
|
||
## Compile | ||
|
||
You need pulseaudio headers in advance. | ||
|
||
```shell | ||
$ sudo yum install pulseaudio-libs-devel # Redhat, CentOS, etc. | ||
or | ||
$ sudo apt-get install libpulse-dev # Debian, Ubuntu, etc. | ||
``` | ||
|
||
Run `make` command. | ||
|
||
## Usage | ||
|
||
```shell | ||
$ scream-pulse | ||
``` | ||
|
||
If your machine has more than one network interface, you may need to | ||
set the interface name which receives scream packets. | ||
|
||
```shell | ||
$ scream-pulse -i eth0 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters