From fdc4ac2a7115a441979233b23b759383eff63241 Mon Sep 17 00:00:00 2001 From: FelixMcFelix Date: Tue, 26 Nov 2024 00:53:18 +0000 Subject: [PATCH] deploy: 17993bc0d0ae7a4e43e86bbb6439c30538b67832 --- current/help.html | 2 +- current/settings.html | 2 +- current/songbird/all.html | 2 +- .../constants/constant.AUDIO_FRAME_RATE.html | 2 +- .../constants/constant.CHILD_BUFFER_LEN.html | 2 +- .../constants/constant.DEFAULT_BITRATE.html | 2 +- .../constants/constant.FRAME_LEN_MS.html | 2 +- .../constant.MONO_FRAME_BYTE_SIZE.html | 2 +- .../constants/constant.MONO_FRAME_SIZE.html | 2 +- .../constants/constant.RTP_PROFILE_TYPE.html | 2 +- .../constants/constant.RTP_VERSION.html | 2 +- .../constants/constant.SAMPLE_RATE.html | 2 +- .../constants/constant.SAMPLE_RATE_RAW.html | 2 +- .../constants/constant.SILENT_FRAME.html | 2 +- .../constant.STEREO_FRAME_BYTE_SIZE.html | 2 +- .../constants/constant.STEREO_FRAME_SIZE.html | 2 +- .../constants/constant.TIMESTEP_LENGTH.html | 2 +- .../constants/constant.UDP_KEEPALIVE_GAP.html | 2 +- .../constant.UDP_KEEPALIVE_GAP_MS.html | 2 +- .../constant.VOICE_GATEWAY_VERSION.html | 2 +- .../constants/constant.VOICE_PACKET_MAX.html | 2 +- current/songbird/constants/index.html | 2 +- current/songbird/driver/enum.Bitrate.html | 2 +- current/songbird/driver/enum.Channels.html | 2 +- current/songbird/driver/enum.CryptoMode.html | 2 +- current/songbird/driver/enum.DecodeMode.html | 2 +- current/songbird/driver/enum.MixMode.html | 2 +- current/songbird/driver/enum.SampleRate.html | 2 +- .../songbird/driver/enum.SchedulerError.html | 2 +- .../songbird/driver/enum.SchedulerMode.html | 2 +- current/songbird/driver/index.html | 2 +- .../songbird/driver/retry/enum.Strategy.html | 2 +- current/songbird/driver/retry/index.html | 2 +- .../retry/struct.ExponentialBackoff.html | 2 +- .../songbird/driver/retry/struct.Retry.html | 2 +- .../driver/static.DEFAULT_SCHEDULER.html | 2 +- current/songbird/driver/struct.Connect.html | 2 +- .../driver/struct.DisposalThread.html | 2 +- current/songbird/driver/struct.Driver.html | 2 +- .../songbird/driver/struct.LiveStatBlock.html | 2 +- current/songbird/driver/struct.Scheduler.html | 2 +- .../driver/struct.SchedulerConfig.html | 2 +- .../songbird/error/enum.ConnectionError.html | 2 +- current/songbird/error/enum.JoinError.html | 2 +- current/songbird/error/index.html | 2 +- current/songbird/error/struct.JsonError.html | 2 +- .../songbird/error/type.ConnectionResult.html | 2 +- current/songbird/error/type.JoinResult.html | 2 +- .../context_data/enum.DisconnectKind.html | 2 +- .../context_data/enum.DisconnectReason.html | 2 +- .../songbird/events/context_data/index.html | 2 +- .../context_data/struct.ConnectData.html | 2 +- .../context_data/struct.DisconnectData.html | 2 +- .../events/context_data/struct.RtcpData.html | 2 +- .../events/context_data/struct.RtpData.html | 2 +- .../events/context_data/struct.VoiceData.html | 2 +- .../events/context_data/struct.VoiceTick.html | 2 +- current/songbird/events/enum.CoreEvent.html | 2 +- current/songbird/events/enum.Event.html | 2 +- .../songbird/events/enum.EventContext.html | 2 +- current/songbird/events/enum.TrackEvent.html | 2 +- .../songbird/events/enum.UntimedEvent.html | 2 +- current/songbird/events/index.html | 2 +- current/songbird/events/struct.EventData.html | 2 +- .../songbird/events/struct.EventStore.html | 2 +- .../songbird/events/trait.EventHandler.html | 2 +- current/songbird/id/index.html | 2 +- current/songbird/id/struct.ChannelId.html | 2 +- current/songbird/id/struct.GuildId.html | 2 +- current/songbird/id/struct.UserId.html | 2 +- current/songbird/index.html | 2 +- .../input/cached/enum.CodecCacheError.html | 2 +- current/songbird/input/cached/enum.Error.html | 2 +- .../input/cached/enum.LengthHint.html | 2 +- .../input/cached/fn.apply_length_hint.html | 2 +- .../cached/fn.compressed_cost_per_sec.html | 2 +- .../input/cached/fn.default_config.html | 2 +- .../input/cached/fn.raw_cost_per_sec.html | 2 +- current/songbird/input/cached/index.html | 2 +- .../input/cached/struct.Compressed.html | 2 +- .../songbird/input/cached/struct.Config.html | 2 +- .../input/cached/struct.Decompressed.html | 2 +- .../songbird/input/cached/struct.Memory.html | 2 +- .../input/cached/struct.OpusCompressor.html | 2 +- current/songbird/input/codecs/index.html | 2 +- .../input/codecs/static.CODEC_REGISTRY.html | 2 +- .../songbird/input/codecs/static.PROBE.html | 2 +- .../input/codecs/struct.DcaReader.html | 2 +- .../input/codecs/struct.OpusDecoder.html | 2 +- .../input/codecs/struct.RawReader.html | 2 +- .../songbird/input/enum.AudioStreamError.html | 2 +- .../songbird/input/enum.AuxMetadataError.html | 2 +- current/songbird/input/enum.Input.html | 2 +- current/songbird/input/enum.LiveInput.html | 2 +- .../input/enum.MakePlayableError.html | 2 +- .../songbird/input/enum.MetadataError.html | 2 +- current/songbird/input/index.html | 2 +- .../input/struct.AsyncAdapterStream.html | 2 +- .../input/struct.AsyncReadOnlySource.html | 2 +- .../songbird/input/struct.AudioStream.html | 2 +- .../songbird/input/struct.AuxMetadata.html | 2 +- .../songbird/input/struct.ChildContainer.html | 2 +- current/songbird/input/struct.File.html | 2 +- current/songbird/input/struct.HlsRequest.html | 2 +- .../songbird/input/struct.HttpRequest.html | 2 +- current/songbird/input/struct.Metadata.html | 2 +- current/songbird/input/struct.Parsed.html | 2 +- current/songbird/input/struct.RawAdapter.html | 2 +- current/songbird/input/struct.YoutubeDl.html | 2 +- .../input/trait.AsyncMediaSource.html | 2 +- current/songbird/input/trait.Compose.html | 2 +- .../utils/fn.byte_count_to_timestamp.html | 2 +- current/songbird/input/utils/fn.decoder.html | 2 +- .../utils/fn.sample_count_to_timestamp.html | 2 +- .../utils/fn.timestamp_to_byte_count.html | 2 +- .../utils/fn.timestamp_to_sample_count.html | 2 +- current/songbird/input/utils/index.html | 2 +- current/songbird/join/index.html | 2 +- current/songbird/join/struct.Join.html | 2 +- current/songbird/join/struct.JoinGateway.html | 2 +- current/songbird/serenity/fn.get.html | 2 +- current/songbird/serenity/fn.register.html | 2 +- .../serenity/fn.register_from_config.html | 2 +- .../songbird/serenity/fn.register_with.html | 2 +- current/songbird/serenity/index.html | 2 +- .../songbird/serenity/struct.SongbirdKey.html | 2 +- .../songbird/serenity/trait.SerenityInit.html | 2 +- current/songbird/shards/enum.Shard.html | 2 +- current/songbird/shards/enum.Sharder.html | 2 +- current/songbird/shards/index.html | 2 +- .../shards/struct.SerenityShardHandle.html | 2 +- .../shards/struct.SerenitySharder.html | 2 +- .../songbird/shards/struct.TwilightMap.html | 2 +- .../songbird/shards/trait.GenericSharder.html | 2 +- .../songbird/shards/trait.VoiceUpdate.html | 2 +- current/songbird/struct.Call.html | 6 ++-- current/songbird/struct.Config.html | 2 +- current/songbird/struct.ConnectionInfo.html | 2 +- current/songbird/struct.Iter.html | 2 +- current/songbird/struct.Songbird.html | 2 +- .../songbird/tracks/enum.ControlError.html | 2 +- current/songbird/tracks/enum.LoopState.html | 2 +- current/songbird/tracks/enum.PlayError.html | 2 +- current/songbird/tracks/enum.PlayMode.html | 2 +- current/songbird/tracks/enum.ReadyState.html | 2 +- current/songbird/tracks/index.html | 2 +- current/songbird/tracks/struct.Action.html | 2 +- current/songbird/tracks/struct.Queued.html | 6 ++-- current/songbird/tracks/struct.Track.html | 2 +- .../songbird/tracks/struct.TrackCallback.html | 2 +- .../songbird/tracks/struct.TrackHandle.html | 2 +- .../songbird/tracks/struct.TrackQueue.html | 2 +- .../songbird/tracks/struct.TrackState.html | 2 +- current/songbird/tracks/struct.View.html | 2 +- current/songbird/tracks/type.TrackResult.html | 2 +- current/src/songbird/config.rs.html | 2 +- current/src/songbird/constants.rs.html | 2 +- .../songbird/driver/connection/error.rs.html | 2 +- .../songbird/driver/connection/mod.rs.html | 36 ++++++++++++------- current/src/songbird/driver/crypto.rs.html | 2 +- .../src/songbird/driver/decode_mode.rs.html | 2 +- current/src/songbird/driver/mix_mode.rs.html | 2 +- current/src/songbird/driver/mod.rs.html | 2 +- current/src/songbird/driver/retry/mod.rs.html | 2 +- .../songbird/driver/retry/strategy.rs.html | 2 +- .../songbird/driver/scheduler/config.rs.html | 2 +- .../songbird/driver/scheduler/idle.rs.html | 2 +- .../songbird/driver/scheduler/live.rs.html | 2 +- .../src/songbird/driver/scheduler/mod.rs.html | 2 +- .../songbird/driver/scheduler/stats.rs.html | 2 +- .../songbird/driver/scheduler/task.rs.html | 2 +- .../songbird/driver/tasks/disposal.rs.html | 2 +- .../src/songbird/driver/tasks/error.rs.html | 2 +- .../src/songbird/driver/tasks/events.rs.html | 2 +- .../driver/tasks/message/core.rs.html | 2 +- .../driver/tasks/message/disposal.rs.html | 2 +- .../driver/tasks/message/events.rs.html | 2 +- .../driver/tasks/message/mixer.rs.html | 2 +- .../songbird/driver/tasks/message/mod.rs.html | 2 +- .../driver/tasks/message/udp_rx.rs.html | 2 +- .../songbird/driver/tasks/message/ws.rs.html | 8 +++-- .../driver/tasks/mixer/mix_logic.rs.html | 2 +- .../songbird/driver/tasks/mixer/mod.rs.html | 2 +- .../songbird/driver/tasks/mixer/pool.rs.html | 2 +- .../driver/tasks/mixer/result.rs.html | 2 +- .../songbird/driver/tasks/mixer/state.rs.html | 2 +- .../songbird/driver/tasks/mixer/track.rs.html | 2 +- .../songbird/driver/tasks/mixer/util.rs.html | 2 +- current/src/songbird/driver/tasks/mod.rs.html | 2 +- .../driver/tasks/udp_rx/decode_sizes.rs.html | 2 +- .../songbird/driver/tasks/udp_rx/mod.rs.html | 2 +- .../tasks/udp_rx/playout_buffer.rs.html | 2 +- .../driver/tasks/udp_rx/ssrc_state.rs.html | 2 +- current/src/songbird/driver/tasks/ws.rs.html | 10 ++++-- current/src/songbird/error.rs.html | 2 +- .../events/context/data/connect.rs.html | 2 +- .../events/context/data/disconnect.rs.html | 2 +- .../songbird/events/context/data/mod.rs.html | 2 +- .../songbird/events/context/data/rtcp.rs.html | 2 +- .../songbird/events/context/data/rtp.rs.html | 2 +- .../events/context/data/voice.rs.html | 2 +- .../events/context/internal_data.rs.html | 2 +- .../src/songbird/events/context/mod.rs.html | 2 +- current/src/songbird/events/core.rs.html | 2 +- current/src/songbird/events/data.rs.html | 2 +- current/src/songbird/events/mod.rs.html | 2 +- current/src/songbird/events/store.rs.html | 2 +- current/src/songbird/events/track.rs.html | 2 +- current/src/songbird/events/untimed.rs.html | 2 +- current/src/songbird/handler.rs.html | 2 +- current/src/songbird/id.rs.html | 2 +- current/src/songbird/info.rs.html | 2 +- .../input/adapters/async_adapter.rs.html | 2 +- .../input/adapters/cached/compressed.rs.html | 2 +- .../adapters/cached/decompressed.rs.html | 2 +- .../input/adapters/cached/error.rs.html | 2 +- .../input/adapters/cached/hint.rs.html | 2 +- .../input/adapters/cached/memory.rs.html | 2 +- .../input/adapters/cached/mod.rs.html | 2 +- .../input/adapters/cached/util.rs.html | 2 +- .../src/songbird/input/adapters/child.rs.html | 2 +- .../src/songbird/input/adapters/mod.rs.html | 2 +- .../input/adapters/raw_adapter.rs.html | 2 +- .../src/songbird/input/audiostream.rs.html | 2 +- .../input/codecs/dca/metadata.rs.html | 2 +- .../src/songbird/input/codecs/dca/mod.rs.html | 2 +- current/src/songbird/input/codecs/mod.rs.html | 2 +- .../src/songbird/input/codecs/opus.rs.html | 2 +- current/src/songbird/input/codecs/raw.rs.html | 2 +- current/src/songbird/input/compose.rs.html | 2 +- current/src/songbird/input/error.rs.html | 2 +- current/src/songbird/input/live_input.rs.html | 2 +- .../songbird/input/metadata/ffprobe.rs.html | 2 +- .../src/songbird/input/metadata/mod.rs.html | 2 +- .../src/songbird/input/metadata/ytdl.rs.html | 2 +- current/src/songbird/input/mod.rs.html | 2 +- current/src/songbird/input/parsed.rs.html | 2 +- .../src/songbird/input/sources/file.rs.html | 2 +- .../src/songbird/input/sources/hls.rs.html | 2 +- .../src/songbird/input/sources/http.rs.html | 2 +- .../src/songbird/input/sources/mod.rs.html | 2 +- .../src/songbird/input/sources/ytdl.rs.html | 2 +- current/src/songbird/input/utils.rs.html | 2 +- current/src/songbird/join.rs.html | 2 +- current/src/songbird/lib.rs.html | 2 +- current/src/songbird/manager.rs.html | 2 +- current/src/songbird/serenity.rs.html | 2 +- current/src/songbird/shards.rs.html | 2 +- current/src/songbird/tracks/action.rs.html | 2 +- current/src/songbird/tracks/command.rs.html | 2 +- current/src/songbird/tracks/error.rs.html | 2 +- current/src/songbird/tracks/handle.rs.html | 2 +- current/src/songbird/tracks/looping.rs.html | 2 +- current/src/songbird/tracks/mod.rs.html | 2 +- current/src/songbird/tracks/mode.rs.html | 2 +- current/src/songbird/tracks/queue.rs.html | 2 +- current/src/songbird/tracks/ready.rs.html | 2 +- current/src/songbird/tracks/state.rs.html | 2 +- current/src/songbird/tracks/view.rs.html | 2 +- current/src/songbird/ws.rs.html | 2 +- 260 files changed, 298 insertions(+), 278 deletions(-) diff --git a/current/help.html b/current/help.html index 8db868201..346184f67 100644 --- a/current/help.html +++ b/current/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/current/settings.html b/current/settings.html index 8482fbf74..5785d28c6 100644 --- a/current/settings.html +++ b/current/settings.html @@ -1 +1 @@ -Settings

