Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sna1lboy/audioshare
GUI to help with application audio sharing for discord for linux
https://github.com/sna1lboy/audioshare
audio c discord
Last synced: 17 days ago
JSON representation
GUI to help with application audio sharing for discord for linux
- Host: GitHub
- URL: https://github.com/sna1lboy/audioshare
- Owner: sna1lBoy
- License: gpl-3.0
- Created: 2024-10-27T11:15:08.000Z (19 days ago)
- Default Branch: main
- Last Pushed: 2024-10-27T11:36:04.000Z (19 days ago)
- Last Synced: 2024-10-27T12:56:29.224Z (19 days ago)
- Topics: audio, c, discord
- Language: C
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# audio share
a GUI* tool to make the process of playing sound along with screen share on discord for linux a bit easier## how does it work?
- audio share uses pulseAudio to create two virtual sinks: one that receives audio from select application(s) and one that adds your audio input (ie a microphone) to the application audio
- the first sink allows you to control what application sounds to share while also allowing you to hear the application audio yourself
- the second sink sends the application audio through your sound input so that discord hears all audio streams as a singular input
- application audio can be easily shared and unshared through a simple UI that displays all pulseAudio application outputs## installation
### a brief warning
all development and testing was done on an x86-64 machine running arch linux and x11, i cannot guarantee this program will work on other architectures, distros, or display servers. that being said, if audio share breaks for you, please open an issue detailing the problem along with your specs and i may be able to fix it
### prerequisites
audio share requires a pulseAudio server to be set up to your preferences (and working) as well as GTK installedif you require a different binary than the one in releases then audio share can be compiled with
```
gcc `pkg-config --cflags gtk+-3.0` -o ./bin/audioShare ./src/main.c `pkg-config --libs gtk+-3.0` && ./bin/audioShare
```
### script
for a simple installation, open the command line and enter
```
bash <(curl -s https://raw.githubusercontent.com/sna1lBoy/audioShare/main/install.sh)
```
if you want to manually install, download or clone the source code and move the contents of ./bin/ to /bin/ and ./resources/config.ini to /etc/audioShare/config.ini## configuration
open /etc/audioShare/config.ini in a text editor of your choice, you should see places to enter a source and a sink. these will be your default input and outputs, respectively, which you can find the name of by using `pactl list short sources` and `pactl list short sinks` and looking for the sink and source you mainly usefor example, the names will probably be in a similar form to
```
source = alsa_input.usb-DCMT_Technology_USB_Lavalier_Microphone_214b206000000178-00.mono-fallback
sink = alsa_output.pci-0000_00_1f.3.analog-stereo
```
---
\* gee-you-eye