Uses of Record Class
club.doki7.sdl3.handle.SDL_AudioStream
Packages that use SDL_AudioStream
-
Uses of SDL_AudioStream in club.doki7.sdl3
Methods in club.doki7.sdl3 that return SDL_AudioStreamModifier and TypeMethodDescriptionSDL3.createAudioStream
(@Nullable ISDL_AudioSpec src_spec, @Nullable ISDL_AudioSpec dst_spec) Create a new audio stream.SDL3.openAudioDeviceStream
(int devid, @Nullable ISDL_AudioSpec spec, MemorySegment callback, MemorySegment userdata) Convenience function for straightforward audio init for the common case.Methods in club.doki7.sdl3 with parameters of type SDL_AudioStreamModifier and TypeMethodDescriptionboolean
SDL3.audioStreamDevicePaused
(@Nullable SDL_AudioStream stream) Use this function to query if an audio device associated with a stream is paused.boolean
SDL3.bindAudioStream
(int devid, @Nullable SDL_AudioStream stream) Bind a single audio stream to an audio device.boolean
SDL3.clearAudioStream
(@Nullable SDL_AudioStream stream) Clear any pending data in the stream.void
SDL3.destroyAudioStream
(@Nullable SDL_AudioStream stream) Free an audio stream.boolean
SDL3.flushAudioStream
(@Nullable SDL_AudioStream stream) Tell the stream that you're done sending data, and anything being buffered should be converted/resampled and made available immediately.int
SDL3.getAudioStreamAvailable
(@Nullable SDL_AudioStream stream) Get the number of converted/resampled bytes available.int
SDL3.getAudioStreamData
(@Nullable SDL_AudioStream stream, MemorySegment buf, int len) Get converted/resampled data from the stream.int
SDL3.getAudioStreamDevice
(@Nullable SDL_AudioStream stream) Query an audio stream for its currently-bound 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.float
SDL3.getAudioStreamFrequencyRatio
(@Nullable SDL_AudioStream stream) Get the frequency ratio of an audio stream.float
SDL3.getAudioStreamGain
(@Nullable SDL_AudioStream stream) Get the gain of an audio stream.SDL3.getAudioStreamInputChannelMap
(@Nullable SDL_AudioStream stream, @Nullable IntPtr count) Get the current input channel map of an audio stream.SDL3.getAudioStreamOutputChannelMap
(@Nullable SDL_AudioStream stream, @Nullable IntPtr count) Get the current output channel map of an audio stream.int
SDL3.getAudioStreamProperties
(@Nullable SDL_AudioStream stream) Get the properties associated with an audio stream.int
SDL3.getAudioStreamQueued
(@Nullable SDL_AudioStream stream) Get the number of bytes currently queued.boolean
SDL3.lockAudioStream
(@Nullable SDL_AudioStream stream) Lock an audio stream for serialized access.boolean
SDL3.pauseAudioStreamDevice
(@Nullable SDL_AudioStream stream) Use this function to pause audio playback on the audio device associated with an audio stream.boolean
SDL3.putAudioStreamData
(@Nullable SDL_AudioStream stream, MemorySegment buf, int len) Add data to the stream.boolean
SDL3.resumeAudioStreamDevice
(@Nullable SDL_AudioStream stream) Use this function to unpause audio playback on the audio device associated with an audio stream.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.boolean
SDL3.setAudioStreamFrequencyRatio
(@Nullable SDL_AudioStream stream, float ratio) Change the frequency ratio of an audio stream.boolean
SDL3.setAudioStreamGain
(@Nullable SDL_AudioStream stream, float gain) Change the gain of an audio stream.boolean
SDL3.setAudioStreamGetCallback
(@Nullable SDL_AudioStream stream, MemorySegment callback, MemorySegment userdata) Set a callback that runs when data is requested from an audio stream.boolean
SDL3.setAudioStreamInputChannelMap
(@Nullable SDL_AudioStream stream, @Nullable IntPtr chmap, int count) Set the current input channel map of an audio stream.boolean
SDL3.setAudioStreamOutputChannelMap
(@Nullable SDL_AudioStream stream, @Nullable IntPtr chmap, int count) Set the current output channel map of an audio stream.boolean
SDL3.setAudioStreamPutCallback
(@Nullable SDL_AudioStream stream, MemorySegment callback, MemorySegment userdata) Set a callback that runs when data is added to an audio stream.void
SDL3.unbindAudioStream
(@Nullable SDL_AudioStream stream) Unbind a single audio stream from its audio device.boolean
SDL3.unlockAudioStream
(@Nullable SDL_AudioStream stream) Unlock an audio stream for serialized access. -
Uses of SDL_AudioStream in club.doki7.sdl3.handle
Classes in club.doki7.sdl3.handle that implement interfaces with type arguments of type SDL_AudioStreamModifier and TypeClassDescriptionstatic final record
Represents a pointer toSDL_AudioStream
handle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_AudioStreamModifier and TypeMethodDescription@Nullable SDL_AudioStream
SDL_AudioStream.Ptr.read()
@Nullable SDL_AudioStream
SDL_AudioStream.Ptr.read
(long index) Methods in club.doki7.sdl3.handle that return types with arguments of type SDL_AudioStreamModifier and TypeMethodDescription@NotNull Iterator
<SDL_AudioStream> SDL_AudioStream.Ptr.iterator()
Methods in club.doki7.sdl3.handle with parameters of type SDL_AudioStreamModifier and TypeMethodDescriptionstatic SDL_AudioStream.Ptr
SDL_AudioStream.Ptr.allocate
(Arena arena, @Nullable SDL_AudioStream[] values) static SDL_AudioStream.Ptr
SDL_AudioStream.Ptr.allocateV
(Arena arena, @Nullable SDL_AudioStream value0, @Nullable SDL_AudioStream... values) void
SDL_AudioStream.Ptr.write
(long index, @Nullable SDL_AudioStream value) void
SDL_AudioStream.Ptr.write
(@Nullable SDL_AudioStream value) void
SDL_AudioStream.Ptr.write
(@Nullable SDL_AudioStream[] values) void
SDL_AudioStream.Ptr.writeV
(@Nullable SDL_AudioStream value0, @Nullable SDL_AudioStream... values)