Rustdoc settings

Back
\ No newline at end of file +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/current/songbird/all.html b/current/songbird/all.html index 88e76f639..5cd2518f6 100644 --- a/current/songbird/all.html +++ b/current/songbird/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Statics

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Statics

Constants

\ No newline at end of file diff --git a/current/songbird/constants/constant.AUDIO_FRAME_RATE.html b/current/songbird/constants/constant.AUDIO_FRAME_RATE.html index 1ba766ce2..2e7f1c6d3 100644 --- a/current/songbird/constants/constant.AUDIO_FRAME_RATE.html +++ b/current/songbird/constants/constant.AUDIO_FRAME_RATE.html @@ -1,2 +1,2 @@ -AUDIO_FRAME_RATE in songbird::constants - Rust
songbird::constants

Constant AUDIO_FRAME_RATE

Source
pub const AUDIO_FRAME_RATE: usize = 50;
Expand description

Number of audio frames/packets to be sent per second.

+AUDIO_FRAME_RATE in songbird::constants - Rust
songbird::constants

Constant AUDIO_FRAME_RATE

Source
pub const AUDIO_FRAME_RATE: usize = 50;
Expand description

Number of audio frames/packets to be sent per second.

\ No newline at end of file diff --git a/current/songbird/constants/constant.CHILD_BUFFER_LEN.html b/current/songbird/constants/constant.CHILD_BUFFER_LEN.html index dca75976b..0021bfd57 100644 --- a/current/songbird/constants/constant.CHILD_BUFFER_LEN.html +++ b/current/songbird/constants/constant.CHILD_BUFFER_LEN.html @@ -1,2 +1,2 @@ -CHILD_BUFFER_LEN in songbird::constants - Rust
songbird::constants

