Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capturing does not actually work with pulseaudio #12

Open
lemmy04 opened this issue Feb 4, 2013 · 2 comments
Open

capturing does not actually work with pulseaudio #12

lemmy04 opened this issue Feb 4, 2013 · 2 comments

Comments

@lemmy04
Copy link

lemmy04 commented Feb 4, 2013

I'm trying to capture the audio of a game, but when I extract the (seemingly existing) audio stream later i get a wave file that is only 44 bytes long.

What am I doing wrong? I'm running KDE 4.9 on openSUSE 12.2 where pulseaudio is the default and can't be gotten rid of...

I'm calling glc-capture like this:
glc-capture -b back -i -p ut2004

@sriemer
Copy link

sriemer commented Sep 19, 2014

Got the same issue. This stuff is broken, unmaintained and needs a major rework. Also error handling has been neglected completely which makes debugging quite difficult.

But what works for me is the stuff in /usr/share/doc/libpulse-dev/examples/:
pacat-simple.c parec-simple.c

These record and play all pulseaudio stuff reliably on my system. I guess I have to integrate them into GLC. Anyone who wants to help?

@Kabup
Copy link

Kabup commented Apr 21, 2016

It works here, the problem was not in the program, it was in my pulseaudio configuration, glc-capture was recording audio from my mic, and the mic was off. So, there was no sound. After I did change things in pulseaudio mixer, it works like a charm. I'm using the 0.5.8-git- version.

To record audio and mic, you'll need to create a monitor in pulseaudio, redirect the sound of the mic and application/game to this monitor, and make the glc-capture record from the monitor. Here, I'm using export PULSE_SOURCE="ladspa_output.mbeq_1197.mbeq.monitor" before I launch glc-capture. Check the pulseaudio docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants