Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
alsa.h
Go to the documentation of this file.
1/*
2 ALSA.h - sound output backend using the Advanced Linux Sound Architecture
3
4 Copyright (C)
5 2011, Odin Omdal Hørthe <odin.omdal@gmail.com>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12*/
13
24#ifndef TOOL_ALSA_H
25#define TOOL_ALSA_H
26
27
28#include <stdlib.h>
29
30
31
32size_t audio_offset();
33
34
35void audio_init();
36
37
38size_t audio_write(const void* data, size_t amount);
39
40
41void audio_start(unsigned int rate, unsigned int channel_count);
42
43
44void audio_stop();
45
46#endif // TOOL_ALSA_H
static unsigned int rate
Definition alsa.c:33
void audio_init()
Definition alsa.c:46
void audio_start(unsigned int rate, unsigned int channel_count)
Definition alsa.c:155
size_t audio_offset()
Definition alsa.c:38
void audio_stop()
Definition alsa.c:163
size_t audio_write(const void *data, size_t amount)
Definition alsa.c:122