summaryrefslogtreecommitdiffstats
path: root/Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCtl.c
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/AlsaHalPlugCtl.c
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/AlsaHalPlugCtl.c')
-rw-r--r--Alsa-Plugin/_Alsa-Hal-plugin/AlsaHalPlugCtl.c6
1 files changed, 3 insertions, 3 deletions
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);