LINT64: Document the kernel options of the sound stack.
authorSascha Wildner <saw@online.de>
Fri, 16 Jan 2015 08:55:48 +0000 (09:55 +0100)
committerSascha Wildner <saw@online.de>
Fri, 16 Jan 2015 08:56:25 +0000 (09:56 +0100)
Also, comment out SND_DIAGNOSTIC which is currently broken.

sys/config/LINT64

index a2952c7..ff49a6c 100644 (file)
@@ -1236,15 +1236,44 @@ device          "snd_t4dwave"
 device         "snd_via8233"
 device         "snd_via82c686"
 device         "snd_vibes"
+# USB
+device         "snd_uaudio"
+
+#
+# Following options are intended for debugging/testing purposes:
+#
+# SND_DEBUG                    Enable extra debugging code that includes
+#                              sanity checking and possible increase of
+#                              verbosity.
+#
+# SND_DIAGNOSTIC               Similar in a spirit of INVARIANTS/DIAGNOSTIC,
+#                              zero tolerance against inconsistencies.
+#
+# SND_FEEDER_MULTIFORMAT       By default, only 16/32 bit feeders are compiled
+#                              in. This options enable most feeder converters
+#                              except for 8bit. WARNING: May bloat the kernel.
+#
+# SND_FEEDER_FULL_MULTIFORMAT  Ditto, but includes 8bit feeders as well.
+#
+# SND_FEEDER_RATE_HP           (feeder_rate) High precision 64bit arithmetic
+#                              as much as possible (the default trying to
+#                              avoid it). Possible slowdown.
+#
+# SND_PCM_64                   (Only applicable for i386/32bit arch)
+#                              Process 32bit samples through 64bit
+#                              integer/arithmetic. Slight increase of dynamic
+#                              range at a cost of possible slowdown.
+#
+# SND_OLDSTEREO                Only 2 channels are allowed, effectively
+#                              disabling multichannel processing.
+#
 options                SND_DEBUG
-options                SND_DIAGNOSTIC
+#options               SND_DIAGNOSTIC
 options                SND_FEEDER_MULTIFORMAT
 options                SND_FEEDER_FULL_MULTIFORMAT
 options                SND_FEEDER_RATE_HP
 options                SND_PCM_64
 options                SND_OLDSTEREO
-# USB
-device         "snd_uaudio"
 
 #
 # Miscellaneous hardware: