Uses of Interface
club.doki7.sdl3.datatype.ISDL_AudioSpec
Packages that use ISDL_AudioSpec
-
Uses of ISDL_AudioSpec in club.doki7.sdl3
Methods in club.doki7.sdl3 with parameters of type ISDL_AudioSpecModifier and TypeMethodDescriptionboolean
SDL3.convertAudioSamples
(@Nullable ISDL_AudioSpec src_spec, @Nullable BytePtr src_data, int src_len, @Nullable ISDL_AudioSpec dst_spec, @Nullable PointerPtr dst_data, @Nullable IntPtr dst_len) Convert some audio data of one format to another format.SDL3.createAudioStream
(@Nullable ISDL_AudioSpec src_spec, @Nullable ISDL_AudioSpec dst_spec) Create a new audio stream.boolean
SDL3.getAudioDeviceFormat
(int devid, @Nullable ISDL_AudioSpec spec, @Nullable IntPtr sample_frames) Get the current audio format of a specific audio device.boolean
SDL3.getAudioStreamFormat
(@Nullable SDL_AudioStream stream, @Nullable ISDL_AudioSpec src_spec, @Nullable ISDL_AudioSpec dst_spec) Query the current format of an audio stream.boolean
SDL3.loadWAV
(@Nullable BytePtr path, @Nullable ISDL_AudioSpec spec, @Nullable PointerPtr audio_buf, @Nullable IntPtr audio_len) Loads a WAV from a file path.boolean
SDL3.loadWAV_IO
(@Nullable SDL_IOStream src, boolean closeio, @Nullable ISDL_AudioSpec spec, @Nullable PointerPtr audio_buf, @Nullable IntPtr audio_len) Load the audio data of a WAVE file into memory.int
SDL3.openAudioDevice
(int devid, @Nullable ISDL_AudioSpec spec) Open a specific audio device.SDL3.openAudioDeviceStream
(int devid, @Nullable ISDL_AudioSpec spec, MemorySegment callback, MemorySegment userdata) Convenience function for straightforward audio init for the common case.boolean
SDL3.setAudioStreamFormat
(@Nullable SDL_AudioStream stream, @Nullable ISDL_AudioSpec src_spec, @Nullable ISDL_AudioSpec dst_spec) Change the input and output formats of an audio stream. -
Uses of ISDL_AudioSpec in club.doki7.sdl3.datatype
Classes in club.doki7.sdl3.datatype that implement ISDL_AudioSpecModifier and TypeClassDescriptionfinal record
Format specifier for audio data.static final record
Represents a pointer to / an array of null structure(s) in native memory.