[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

alsa / arecord question

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 1

File: reasons to use linux.png (125KB, 401x305px) Image search: [Google]
reasons to use linux.png
125KB, 401x305px
Greetings fellow Lintards

I'm trying to set up LIRC with IR over the 3.5mm microphone port. It supports this with the alsa_audio driver. I have everything rigged up and when I press a button on my TV remote it goes
remote -> RF receiver -> 3.5mm into computer -> the mic input bar in Ubuntu's pulseaudio sound control panel moves to indicate a signal

However, when I use lircd with the command
lircd --driver=audio_alsa --device=hw:0@44100,r lircd.conf
I get no indication of a signal when using irrecord.

Furthermore, when I run
arecord -d 10 /tmp/test-mic-input.wav
I can clearly hear signal at the exact time I press buttons on my remote.
However, when I run
arecord -d 10 /tmp/test.wav --device hw:0
I get
audio open error: Device or resource busy

This leads me to wonder if hw:0 is simply the wrong device for some reason. What does arecord use by default? Or is there something else I can check here?
>>
>>59482734

Is there any pulseaudio instance running? Try to kill it if there is.
>>
>>59482869
>Is there any pulseaudio instance running? Try to kill it if there is.
Yes, although I'm not clear on what to do after killing it.
>>
>>59482869
>>59483090
k, so I can get it to work when pulse is not running, what's step 2? Kinda weird desu
>>
>>59483549

Well, if you don't need pulseaudio for any thing you can google how to prevent the daemon from spawning.
>>
>>59483622
any idea why my input is being captured totally by pulse? I suppose I could try to use alsa but I'd have to figure out how to configure the system to use it, kind of a pain
Thread posts: 6
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.