alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
345 stars 176 forks source link

Does this compile any code? #309

Closed stefan11111 closed 1 year ago

stefan11111 commented 1 year ago

If I build the same kernel twice, I get this output when building it the second time:

# make
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
Kernel: arch/x86/boot/bzImage is ready  (#17)

If I build the kernel again, only changing SND_X86, I get this output:

# make
  SYNC    include/config/auto.conf
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
Kernel: arch/x86/boot/bzImage is ready  (#17)

It doesn't look like that option compiles any code.

stefan11111 commented 1 year ago

Also, can someone tell me what /dev node does CONFIG_SND_ALOOP create, and what major and minor number does it have?

chleroy commented 1 year ago

As far as I can see, the only thing SND_X86 does is to enable selection of HDMI_LPE_AUDIO, see https://github.com/torvalds/linux/blob/master/sound/x86/Kconfig

Unless you also select HDMI_LPE_AUDIO, nothing more will happen

chleroy commented 1 year ago

CONFIG_SND_ALOOP is a ALSA driver, it doesn't create a /dev by itself.

Use alsa utils to know more

stefan11111 commented 1 year ago

Thanks.