summaryrefslogtreecommitdiffstats
path: root/bindings/audio/audio-alsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/audio/audio-alsa.h')
-rw-r--r--bindings/audio/audio-alsa.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/bindings/audio/audio-alsa.h b/bindings/audio/audio-alsa.h
deleted file mode 100644
index 651d57ce..00000000
--- a/bindings/audio/audio-alsa.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright (C) 2015, 2016, 2017 "IoT.bzh"
- * Author "Manuel Bachmann"
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * 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.
- */
-
-#ifndef AUDIO_ALSA_H
-#define AUDIO_ALSA_H
-
-#include <pthread.h>
-#include <alsa/asoundlib.h>
-
-#include "audio-api.h"
-
-#define AUDIO_BUFFER "/tmp/audio_buf"
-
-typedef struct dev_ctx_alsa dev_ctx_alsa_T;
-
-struct dev_ctx_alsa {
- char *name;
- snd_pcm_t *dev;
- snd_pcm_hw_params_t *params;
- snd_mixer_elem_t *mixer_elm;
- snd_mixer_elem_t *mixer_elm_m;
- long vol_max;
- long vol;
- pthread_t thr;
- unsigned char thr_should_run;
- unsigned char thr_finished;
-};
-
-unsigned char _alsa_init (const char *, audioCtxHandleT *);
-void _alsa_free (const char *);
-void _alsa_play (int);
-void _alsa_stop (int);
-unsigned int _alsa_get_volume (int, unsigned int);
-void _alsa_set_volume (int, unsigned int, unsigned int);
-void _alsa_set_volume_all (int, unsigned int);
-unsigned char _alsa_get_mute (int);
-void _alsa_set_mute (int, unsigned char);
-void _alsa_set_channels (int, unsigned int);
-
-void* _alsa_play_thread_fn (void *);
-
-#endif /* AUDIO_ALSA_H */
* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <remote fetch="https://github.com/01org/" name="01org"/>
  <remote fetch="https://gerrit.automotivelinux.org/gerrit/" name="agl" review="https://gerrit.automotivelinux.org/gerrit/"/>
  <remote fetch="https://github.com/" name="github"/>
  <remote fetch="git://git.openembedded.org/" name="openembedded"/>
  <remote fetch="git://git.yoctoproject.org/" name="yocto"/>
  
  <default remote="agl" revision="blowfish" sync-j="4"/>
  
  <project name="AGL/meta-agl" path="meta-agl" revision="2031b8aad4a7d317e64a2130f4340d408e281389" upstream="blowfish"/>
  <project name="AGL/meta-agl-demo" path="meta-agl-demo" revision="ba4c2ecd321efee716a2e122a87f5ed93e9cbe0d" upstream="blowfish"/>
  <project name="AGL/meta-agl-devel" path="meta-agl-devel" revision="5fb924b7d0136dd4bbafa7f309ba45b09d91f87f" upstream="blowfish"/>
  <project name="AGL/meta-agl-extra" path="meta-agl-extra" revision="3603f1632a5b32d0c42e00fbfdeab8269517c098" upstream="blowfish"/>
  <project name="AGL/meta-renesas" path="meta-renesas" revision="82611ccadef36ab0b8a6fd6fb1cf055e115f1ef5" upstream="blowfish"/>
  <project name="Freescale/meta-fsl-arm-extra" path="meta-fsl-arm-extra" remote="github" revision="dd074c47af53948041f6c5671e519fbf815b0980" upstream="jethro"/>
  <project name="konsulko/meta-rust" path="meta-rust" remote="github" revision="395cde581938d862abb6a9219c0118c81cf01da2" upstream="jethro"/>
  <project name="meta-fsl-arm" remote="yocto" revision="c9e576bdae8c481f5a836531c7865fe8b8a5a36f" upstream="jethro"/>
  <project name="meta-intel" remote="yocto" revision="aca8652267fb70a00995d32a1de8581694d6c867" upstream="jethro"/>
  <project name="meta-intel-iot-security" remote="01org" revision="c5906a1553513ef192a58231700357c5f14f4ae4" upstream="master"/>
  <project name="meta-openembedded" remote="openembedded" revision="8ab04afbffb4bc5184cfe0655049de6f44269990" upstream="jethro"/>
  <project name="meta-qcom" remote="yocto" revision="9f047a90a958c77d125ff4745044d2f25614469d" upstream="jethro"/>
  <project name="meta-qt5/meta-qt5" path="meta-qt5" remote="github" revision="ea37a0bc987aa9484937ad68f762b4657c198617" upstream="jethro"/>
  <project name="meta-raspberrypi" remote="yocto" revision="2745399f75d7564fcc586d0365ff73be47849d0e" upstream="master"/>
  <project name="meta-security-isafw" remote="01org" revision="d6db6a103b381aebac1a4e7dae41813aec735628" upstream="jethro"/>
  <project name="meta-ti" remote="yocto" revision="543dac569bb64a3b75e549fb17a5ef65d590dc1b" upstream="master"/>
  <project name="poky" remote="yocto" revision="118380bc5d01e52b5edc574abb4176f6e70a54a6" upstream="jethro"/>
  <project name="tripzero/meta-amb" path="meta-amb" remote="github" revision="ef3495bb8d6543709f6d1f7b657cb894d32c1757" upstream="master"/>
</manifest>