Documentation
¶
Overview ¶
ABOUTME: Entry point for Sendspin Protocol player ABOUTME: Parses CLI flags and starts the player application
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sendspin-server
command
ABOUTME: Entry point for Sendspin Protocol server ABOUTME: Thin CLI wrapper around pkg/sendspin.Server with TUI support
|
ABOUTME: Entry point for Sendspin Protocol server ABOUTME: Thin CLI wrapper around pkg/sendspin.Server with TUI support |
|
examples
|
|
|
basic-player
command
ABOUTME: Basic Sendspin player example ABOUTME: Demonstrates how to connect to a server and play audio
|
ABOUTME: Basic Sendspin player example ABOUTME: Demonstrates how to connect to a server and play audio |
|
basic-server
command
ABOUTME: Basic Sendspin server example ABOUTME: Demonstrates how to create a simple streaming server
|
ABOUTME: Basic Sendspin server example ABOUTME: Demonstrates how to create a simple streaming server |
|
custom-source
command
ABOUTME: Custom AudioSource implementation example ABOUTME: Demonstrates how to create custom audio sources for Sendspin
|
ABOUTME: Custom AudioSource implementation example ABOUTME: Demonstrates how to create custom audio sources for Sendspin |
|
internal
|
|
|
discovery
ABOUTME: mDNS service discovery for Sendspin Protocol ABOUTME: Handles both advertisement (server-initiated) and browsing (client-initiated)
|
ABOUTME: mDNS service discovery for Sendspin Protocol ABOUTME: Handles both advertisement (server-initiated) and browsing (client-initiated) |
|
server
ABOUTME: Audio streaming engine for Sendspin server ABOUTME: Generates test tones and streams timestamped audio to clients
|
ABOUTME: Audio streaming engine for Sendspin server ABOUTME: Generates test tones and streams timestamped audio to clients |
|
ui
ABOUTME: Bubbletea model for player TUI ABOUTME: Defines application state and update logic
|
ABOUTME: Bubbletea model for player TUI ABOUTME: Defines application state and update logic |
|
version
ABOUTME: Version information for the player ABOUTME: Used in device_info sent during handshake
|
ABOUTME: Version information for the player ABOUTME: Used in device_info sent during handshake |
|
pkg
|
|
|
audio
ABOUTME: Audio fundamentals package providing core types and utilities ABOUTME: Defines Format, Buffer types and sample conversion functions Package audio provides fundamental audio types and utilities for hi-res audio processing.
|
ABOUTME: Audio fundamentals package providing core types and utilities ABOUTME: Defines Format, Buffer types and sample conversion functions Package audio provides fundamental audio types and utilities for hi-res audio processing. |
|
audio/decode
ABOUTME: Decoder interface definition ABOUTME: Common interface for all audio decoders
|
ABOUTME: Decoder interface definition ABOUTME: Common interface for all audio decoders |
|
audio/encode
ABOUTME: Audio encoder package for encoding PCM to various formats ABOUTME: Provides Encoder interface and implementations for PCM, Opus Package encode provides audio encoders for various codecs.
|
ABOUTME: Audio encoder package for encoding PCM to various formats ABOUTME: Provides Encoder interface and implementations for PCM, Opus Package encode provides audio encoders for various codecs. |
|
audio/output
ABOUTME: Audio output package for playing audio ABOUTME: Provides Output interface with malgo implementation Package output provides audio playback interfaces.
|
ABOUTME: Audio output package for playing audio ABOUTME: Provides Output interface with malgo implementation Package output provides audio playback interfaces. |
|
audio/resample
ABOUTME: Audio resampling package using linear interpolation ABOUTME: Converts audio between different sample rates Package resample provides audio sample rate conversion.
|
ABOUTME: Audio resampling package using linear interpolation ABOUTME: Converts audio between different sample rates Package resample provides audio sample rate conversion. |
|
discovery
ABOUTME: mDNS service discovery package ABOUTME: Discover and advertise Resonate servers on local network Package discovery provides mDNS service discovery for Resonate servers.
|
ABOUTME: mDNS service discovery package ABOUTME: Discover and advertise Resonate servers on local network Package discovery provides mDNS service discovery for Resonate servers. |
|
protocol
ABOUTME: WebSocket client for Sendspin Protocol communication ABOUTME: Handles connection, handshake, and message routing
|
ABOUTME: WebSocket client for Sendspin Protocol communication ABOUTME: Handles connection, handshake, and message routing |
|
sendspin
ABOUTME: High-level Sendspin library API ABOUTME: Provides simple Player and Server APIs for most use cases Package sendspin provides high-level APIs for Sendspin audio streaming.
|
ABOUTME: High-level Sendspin library API ABOUTME: Provides simple Player and Server APIs for most use cases Package sendspin provides high-level APIs for Sendspin audio streaming. |
|
sync
ABOUTME: Clock synchronization using Kalman time filter ABOUTME: Tracks offset and drift between client and server clocks
|
ABOUTME: Clock synchronization using Kalman time filter ABOUTME: Tracks offset and drift between client and server clocks |
Click to show internal directories.
Click to hide internal directories.