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
32
size_t
audio_offset
();
33
34
35
void
audio_init
();
36
37
38
size_t
audio_write
(
const
void
* data,
size_t
amount);
39
40
41
void
audio_start
(
unsigned
int
rate
,
unsigned
int
channel_count);
42
43
44
void
audio_stop
();
45
46
#endif
// TOOL_ALSA_H
rate
static unsigned int rate
Definition
alsa.c:33
audio_init
void audio_init()
Definition
alsa.c:46
audio_start
void audio_start(unsigned int rate, unsigned int channel_count)
Definition
alsa.c:155
audio_offset
size_t audio_offset()
Definition
alsa.c:38
audio_stop
void audio_stop()
Definition
alsa.c:163
audio_write
size_t audio_write(const void *data, size_t amount)
Definition
alsa.c:122
tool
alsa.h
Generated on Thu Dec 11 2025 for Lumiera by
1.9.8