(デバイス名の取得ができる方、という条件は付けた方が良さそうかなあ)
OpenBSD(uaa@), Ham(JG1UAA), Ingress(Lv14, RES), Japanese(Sagamihara-city, Kanagawa)
Another side: https://social.tchncs.de/@uaa
npub1rarr265r9f9j6ewp960hcm7cvz9zskc7l2ykwul57e7xa60r8css7uf890
Messages from this Mastodon account can read via mostr.pub with npub1j3un8843rpuk4rvwnd7plaknf2lce58yl6qmpkqrwt3tr5k60vfqxmlq0w
PortAudioとPulseAudio、OSXやWindowsで使うならどっちが良いのかなあ
あとはマトモなマイクを用意して(適当なやつはあるけど相当の大音量を入れないと反応しないっぽい)、すでに動いてるmrefdに繋げて誰かとおしゃべりをするというテストが残ってるんだけど…気恥ずかしいしlocalでecho testが動いている時点で十分かな?
mvoiceのsndio対応版(yamvoice)、どうにかsndio対応入ったと思う。
https://github.com/jg1uaa/yamvoice/blob/dev/AudioManagerSndio.cpp
sio_start()し忘れていたのと、sio_write()/sio_read()に指定する値/戻り値はバイト数(サンプル数じゃない)という部分に引っかかってた。
ふーん?Linux上は当然として、OpenBSD上でもalsaならecho testが動いてる(音が出るかどうかはともかく)。ってことはsndio特有の事情でなんか動いてない可能性はあるのか。
なるほど、mvoiceのEcho testって手元でecho testしてくれるのか。ボタンを押してカウントしている間は録音、その後ボタンを押してカウントを止めると再生動作になる。
query(In): PCH
response(In): plughw:CARD=PCH,DEV=0
query(Out): PCH
response(Out): plughw:CARD=PCH,DEV=0
Starting M17 Gateway...
ふむ、登録時のshort_nameが鍵か。
In: short_name default name default desc Playback/recording through the PulseAudio sound server
Out: short_name default name default desc Playback/recording through the PulseAudio sound server
In: short_name PCH name plughw:CARD=PCH,DEV=0 desc HDA Intel PCH, ALC887-VD Analog
Hardware device with all software conversions
Out: short_name PCH name plughw:CARD=PCH,DEV=0 desc HDA Intel PCH, ALC887-VD Analog
Hardware device with all software conversions
contour-terminalの日本語入力on/offの効かない問題をなんとかせんと…(Shift+Spaceが効かないだけで実は全角/半角が生きてたりして…?)