- if you want rec from headset mic, in xterm: Code: gst-launch-0.10 -e pulsesrc device=source.hw0 ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a amixer -qc0 set "Input Select" ADC this set gain for it (0-127), here is 60 Code: amixer -qc0 set PGA 60 - if you want rec from builded in mic, in xterm: Code: amixer -qc0 set "Input Select" "Digital Mic" gst-launch-0.10 -e pulsesrc device=source.record ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a make sure that capture is on: Code: amixer -q cset name='Capture Switch' on amixer -qc0 cset name='PGA Capture Switch' on
gst-launch-0.10 -e pulsesrc device=source.hw0 ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a amixer -qc0 set "Input Select" ADC
amixer -qc0 set PGA 60
amixer -qc0 set "Input Select" "Digital Mic" gst-launch-0.10 -e pulsesrc device=source.record ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a
amixer -q cset name='Capture Switch' on amixer -qc0 cset name='PGA Capture Switch' on