瀏覽代碼

some sound notes

clementinecomputing 6 年之前
父節點
當前提交
123ab85536
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      experiment/production/Sound-Notes.md

+ 10 - 0
experiment/production/Sound-Notes.md

@@ -0,0 +1,10 @@
+Sound Notes
+===
+
+```
+vol=75
+chan=`amixer controls | grep Volume | head -n1 | cut -f1 -d',' | cut -f2 -d'='`
+amixer cset numid=$chan -- ${vol}% > /dev/null
+```
+
+Plugging the 3.5mm jack into the HDMI display.