Mercurial > molko
comparison src/libmlk-core/core/sys_p.h @ 380:31e2f6d35c34
core: fix sndfile distortion issue
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 07 Jan 2022 08:20:12 +0100 |
parents | 67c1c46af2c8 |
children | f48367c5a92e |
comparison
equal
deleted
inserted
replaced
379:67c1c46af2c8 | 380:31e2f6d35c34 |
---|---|
21 | 21 |
22 #include <stddef.h> | 22 #include <stddef.h> |
23 | 23 |
24 #include <al.h> | 24 #include <al.h> |
25 #include <alc.h> | 25 #include <alc.h> |
26 #include <alext.h> | |
26 | 27 |
27 extern ALCdevice *audio_dev; | 28 extern ALCdevice *audio_dev; |
28 extern ALCcontext *audio_ctx; | 29 extern ALCcontext *audio_ctx; |
29 | 30 |
30 struct audiostream { | 31 struct audiostream { |
31 ALshort *samples; | 32 short *samples; |
32 ALsizei samplesz; | 33 ALsizei samplesz; |
33 ALsizei samplerate; | 34 ALsizei samplerate; |
34 ALuint buffer; | 35 ALuint buffer; |
35 ALuint source; | 36 ALuint source; |
36 ALenum format; | 37 ALenum format; |