Lumiera  0.pre.03
»edit your freedom«
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