Constant CHILD_BUFFER_LEN

Source
pub const CHILD_BUFFER_LEN: usize = _; // 25usize
Expand description

Maximum number of audio frames/packets to be sent per second to be buffered.

+CHILD_BUFFER_LEN in songbird::constants - Rust
songbird::constants

Constant CHILD_BUFFER_LEN

Source
pub const CHILD_BUFFER_LEN: usize = _; // 25usize
Expand description

Maximum number of audio frames/packets to be sent per second to be buffered.

\ No newline at end of file diff --git a/current/songbird/constants/constant.DEFAULT_BITRATE.html b/current/songbird/constants/constant.DEFAULT_BITRATE.html index 60e186117..30cad7715 100644 --- a/current/songbird/constants/constant.DEFAULT_BITRATE.html +++ b/current/songbird/constants/constant.DEFAULT_BITRATE.html @@ -1,2 +1,2 @@ -DEFAULT_BITRATE in songbird::constants - Rust
songbird::constants

Constant DEFAULT_BITRATE

Source
pub const DEFAULT_BITRATE: Bitrate;
Expand description

Default bitrate for audio.

+DEFAULT_BITRATE in songbird::constants - Rust
songbird::constants

Constant DEFAULT_BITRATE

Source
pub const DEFAULT_BITRATE: Bitrate;
Expand description

