Files and codecs
Paths, streams and folders; WAV, FLAC, MP3, Ogg and the OS's decoders; images; zip; waveforms.
- 23headers
- 45public types
Start with
Headers 23
- files.hLooking at a directory.FileEntry
- path_io.hOpening files by UTF-8 path, on every platform.
- file_types.hFiles as streams, mapped files, temporary files, wildcard filters, search paths, and the list of mounted volumes.FileInputStream, FileOutputStream, FileInputSource, TemporaryFile, MemoryMappedFile +3
- streams.hByte streams: one interface for a file, a buffer, a URL, or a window onto another stream.InputStream, OutputStream, MemoryInputStream, MemoryOutputStream, BufferedInputStream +2
- file_dialog.hAsking the user for a file.FileFilter, FileDialog
- wav.hWAV files.WavData
- audiofile.hAudio files beyond WAV.
- audiofile_codecs.hThe lossy decoders, vendored.
- audiostream.hReading an audio file without holding all of it.AudioFileReader
- flac_encode.hWriting FLAC.BitWriter
- lame_encoder.hMP3 out, through the user's own LAME.LAMEEncoderAudioFormat
- system_audio_format.hThe operating system's own audio decoders.WindowsMediaAudioFormat, CoreAudioFormat
- sample_stream.hPlaying a file from disk instead of from memory.SampleStreamer
- record.hRecording audio to disk from a plugin, without stalling it.WavRecorder
- zip.hReading a .zip.ZipEntry, ZipFile
- waveform.hWaveform peaks, for drawing.WaveformBucket, WaveformPeaks
- thumbnail.hAudioThumbnail: the peak envelope a waveform display is drawn from.ThumbnailBucket, AudioThumbnail
- thumbnail_cache.hAudioThumbnailCache: waveforms already computed, kept by source.AudioThumbnailCache
- gfx/gif.hGIF, every frame of it, into premultiplied RGBA Bitmaps.GifFrame, GifImage, GifDecoder
- gfx/image_format.hImageFileFormat: whatever image a plugin is handed, decoded by what it is rather than by what its name says.DecodedImage, ImageFileFormat
- gfx/inflate.hDEFLATE, because PNG is a container around it.HuffmanTable, Inflater
- gfx/jpeg.hJPEG, into the same premultiplied RGBA a Bitmap holds -- and back out.JpegImage, JpegDecoder, JpegEncoder
- gfx/png.hPNG, into the same premultiplied RGBA a Bitmap holds.PngImage, PngDecoder