diff options
author | fulup <fulup.arfoll@iot.bzh> | 2017-08-03 12:00:41 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2017-08-03 12:00:41 +0200 |
commit | 070ccac33d65c651c972dfab9c6148e43d8d5d8e (patch) | |
tree | 07b79faec9bcaacf14dcc7f8ed08cacf35557e7d /HAL-afb/Scarlett-Focusrite | |
parent | 39384e722d9fd7d162012b682aed41b35d16d003 (diff) |
Initial Working Version on Alsa Policy-Policy-Hook
Diffstat (limited to 'HAL-afb/Scarlett-Focusrite')
-rw-r--r-- | HAL-afb/Scarlett-Focusrite/CMakeLists.txt | 2 | ||||
-rw-r--r-- | HAL-afb/Scarlett-Focusrite/ScarlettUsbHAL.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/HAL-afb/Scarlett-Focusrite/CMakeLists.txt b/HAL-afb/Scarlett-Focusrite/CMakeLists.txt index 4cbac19..93752a7 100644 --- a/HAL-afb/Scarlett-Focusrite/CMakeLists.txt +++ b/HAL-afb/Scarlett-Focusrite/CMakeLists.txt @@ -21,7 +21,7 @@ PROJECT_TARGET_ADD(hal-scalett-usb) # Define project Targets - ADD_LIBRARY(hal-scalett-usb MODULE ScarlettUsbHAL.c) + ADD_LIBRARY(${TARGET_NAME} MODULE ScarlettUsbHAL.c) # Binder exposes a unique public entry point SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES diff --git a/HAL-afb/Scarlett-Focusrite/ScarlettUsbHAL.c b/HAL-afb/Scarlett-Focusrite/ScarlettUsbHAL.c index dd4499e..9b31c96 100644 --- a/HAL-afb/Scarlett-Focusrite/ScarlettUsbHAL.c +++ b/HAL-afb/Scarlett-Focusrite/ScarlettUsbHAL.c @@ -57,7 +57,7 @@ STATIC alsaHalMapT alsaHalMap[]= { { .tag=Vol_Ramp_Set_Up , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="set linear step up ramp [default 10]", .ctl={.numid=0, .type=SND_CTL_ELEM_TYPE_INTEGER, .count=1, .minval=0, .maxval=100, .step=1, .value=10, .name="Hal-VolRamp-Step-Up"} }, - { .tag=Vol_Ramp , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="ramp volume linearly according to current ramp setting", + { .tag=Master_Playback_Volume , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="ramp volume linearly according to current ramp setting", .ctl={.numid=0, .type=SND_CTL_ELEM_TYPE_INTEGER, .count=1, .minval=0, .maxval=100, .step=1, .name="Hal-VolRamp"} }, @@ -75,7 +75,7 @@ STATIC alsaHalSndCardT alsaHalSndCard = { STATIC int sndServiceInit () { int err; - AFB_DEBUG ("IntelHalBinding Init"); + AFB_DEBUG ("Scarlett Binding Init"); err = halServiceInit (afbBindingV2.api, &alsaHalSndCard); return err; |