Use Microphone with NUC devices

Hey Nuno, sorry for the delay, I didn’t know much about pulse audio and had to dig into it a bit.

So, it looks like you just need to add an environment variable to the service which you want to hear with the PULSE_SOURCE set to alsa_input.hda-intel.analog-stereo.

Then you need to make sure you add the audio block.

For a full example, you should be able to push this directly to your NUC and have the microphone work. It even worked on the https://onlinemictest.com for me too.

version: '2'
volumes:
  pulse:                          # Only required if using PA over UNIX socket

services:
  browser:
    image: balenablocks/browser
    privileged: true # required for UDEV to find plugged in peripherals such as a USB mouse
    network_mode: host
    ports:
        - '5011' # management API (optional)
        - '35173' # Chromium debugging port (optional)
    environment:
      LAUNCH_URL: https://meet.jit.si
      SHOW_CURSOR: 1
      PULSE_SOURCE: alsa_input.hda-intel.analog-stereo
    volumes:
      - 'pulse:/run/pulse'

  audio:
    image: balenablocks/audio
    privileged: true
    volumes:
      - 'pulse:/run/pulse'        # Only required if using PA over UNIX socket

There’s still the problem that the interface names don’t seem right, but this should be enough to get you started. I’ll update you if I find a way to fix the interface names…I actually fixed it at one point, but I’m not sure how I did it.