Default bitrate for audio.

\ No newline at end of file diff --git a/current/songbird/constants/constant.FRAME_LEN_MS.html b/current/songbird/constants/constant.FRAME_LEN_MS.html index a8c742457..de8e23734 100644 --- a/current/songbird/constants/constant.FRAME_LEN_MS.html +++ b/current/songbird/constants/constant.FRAME_LEN_MS.html @@ -1,2 +1,2 @@ -FRAME_LEN_MS in songbird::constants - Rust
songbird::constants

Constant FRAME_LEN_MS

Source
pub const FRAME_LEN_MS: usize = _; // 20usize
Expand description

Length (in milliseconds) of any audio frame.

+FRAME_LEN_MS in songbird::constants - Rust
songbird::constants

Constant FRAME_LEN_MS

Source
pub const FRAME_LEN_MS: usize = _; // 20usize
Expand description

Length (in milliseconds) of any audio frame.

\ No newline at end of file diff --git a/current/songbird/constants/constant.MONO_FRAME_BYTE_SIZE.html b/current/songbird/constants/constant.MONO_FRAME_BYTE_SIZE.html index e60bb5a76..6815cf859 100644 --- a/current/songbird/constants/constant.MONO_FRAME_BYTE_SIZE.html +++ b/current/songbird/constants/constant.MONO_FRAME_BYTE_SIZE.html @@ -1,2 +1,2 @@ -MONO_FRAME_BYTE_SIZE in songbird::constants - Rust
songbird::constants

