[Openal] capturing audio from line in
Daniel Chaves Toscano Dantas
danflu at uninet.com.br
Fri Oct 24 20:02:14 PDT 2008
I'm trying to capture audio from "line in" in linux (Ubuntu
8.04) using the openal API.
I've written a small test application for audio capture that
works for microphone input and dont work for "line in"
When i ask openal to list the available capture devices i
get the following list:
1 - ALSA Capture on default
2 - ALSA Capture on HDA Intel
3 - OSS Capture
I've tried all them for "line in" but no one produces sound
When i attach a mic to my computer i get sound output
perfectly well when using device "ALSA Capture on default".
The following two devices do not work for microphone (ALSA
Capture on HDA Intel produces an error message "AL lib:
alsa.c:562: set channels failed: Invalid argument" and OSS
Capture do not produces any audio samples).
I tested "line in" using the Operating System mixer and it's
working well so the problem appears to be located something
in openal configuration itself...
Just to inform ... I'm using openal-soft implementation
I dont have any clue about what is going on... I've checked
the docs and there is no reference about diferences on
capturing from microphone or from line in...
Please Help !!
Thank you very much
More information about the Openal