ScummVM API documentation
wave.h
Go to the documentation of this file.
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*
20
*/
21
50
#ifndef AUDIO_WAVE_H
51
#define AUDIO_WAVE_H
52
53
#include "common/scummsys.h"
54
#include "common/types.h"
55
56
namespace
Common
{
57
class
SeekableReadStream;
58
}
59
60
namespace
Audio
{
61
62
class
SeekableAudioStream;
63
71
extern
bool
loadWAVFromStream
(
72
Common::SeekableReadStream
&stream,
73
int
&size,
74
int
&rate,
75
byte &flags,
76
uint16 *wavType = 0,
77
int
*blockAlign = 0,
78
int
*samplesPerBlock = 0);
79
91
SeekableAudioStream *
makeWAVStream
(
92
Common::SeekableReadStream
*stream,
93
DisposeAfterUse::Flag disposeAfterUse);
94
95
}
// End of namespace Audio
96
97
#endif
Common::SeekableReadStream
Definition:
stream.h:745
Audio::loadWAVFromStream
bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate, byte &flags, uint16 *wavType=0, int *blockAlign=0, int *samplesPerBlock=0)
Common
Definition:
algorithm.h:29
Audio::makeWAVStream
SeekableAudioStream * makeWAVStream(Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse)
Audio
Definition:
system.h:37
audio
decoders
wave.h
Generated on Sat May 4 2024 09:03:01 for ScummVM API documentation by
1.8.13