Constant MONO_FRAME_BYTE_SIZE

Source
pub const MONO_FRAME_BYTE_SIZE: usize = _; // 3_840usize
Expand description

Number of bytes in one complete frame of raw f32-encoded mono audio.

+MONO_FRAME_BYTE_SIZE in songbird::constants - Rust
songbird::constants

Constant MONO_FRAME_BYTE_SIZE

Source
pub const MONO_FRAME_BYTE_SIZE: usize = _; // 3_840usize
Expand description

Number of bytes in one complete frame of raw f32-encoded mono audio.

\ No newline at end of file diff --git a/current/songbird/constants/constant.MONO_FRAME_SIZE.html b/current/songbird/constants/constant.MONO_FRAME_SIZE.html index 36c8d816a..c4cdac7f2 100644 --- a/current/songbird/constants/constant.MONO_FRAME_SIZE.html +++ b/current/songbird/constants/constant.MONO_FRAME_SIZE.html @@ -1,3 +1,3 @@ -MONO_FRAME_SIZE in songbird::constants - Rust
songbird::constants

Constant MONO_FRAME_SIZE

Source
pub const MONO_FRAME_SIZE: usize = _; // 960usize
Expand description

Number of samples in one complete frame of audio per channel.

+MONO_FRAME_SIZE in songbird::constants - Rust
songbird::constants

Constant MONO_FRAME_SIZE

Source
pub const MONO_FRAME_SIZE: usize = _; // 960usize
Expand description

Number of samples in one complete frame of audio per channel.

This is equally the number of stereo (joint) samples in an audio frame.

\ No newline at end of file diff --git a/current/songbird/constants/constant.RTP_PROFILE_TYPE.html b/current/songbird/constants/constant.RTP_PROFILE_TYPE.html index 396ee1bcc..001cc0cef 100644 --- a/current/songbird/constants/constant.RTP_PROFILE_TYPE.html +++ b/current/songbird/constants/constant.RTP_PROFILE_TYPE.html @@ -1,2 +1,2 @@ -RTP_PROFILE_TYPE in songbird::constants - Rust
songbird::constants

Constant RTP_PROFILE_TYPE

Source
pub const RTP_PROFILE_TYPE: RtpType;
Expand description

Profile type used by Discord’s Opus audio traffic.

+RTP_PROFILE_TYPE in songbird::constants - Rust
songbird::constants

Constant RTP_PROFILE_TYPE

Source
pub const RTP_PROFILE_TYPE: RtpType;
Expand description

Profile type used by Discord’s Opus audio traffic.

\ No newline at end of file diff --git a/current/songbird/constants/constant.RTP_VERSION.html b/current/songbird/constants/constant.RTP_VERSION.html index ce21fbe11..f0a3dca92 100644 --- a/current/songbird/constants/constant.RTP_VERSION.html +++ b/current/songbird/constants/constant.RTP_VERSION.html @@ -1,2 +1,2 @@ -RTP_VERSION in songbird::constants - Rust
songbird::constants

Constant RTP_VERSION

Source
pub const RTP_VERSION: u8 = 2;
Expand description

The one (and only) RTP version.

+RTP_VERSION in songbird::constants - Rust
songbird::constants

Constant RTP_VERSION

Source
pub const RTP_VERSION: u8 = 2;
Expand description

The one (and only) RTP version.

\ No newline at end of file diff --git a/current/songbird/constants/constant.SAMPLE_RATE.html b/current/songbird/constants/constant.SAMPLE_RATE.html index 86aeccba6..16dd17739 100644 --- a/current/songbird/constants/constant.SAMPLE_RATE.html +++ b/current/songbird/constants/constant.SAMPLE_RATE.html @@ -1,2 +1,2 @@ -SAMPLE_RATE in songbird::constants - Rust
songbird::constants

Constant SAMPLE_RATE

Source
pub const SAMPLE_RATE: SampleRate;
Expand description

Sample rate of audio to be sent to Discord.

+SAMPLE_RATE in songbird::constants - Rust
songbird::constants

Constant SAMPLE_RATE

Source
pub const SAMPLE_RATE: SampleRate;
Expand description

Sample rate of audio to be sent to Discord.

\ No newline at end of file diff --git a/current/songbird/constants/constant.SAMPLE_RATE_RAW.html b/current/songbird/constants/constant.SAMPLE_RATE_RAW.html index 83ac4c160..fd8bfe7e5 100644 --- a/current/songbird/constants/constant.SAMPLE_RATE_RAW.html +++ b/current/songbird/constants/constant.SAMPLE_RATE_RAW.html @@ -1,2 +1,2 @@ -SAMPLE_RATE_RAW in songbird::constants - Rust
songbird::constants

