From db4d63597b22b63eb73b5c0558476652ed4988bb Mon Sep 17 00:00:00 2001 From: fulup Date: Sun, 9 Jul 2017 19:59:24 +0200 Subject: initial version of HAL (registration + getctls) Work in progress --- htdocs/AudioBinding.js | 5 ++++- htdocs/alsa-core.html | 1 + htdocs/alsa-hal.html | 34 ++++++++++++++++++++++++++++++++++ htdocs/index.html | 1 + 4 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 htdocs/alsa-hal.html (limited to 'htdocs') diff --git a/htdocs/AudioBinding.js b/htdocs/AudioBinding.js index e830861..9771726 100644 --- a/htdocs/AudioBinding.js +++ b/htdocs/AudioBinding.js @@ -16,7 +16,10 @@ // default soundcard is "PCH" var devid=getParameterByName("devid"); - if (!devid) devid="hw:0"; + if (!devid) devid="hw:1"; + + var haldev=getParameterByName("haldev"); + if (!haldev) haldev="scarlett-usb"; var sndname=getParameterByName("sndname"); if (!sndname) sndname="PCH"; diff --git a/htdocs/alsa-core.html b/htdocs/alsa-core.html index 6483180..7fff3d8 100644 --- a/htdocs/alsa-core.html +++ b/htdocs/alsa-core.html @@ -20,6 +20,7 @@
  • +

  • diff --git a/htdocs/alsa-hal.html b/htdocs/alsa-hal.html new file mode 100644 index 0000000..15c1661 --- /dev/null +++ b/htdocs/alsa-hal.html @@ -0,0 +1,34 @@ + + + Basic Audio Hardware Abstraction Layer Test + + + + + references +
      +
    1. http://localhost:1234/alsa-core.html?haldev=scarlett-usb
    2. +
    + + +

    Hello world test

    + +
    +
      +
    1. + +
    2. +
      +
    3. +
    4. +
    5. +
      +
    + + diff --git a/htdocs/index.html b/htdocs/index.html index 330ef4d..2d2b4ae 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -5,4 +5,5 @@

    audio-bindings test

    1. AlsaCore Low Level Binding +
    2. AlsaHAL Hardware Abstraction Layer
    3. AudioLogic High level business API -- cgit 1.2.3-korg