Acoustic Touch Recognition
|
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <pulse/pulseaudio.h>
#include <pulse/def.h>
#include <alsa/asoundlib.h>
#include <alsa/mixer.h>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
struct | pa_devicelist |
struct | alsa_soundCard |
Typedefs | |
typedef struct pa_devicelist | pa_devicelist_t |
typedef struct alsa_soundCard | alsa_soundCard_t |
Functions | |
void | pa_state_cb (pa_context *c, void *userdata) |
This callback gets called when our context changes state. We really only care about when it's ready or if it has failed. More... | |
void | pa_sinklist_cb (pa_context *c, const pa_sink_info *l, int eol, void *userdata) |
void | pa_sourcelist_cb (pa_context *c, const pa_source_info *l, int eol, void *userdata) |
See above. This callback is pretty much identical to the previous. More... | |
int | pa_get_devicelist (pa_devicelist_t *input, pa_devicelist_t *output) |
vector< alsa_soundCard_t > | alsa_get_cardlist () |
typedef struct alsa_soundCard alsa_soundCard_t |
typedef struct pa_devicelist pa_devicelist_t |
vector<alsa_soundCard_t> alsa_get_cardlist | ( | ) |
int pa_get_devicelist | ( | pa_devicelist_t * | input, |
pa_devicelist_t * | output | ||
) |
input | |
output |
void pa_sinklist_cb | ( | pa_context * | c, |
const pa_sink_info * | l, | ||
int | eol, | ||
void * | userdata | ||
) |
void pa_sourcelist_cb | ( | pa_context * | c, |
const pa_source_info * | l, | ||
int | eol, | ||
void * | userdata | ||
) |
See above. This callback is pretty much identical to the previous.
c | |
l | |
eol | |
userdata |
void pa_state_cb | ( | pa_context * | c, |
void * | userdata | ||
) |
This callback gets called when our context changes state. We really only care about when it's ready or if it has failed.
c | |
userdata |