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 TypeMethodDescriptionbooleanSDL3.audioStreamDevicePaused(@Nullable SDL_AudioStream stream) Use this function to query if an audio device associated with a stream is paused.booleanSDL3.bindAudioStream(int devid, @Nullable SDL_AudioStream stream) Bind a single audio stream to an audio device.booleanSDL3.clearAudioStream(@Nullable SDL_AudioStream stream) Clear any pending data in the stream.voidSDL3.destroyAudioStream(@Nullable SDL_AudioStream stream) Free an audio stream.booleanSDL3.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.intSDL3.getAudioStreamAvailable(@Nullable SDL_AudioStream stream) Get the number of converted/resampled bytes available.intSDL3.getAudioStreamData(@Nullable SDL_AudioStream stream, MemorySegment buf, int len) Get converted/resampled data from the stream.intSDL3.getAudioStreamDevice(@Nullable SDL_AudioStream stream) Query an audio stream for its currently-bound device.booleanSDL3.getAudioStreamFormat(@Nullable SDL_AudioStream stream, @Nullable ISDL_AudioSpec src_spec, @Nullable ISDL_AudioSpec dst_spec) Query the current format of an audio stream.floatSDL3.getAudioStreamFrequencyRatio(@Nullable SDL_AudioStream stream) Get the frequency ratio of an audio stream.floatSDL3.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.intSDL3.getAudioStreamProperties(@Nullable SDL_AudioStream stream) Get the properties associated with an audio stream.intSDL3.getAudioStreamQueued(@Nullable SDL_AudioStream stream) Get the number of bytes currently queued.booleanSDL3.lockAudioStream(@Nullable SDL_AudioStream stream) Lock an audio stream for serialized access.booleanSDL3.pauseAudioStreamDevice(@Nullable SDL_AudioStream stream) Use this function to pause audio playback on the audio device associated with an audio stream.booleanSDL3.putAudioStreamData(@Nullable SDL_AudioStream stream, MemorySegment buf, int len) Add data to the stream.booleanSDL3.resumeAudioStreamDevice(@Nullable SDL_AudioStream stream) Use this function to unpause audio playback on the audio device associated with an audio stream.booleanSDL3.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.booleanSDL3.setAudioStreamFrequencyRatio(@Nullable SDL_AudioStream stream, float ratio) Change the frequency ratio of an audio stream.booleanSDL3.setAudioStreamGain(@Nullable SDL_AudioStream stream, float gain) Change the gain of an audio stream.booleanSDL3.setAudioStreamGetCallback(@Nullable SDL_AudioStream stream, MemorySegment callback, MemorySegment userdata) Set a callback that runs when data is requested from an audio stream.booleanSDL3.setAudioStreamInputChannelMap(@Nullable SDL_AudioStream stream, @Nullable IntPtr chmap, int count) Set the current input channel map of an audio stream.booleanSDL3.setAudioStreamOutputChannelMap(@Nullable SDL_AudioStream stream, @Nullable IntPtr chmap, int count) Set the current output channel map of an audio stream.booleanSDL3.setAudioStreamPutCallback(@Nullable SDL_AudioStream stream, MemorySegment callback, MemorySegment userdata) Set a callback that runs when data is added to an audio stream.voidSDL3.unbindAudioStream(@Nullable SDL_AudioStream stream) Unbind a single audio stream from its audio device.booleanSDL3.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 recordRepresents a pointer toSDL_AudioStreamhandle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_AudioStreamModifier and TypeMethodDescription@Nullable SDL_AudioStreamSDL_AudioStream.Ptr.read()@Nullable SDL_AudioStreamSDL_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.PtrSDL_AudioStream.Ptr.allocate(Arena arena, @Nullable SDL_AudioStream[] values) static SDL_AudioStream.PtrSDL_AudioStream.Ptr.allocateV(Arena arena, @Nullable SDL_AudioStream value0, @Nullable SDL_AudioStream... values) voidSDL_AudioStream.Ptr.write(long index, @Nullable SDL_AudioStream value) voidSDL_AudioStream.Ptr.write(@Nullable SDL_AudioStream value) voidSDL_AudioStream.Ptr.write(@Nullable SDL_AudioStream[] values) voidSDL_AudioStream.Ptr.writeV(@Nullable SDL_AudioStream value0, @Nullable SDL_AudioStream... values)