Constant SAMPLE_RATE_RAW

Source
pub const SAMPLE_RATE_RAW: usize = 48_000;
Expand description

Sample rate of audio to be sent to Discord.

+SAMPLE_RATE_RAW in songbird::constants - Rust
songbird::constants

Constant SAMPLE_RATE_RAW

Source
pub const SAMPLE_RATE_RAW: usize = 48_000;
Expand description

Sample rate of audio to be sent to Discord.

\ No newline at end of file diff --git a/current/songbird/constants/constant.SILENT_FRAME.html b/current/songbird/constants/constant.SILENT_FRAME.html index 9cbbc3d0c..c17d33e7d 100644 --- a/current/songbird/constants/constant.SILENT_FRAME.html +++ b/current/songbird/constants/constant.SILENT_FRAME.html @@ -1,2 +1,2 @@ -SILENT_FRAME in songbird::constants - Rust
songbird::constants

Constant SILENT_FRAME

Source
pub const SILENT_FRAME: [u8; 3];
Expand description

Opus silent frame, used to signal speech start and end (and prevent audio glitching).

+SILENT_FRAME in songbird::constants - Rust
songbird::constants

Constant SILENT_FRAME

Source
pub const SILENT_FRAME: [u8; 3];
Expand description

Opus silent frame, used to signal speech start and end (and prevent audio glitching).

\ No newline at end of file diff --git a/current/songbird/constants/constant.STEREO_FRAME_BYTE_SIZE.html b/current/songbird/constants/constant.STEREO_FRAME_BYTE_SIZE.html index 2139c7dfa..68d4ff141 100644 --- a/current/songbird/constants/constant.STEREO_FRAME_BYTE_SIZE.html +++ b/current/songbird/constants/constant.STEREO_FRAME_BYTE_SIZE.html @@ -1,2 +1,2 @@ -STEREO_FRAME_BYTE_SIZE in songbird::constants - Rust
songbird::constants

Constant STEREO_FRAME_BYTE_SIZE

Source
pub const STEREO_FRAME_BYTE_SIZE: usize = _; // 7_680usize
Expand description

Number of bytes in one complete frame of raw f32-encoded stereo audio.

+STEREO_FRAME_BYTE_SIZE in songbird::constants - Rust
songbird::constants

Constant STEREO_FRAME_BYTE_SIZE

Source
pub const STEREO_FRAME_BYTE_SIZE: usize = _; // 7_680usize
Expand description

Number of bytes in one complete frame of raw f32-encoded stereo audio.

\ No newline at end of file diff --git a/current/songbird/constants/constant.STEREO_FRAME_SIZE.html b/current/songbird/constants/constant.STEREO_FRAME_SIZE.html index 1d79223a3..3074e811a 100644 --- a/current/songbird/constants/constant.STEREO_FRAME_SIZE.html +++ b/current/songbird/constants/constant.STEREO_FRAME_SIZE.html @@ -1,2 +1,2 @@ -STEREO_FRAME_SIZE in songbird::constants - Rust
songbird::constants

Constant STEREO_FRAME_SIZE

Source
pub const STEREO_FRAME_SIZE: usize = _; // 1_920usize
Expand description

Number of individual samples in one complete frame of stereo audio.

+STEREO_FRAME_SIZE in songbird::constants - Rust
songbird::constants

Constant STEREO_FRAME_SIZE

Source
pub const STEREO_FRAME_SIZE: usize = _; // 1_920usize
Expand description

Number of individual samples in one complete frame of stereo audio.

\ No newline at end of file diff --git a/current/songbird/constants/constant.TIMESTEP_LENGTH.html b/current/songbird/constants/constant.TIMESTEP_LENGTH.html index 7e96140ad..57f9d00df 100644 --- a/current/songbird/constants/constant.TIMESTEP_LENGTH.html +++ b/current/songbird/constants/constant.TIMESTEP_LENGTH.html @@ -1,2 +1,2 @@ -TIMESTEP_LENGTH in songbird::constants - Rust
songbird::constants

Constant TIMESTEP_LENGTH

Source
pub const TIMESTEP_LENGTH: Duration;
Expand description

Length of time between any two audio frames.

+TIMESTEP_LENGTH in songbird::constants - Rust
songbird::constants

Constant TIMESTEP_LENGTH

Source
pub const TIMESTEP_LENGTH: Duration;
Expand description

Length of time between any two audio frames.

\ No newline at end of file diff --git a/current/songbird/constants/constant.UDP_KEEPALIVE_GAP.html b/current/songbird/constants/constant.UDP_KEEPALIVE_GAP.html index fcb472260..dfba3d80e 100644 --- a/current/songbird/constants/constant.UDP_KEEPALIVE_GAP.html +++ b/current/songbird/constants/constant.UDP_KEEPALIVE_GAP.html @@ -1,4 +1,4 @@ -UDP_KEEPALIVE_GAP in songbird::constants - Rust
songbird::constants

Constant UDP_KEEPALIVE_GAP

Source
pub const UDP_KEEPALIVE_GAP: Duration;
Expand description

