|
OpenTTD Source 20260721-master-g25ec12c62d
|
Loading of wav sounds. More...
#include "stdafx.h"#include "core/label_type.hpp"#include "core/math_func.hpp"#include "debug.h"#include "random_access_file_type.h"#include "sound_type.h"#include "soundloader_type.h"#include "safeguards.h"Go to the source code of this file.
Data Structures | |
| class | SoundLoader_Wav |
| Wav file (RIFF/WAVE) sound loader. More... | |
Typedefs | |
| using | WavTag = Label<struct WavTagTag> |
| Label for different tags in the file. | |
Functions | |
| WavTag | ReadWavTag (RandomAccessFile &file) |
Read a WavTag from the file. | |
Loading of wav sounds.
Definition in file soundloader_wav.cpp.
Label for different tags in the file.
Definition at line 20 of file soundloader_wav.cpp.
| WavTag ReadWavTag | ( | RandomAccessFile & | file | ) |
Read a WavTag from the file.
| file | The file to read from. |
WavTag. Definition at line 27 of file soundloader_wav.cpp.
References RandomAccessFile::ReadBlock().
Referenced by SoundLoader_Wav::Load().