On Sat, Nov 16, 2024 at 09:59:32PM +0100, na...@poczta.fm wrote:
> Hi misc@,
> 
> I noticed that GStreamer device monitor is not detecting any Audio/Source and 
> Audio/Sink devices on different laptops running OpenBSD 7.6-stable and 
> sndiod. The following command reports only the embedded web camera 
> (Video/Source), whereas the expected output should also include at least one 
> Audio/Source and one Audio/Sink:
> 
>     $ gst-device-monitor-1.0
> 
> This seems to be related to the following issue reported earlier in the 
> context of Dino that relies on GStreamer as the selected backend:
> 
>     https://marc.info/?t=172654982900001&r=1&w=2
> 
> At the same time, I am able to record audio using the embedded microphone and 
> gst-launch-1.0 in the following way:
> 
>     # sysctl kern.audio.record=1
>     $ gst-launch-1.0 -v sndiosrc ! queue ! audioconvert ! vorbisenc ! oggmux 
> ! filesink location=sndiosrc.ogg
> 
> I wonder whether anyone else is also able to reproduce that issue, or perhaps 
> already has identified an effective solution or workaround in that case? Any 
> suggestions regarding further troubleshooting would of course be much 
> appreciated.
> 

I'm able to reproduce the problem.

It looks like the device enumeration is probably not implemented. If
so, there are just few lines missing from the sndio backend, they are
supposed to return the device "list" (a single SIO_DEVANY entry).

After a quick look at the sources, it's not obvious how register a
"device provider" to expose the device.

Reply via email to