Type-converted delay between sends of UDP keepalive frames.

+UDP_KEEPALIVE_GAP in songbird::constants - Rust
songbird::constants

Constant UDP_KEEPALIVE_GAP

Source
pub const UDP_KEEPALIVE_GAP: Duration;
Expand description

Type-converted delay between sends of UDP keepalive frames.

Passive monitoring of Discord itself shows that these fire every 5 seconds irrespective of outgoing UDP traffic.

\ No newline at end of file diff --git a/current/songbird/constants/constant.UDP_KEEPALIVE_GAP_MS.html b/current/songbird/constants/constant.UDP_KEEPALIVE_GAP_MS.html index 2e821c7ba..9de992402 100644 --- a/current/songbird/constants/constant.UDP_KEEPALIVE_GAP_MS.html +++ b/current/songbird/constants/constant.UDP_KEEPALIVE_GAP_MS.html @@ -1,4 +1,4 @@ -UDP_KEEPALIVE_GAP_MS in songbird::constants - Rust
songbird::constants

Constant UDP_KEEPALIVE_GAP_MS

Source
pub const UDP_KEEPALIVE_GAP_MS: u64 = 5_000;
Expand description

Delay between sends of UDP keepalive frames.

+UDP_KEEPALIVE_GAP_MS in songbird::constants - Rust
songbird::constants

Constant UDP_KEEPALIVE_GAP_MS

Source
pub const UDP_KEEPALIVE_GAP_MS: u64 = 5_000;
Expand description

Delay between sends of UDP keepalive frames.

Passive monitoring of Discord itself shows that these fire every 5 seconds irrespective of outgoing UDP traffic.

\ No newline at end of file diff --git a/current/songbird/constants/constant.VOICE_GATEWAY_VERSION.html b/current/songbird/constants/constant.VOICE_GATEWAY_VERSION.html index 0143354e9..9923b4346 100644 --- a/current/songbird/constants/constant.VOICE_GATEWAY_VERSION.html +++ b/current/songbird/constants/constant.VOICE_GATEWAY_VERSION.html @@ -1,2 +1,2 @@ -VOICE_GATEWAY_VERSION in songbird::constants - Rust
songbird::constants

Constant VOICE_GATEWAY_VERSION

Source
pub const VOICE_GATEWAY_VERSION: u8 = crate::model::constants::GATEWAY_VERSION; // 4u8
Expand description

The voice gateway version used by the library.

+VOICE_GATEWAY_VERSION in songbird::constants - Rust
songbird::constants

Constant VOICE_GATEWAY_VERSION

Source
pub const VOICE_GATEWAY_VERSION: u8 = crate::model::constants::GATEWAY_VERSION; // 4u8
Expand description

The voice gateway version used by the library.

\ No newline at end of file diff --git a/current/songbird/constants/constant.VOICE_PACKET_MAX.html b/current/songbird/constants/constant.VOICE_PACKET_MAX.html index 0b95d7cf1..e266cb056 100644 --- a/current/songbird/constants/constant.VOICE_PACKET_MAX.html +++ b/current/songbird/constants/constant.VOICE_PACKET_MAX.html @@ -1,3 +1,3 @@ -VOICE_PACKET_MAX in songbird::constants - Rust
songbird::constants

Constant VOICE_PACKET_MAX

Source
pub const VOICE_PACKET_MAX: usize = 1460;
Expand description

Maximum packet size for a voice packet.

+VOICE_PACKET_MAX in songbird::constants - Rust
songbird::constants

Constant VOICE_PACKET_MAX

Source
pub const VOICE_PACKET_MAX: usize = 1460;
Expand description

Maximum packet size for a voice packet.

Set a safe amount below the Ethernet MTU to avoid fragmentation/rejection.

\ No newline at end of file diff --git a/current/songbird/constants/index.html b/current/songbird/constants/index.html index 58124f140..d98de35f2 100644 --- a/current/songbird/constants/index.html +++ b/current/songbird/constants/index.html @@ -1,2 +1,2 @@ -songbird::constants - Rust
songbird

Module constants

Source
Expand description

Constants affecting driver function and API handling.

+songbird::constants - Rust
songbird

Module constants

Source
Expand description

Constants affecting driver function and API handling.

Constants§

\ No newline at end of file diff --git a/current/songbird/driver/enum.Bitrate.html b/current/songbird/driver/enum.Bitrate.html index 99428370e..fba585ded 100644 --- a/current/songbird/driver/enum.Bitrate.html +++ b/current/songbird/driver/enum.Bitrate.html @@ -1,4 +1,4 @@ -Bitrate in songbird::driver - Rust
songbird::driver

Enum Bitrate

