aboutsummaryrefslogtreecommitdiffstats
path: root/Alsa-Plugin/_Alsa-Hal-plugin
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:54:30 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:54:30 +0200
commitd0dae04c2ae6e4219e0ebac205dd05fa7e9427cf (patch)
tree80c6fc84f56afedc4fb02a097ae3e464bd792828 /Alsa-Plugin/_Alsa-Hal-plugin
parent606ccd2405a55eab4c909160c951c083bccd825d (diff)
Format: remove blank space at EOL
Change-Id: I786ac8d5be68bdf09d5bb6c883959d6e1963c1fe Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'Alsa-Plugin/_Alsa-Hal-plugin')
-rw-r--r--Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlug.h4
-rw-r--r--Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCb.c6
-rw-r--r--Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCtl.c6
-rw-r--r--Alsa-Plugin/_Alsa-Hal-plugin/CMakeLists.txt4
-rw-r--r--Alsa-Plugin/_Alsa-Hal-plugin/README.md4
5 files changed, 12 insertions, 12 deletions
diff --git a/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlug.h b/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlug.h
index bb2dd79..98850bf 100644
--- a/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlug.h
+++ b/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlug.h
@@ -13,10 +13,10 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* AfbCallBack (snd_ctl_hal_t *handle, int numid, void **response);
* AfbHalInit is mandatory and called with numid=0
- *
+ *
* Syntaxe in .asoundrc file
* CrlLabel { cb MyFunctionName name "My_Second_Control" }
*/
diff --git a/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCb.c b/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCb.c
index b96f3d9..9e55f0c 100644
--- a/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCb.c
+++ b/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCb.c
@@ -13,13 +13,13 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* AfbCallBack (snd_ctl_hal_t *handle, int numid, void **response);
* AfbHalInit is mandatory and called with numid=0
- *
+ *
* Syntax in .asoundrc file
* CrlLabel { cb MyFunctionName name "My_Second_Control" }
- *
+ *
* Testing:
* amixer -Dagl_hal controls
* amixer -Dagl_hal cget name=My_Sample_Callback
diff --git a/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCtl.c b/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCtl.c
index 5e92dd6..22c217b 100644
--- a/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCtl.c
+++ b/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCtl.c
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* Testing:
* 1) Copy generated plugin [libasound_module_pcm_afbhal.so] in alsa-lib/ dir visible from LD_LIBRARY_PATH (eg: /usr/lib64/alsa-lib)
* 2) Create a ~/.asounrc file base on following template
@@ -25,7 +25,7 @@
* # ctlLabel {numid integer name "Alsa Ctl Name"}
* MasterSwitch { numid 4 name "My_First_Control" }
* MasterVol { numid 5 name "My_Second_Control" }
- * CB_sample { ctlcb @AfbHalSampleCB name "My_Sample_Callback"}
+ * CB_sample { ctlcb @AfbHalSampleCB name "My_Sample_Callback"}
* }
* pcm.agl_hal {
* type copy # Copy PCM
@@ -109,7 +109,7 @@ static int AfbHalGetIntInfo(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, long *imi
if (elemInfo) {
- // Should be normalised to make everything 0-100%
+ // Should be normalised to make everything 0-100%
*imin = (long) snd_ctl_elem_info_get_min(elemInfo);
*imax = (long) snd_ctl_elem_info_get_min(elemInfo);
*istep = (long) snd_ctl_elem_info_get_min(elemInfo);
diff --git a/Alsa-Plugin/_Alsa-Hal-plugin/CMakeLists.txt b/Alsa-Plugin/_Alsa-Hal-plugin/CMakeLists.txt
index 93642b2..90ee5a3 100644
--- a/Alsa-Plugin/_Alsa-Hal-plugin/CMakeLists.txt
+++ b/Alsa-Plugin/_Alsa-Hal-plugin/CMakeLists.txt
@@ -22,7 +22,7 @@ add_compile_options(-DPIC)
# Add target to project dependency list
PROJECT_TARGET_ADD(ctl_afbhal)
- # Define targets
+ # Define targets
ADD_LIBRARY(${TARGET_NAME} MODULE HalPlugCtl.c)
# Alsa Plugin properties
@@ -39,7 +39,7 @@ PROJECT_TARGET_ADD(ctl_afbhal)
PROJECT_TARGET_ADD(cb_sample)
- # Define targets
+ # Define targets
ADD_LIBRARY(${TARGET_NAME} MODULE HalPlugCb.c)
# Alsa Plugin properties
diff --git a/Alsa-Plugin/_Alsa-Hal-plugin/README.md b/Alsa-Plugin/_Alsa-Hal-plugin/README.md
index a0d4350..a6fc90d 100644
--- a/Alsa-Plugin/_Alsa-Hal-plugin/README.md
+++ b/Alsa-Plugin/_Alsa-Hal-plugin/README.md
@@ -1,4 +1,4 @@
-Hal-Plugin
+Hal-Plugin
Object: Add virtual soft control to sound card
Status: Proof of concept and not a usable product
@@ -24,7 +24,7 @@ cat ~/.asoundrc
# ctlLabel {numid integer name "Alsa Ctl Name"}
MasterSwitch { numid 4 name "My_First_Control" }
MasterVol { numid 5 name "My_Second_Control" }
- CB_sample { ctlcb @AfbHalSampleCB name "My_Sample_Callback"}
+ CB_sample { ctlcb @AfbHalSampleCB name "My_Sample_Callback"}
}
pcm.agl_hal {
type copy # Copy PCM