mirror of
https://github.com/dnaka91/obws
synced 2024-11-13 19:12:03 +00:00
Fix cargo-spellcheck warnings
This commit is contained in:
parent
d27b81cc7d
commit
36e09efcd9
@ -1,6 +1,7 @@
|
||||
100
|
||||
async
|
||||
bitflags
|
||||
CMD
|
||||
CoreAudio
|
||||
CSS
|
||||
Ctrl
|
||||
@ -10,6 +11,7 @@ FreeType2
|
||||
GDI
|
||||
I420
|
||||
I444
|
||||
JSON
|
||||
kilobits
|
||||
libobs
|
||||
luma
|
||||
@ -24,6 +26,7 @@ RGBA
|
||||
RPC
|
||||
RTMP
|
||||
runtime
|
||||
selectable
|
||||
serialize
|
||||
Sinus9
|
||||
sRGB
|
||||
@ -32,6 +35,7 @@ timestamp
|
||||
TLS
|
||||
tokio
|
||||
UI
|
||||
unversioned
|
||||
URI
|
||||
username
|
||||
VLC
|
||||
|
@ -218,7 +218,7 @@ impl<'a> Inputs<'a> {
|
||||
.await
|
||||
}
|
||||
|
||||
/// Gets the audio monitor type of an input.
|
||||
/// Gets the audio monitor type of input.
|
||||
///
|
||||
/// - `input_name`: Name of the input to get the audio monitor type of.
|
||||
pub async fn get_input_audio_monitor_type(&self, input_name: &str) -> Result<MonitorType> {
|
||||
@ -230,7 +230,7 @@ impl<'a> Inputs<'a> {
|
||||
.map(|amt| amt.monitor_type)
|
||||
}
|
||||
|
||||
/// Sets the audio monitor type of an input.
|
||||
/// Sets the audio monitor type of input.
|
||||
///
|
||||
/// - `input_name`: Name of the input to set the audio monitor type of.
|
||||
/// - `monitor_type`: Audio monitor type.
|
||||
|
@ -35,7 +35,7 @@ impl<'a> Sources<'a> {
|
||||
.map(|id| id.image_data)
|
||||
}
|
||||
|
||||
/// Saves a screenshot of a source to the filesystem.
|
||||
/// Saves a screenshot of a source to the file system.
|
||||
///
|
||||
/// The [`image_width`] and [`image_height`] parameters are treated as "scale to inner", meaning
|
||||
/// the smallest ratio will be used and the aspect ratio of the original resolution is kept. If
|
||||
|
@ -17,7 +17,7 @@ mod ser;
|
||||
|
||||
pub(crate) enum ClientRequest<'a> {
|
||||
/// Response to [`Hello`](crate::responses::ServerMessage::Hello) message, should contain
|
||||
/// authentication string if authentication is required, along with PubSub subscriptions and
|
||||
/// authentication string if authentication is required, along with Pub-sub subscriptions and
|
||||
/// other session parameters.
|
||||
Identify(Identify),
|
||||
/// Sent at any time after initial identification to update the provided session parameters.
|
||||
@ -69,7 +69,7 @@ impl<'a> Serialize for ClientRequest<'a> {
|
||||
}
|
||||
|
||||
/// Response to [`Hello`](crate::responses::ServerMessage::Hello) message, should contain
|
||||
/// authentication string if authentication is required, along with PubSub subscriptions and other
|
||||
/// authentication string if authentication is required, along with Pub-sub subscriptions and other
|
||||
/// session parameters.
|
||||
#[skip_serializing_none]
|
||||
#[derive(Serialize)]
|
||||
|
Loading…
Reference in New Issue
Block a user