pub enum Bitrate {
+Bitrate in songbird::driver - Rust
songbird::driver

Enum Bitrate

pub enum Bitrate {
     BitsPerSecond(i32),
     Max,
     Auto,
diff --git a/current/songbird/driver/enum.Channels.html b/current/songbird/driver/enum.Channels.html
index e4fbd8e32..6f04e5593 100644
--- a/current/songbird/driver/enum.Channels.html
+++ b/current/songbird/driver/enum.Channels.html
@@ -1,4 +1,4 @@
-Channels in songbird::driver - Rust
songbird::driver

Enum Channels

Source
#[non_exhaustive]
pub enum Channels { +Channels in songbird::driver - Rust
songbird::driver

Enum Channels

Source
#[non_exhaustive]
pub enum Channels { Mono, Stereo, }
Expand description

The channel layout of output audio when using DecodeMode::Decode.

diff --git a/current/songbird/driver/enum.CryptoMode.html b/current/songbird/driver/enum.CryptoMode.html index 7682d56d8..468b66c91 100644 --- a/current/songbird/driver/enum.CryptoMode.html +++ b/current/songbird/driver/enum.CryptoMode.html @@ -1,4 +1,4 @@ -CryptoMode in songbird::driver - Rust
songbird::driver

Enum CryptoMode

Source
#[non_exhaustive]
pub enum CryptoMode { +CryptoMode in songbird::driver - Rust
songbird::driver

Enum CryptoMode

Source
#[non_exhaustive]
pub enum CryptoMode { Aes256Gcm, XChaCha20Poly1305, Normal, diff --git a/current/songbird/driver/enum.DecodeMode.html b/current/songbird/driver/enum.DecodeMode.html index 1dfe30b08..716e820a5 100644 --- a/current/songbird/driver/enum.DecodeMode.html +++ b/current/songbird/driver/enum.DecodeMode.html @@ -1,4 +1,4 @@ -DecodeMode in songbird::driver - Rust
songbird::driver

Enum DecodeMode

Source
#[non_exhaustive]
pub enum DecodeMode { +DecodeMode in songbird::driver - Rust
songbird::driver

Enum DecodeMode

Source
#[non_exhaustive]
pub enum DecodeMode { Pass, Decrypt, Decode, diff --git a/current/songbird/driver/enum.MixMode.html b/current/songbird/driver/enum.MixMode.html index 977d3814f..0ce26fc06 100644 --- a/current/songbird/driver/enum.MixMode.html +++ b/current/songbird/driver/enum.MixMode.html @@ -1,4 +1,4 @@ -MixMode in songbird::driver - Rust
songbird::driver

Enum MixMode

Source
pub enum MixMode {
+MixMode in songbird::driver - Rust
songbird::driver

Enum MixMode

Source
pub enum MixMode {
     Mono,
     Stereo,
 }
Expand description

Mixing behaviour for sent audio sources processed within the driver.

diff --git a/current/songbird/driver/enum.SampleRate.html b/current/songbird/driver/enum.SampleRate.html index 55bcdc026..cf71c8dbb 100644 --- a/current/songbird/driver/enum.SampleRate.html +++ b/current/songbird/driver/enum.SampleRate.html @@ -1,4 +1,4 @@ -SampleRate in songbird::driver - Rust
songbird::driver

Enum SampleRate

Source
#[non_exhaustive]
pub enum SampleRate { +SampleRate in songbird::driver - Rust
songbird::driver

Enum SampleRate

Source
#[non_exhaustive]
pub enum SampleRate { Hz8000, Hz12000, Hz16000, diff --git a/current/songbird/driver/enum.SchedulerError.html b/current/songbird/driver/enum.SchedulerError.html index 433c4d244..1ac1d4183 100644 --- a/current/songbird/driver/enum.SchedulerError.html +++ b/current/songbird/driver/enum.SchedulerError.html @@ -1,4 +1,4 @@ -SchedulerError in songbird::driver - Rust
songbird::driver

Enum SchedulerError

Source
#[non_exhaustive]
pub enum SchedulerError { +SchedulerError in songbird::driver - Rust
songbird::driver

Enum SchedulerError

Source
#[non_exhaustive]
pub enum SchedulerError { Disconnected, }
Expand description

Errors encountered when communicating with the internals of a Scheduler.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Disconnected

The scheduler exited or crashed while awating the request.

diff --git a/current/songbird/driver/enum.SchedulerMode.html b/current/songbird/driver/enum.SchedulerMode.html index 8026a39bc..7a629ac2c 100644 --- a/current/songbird/driver/enum.SchedulerMode.html +++ b/current/songbird/driver/enum.SchedulerMode.html @@ -1,4 +1,4 @@ -SchedulerMode in songbird::driver - Rust
songbird::driver

Enum SchedulerMode

Source
#[non_exhaustive]
pub enum SchedulerMode { +SchedulerMode in songbird::driver - Rust
songbird::driver

Enum SchedulerMode

Source
#[non_exhaustive]
pub enum SchedulerMode { MaxPerThread(NonZeroUsize), }
Expand description

Strategies for mapping live mixer tasks to individual threads.

Defaults to MaxPerThread(16).

diff --git a/current/songbird/driver/index.html b/current/songbird/driver/index.html index 915f2330e..f9d025006 100644 --- a/current/songbird/driver/index.html +++ b/current/songbird/driver/index.html @@ -1,4 +1,4 @@ -songbird::driver - Rust
songbird

Module driver

Source
Expand description

Runner for a voice connection.

+songbird::driver - Rust
songbird

Module driver

Source
Expand description

Runner for a voice connection.

Songbird’s driver is a mixed-sync system, using: