Debian Codegraph @

prboom2/src/SDL/i_sndfile.h

raw
1 // Copyright (C) 2023 Fabian Greffrath
2 //
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
12 //
13 // DESCRIPTION:
14 // Load sound lumps with libsndfile.
15
16 #ifndef I_SNDFILE_H
17 #define I_SNDFILE_H
18
19 #include "SDL_audio.h"
20
21 void *Load_SNDFile(const void *data, SDL_AudioSpec *sample, void **sampledata,
22 Uint32 *samplelen);
23
24 #endif