mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Fix spelling: replace "it's" with "its" where a possessive is meant
This commit is contained in:
parent
a8fcd99eb9
commit
e6d8efeb2b
5 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Read through this paragraph in its entirety before running anything.
|
Read through this paragraph in its entirety before running anything.
|
||||||
|
|
||||||
The Bash script in the root of the project, named `publish.sh` can be used to publish a new version of librespot and it's corresponding crates. the command should be used as follows from the project root: `./publish 0.1.0` from the project root, substituting the new version number that you wish to publish. *Note the lack of a v prefix on the version number. This is important, do not add one.* The v prefix is added where appropriate by the script.
|
The Bash script in the root of the project, named `publish.sh` can be used to publish a new version of librespot and its corresponding crates. the command should be used as follows from the project root: `./publish 0.1.0` from the project root, substituting the new version number that you wish to publish. *Note the lack of a v prefix on the version number. This is important, do not add one.* The v prefix is added where appropriate by the script.
|
||||||
|
|
||||||
Make sure that you are are starting from a clean working directory for both `dev` and `master`, completely up to date with remote and all local changes either committed and pushed or stashed.
|
Make sure that you are are starting from a clean working directory for both `dev` and `master`, completely up to date with remote and all local changes either committed and pushed or stashed.
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ The client solves a challenge based on these two packets, and sends it back usin
|
||||||
It also computes the shared keys used to encrypt the rest of the communication.
|
It also computes the shared keys used to encrypt the rest of the communication.
|
||||||
|
|
||||||
## Login challenge and cipher key computation.
|
## Login challenge and cipher key computation.
|
||||||
The client starts by computing the DH shared secret using it's private key and the server's public key.
|
The client starts by computing the DH shared secret using its private key and the server's public key.
|
||||||
HMAC-SHA1 is then used to compute the send and receive keys, as well as the login challenge.
|
HMAC-SHA1 is then used to compute the send and receive keys, as well as the login challenge.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -91,7 +91,7 @@ impl_deref_wrapped!(AlbumGroup, Albums);
|
||||||
/// [Album1], [Album2-relelease, Album2-older-release], [Album3]
|
/// [Album1], [Album2-relelease, Album2-older-release], [Album3]
|
||||||
/// ]
|
/// ]
|
||||||
/// ```
|
/// ```
|
||||||
/// In most cases only the current variant of each album is needed. A list of every album in it's
|
/// In most cases only the current variant of each album is needed. A list of every album in its
|
||||||
/// current release variant can be obtained by using [`AlbumGroups::current_releases`]
|
/// current release variant can be obtained by using [`AlbumGroups::current_releases`]
|
||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
pub struct AlbumGroups(pub Vec<AlbumGroup>);
|
pub struct AlbumGroups(pub Vec<AlbumGroup>);
|
||||||
|
|
|
@ -262,7 +262,7 @@ fn open_device(dev_name: &str, format: AudioFormat) -> SinkResult<(PCM, usize)>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
trace!("The device's min reported Buffer size was greater than or equal to it's max reported Buffer size.");
|
trace!("The device's min reported Buffer size was greater than or equal to its max reported Buffer size.");
|
||||||
ZERO_FRAMES
|
ZERO_FRAMES
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -328,7 +328,7 @@ fn open_device(dev_name: &str, format: AudioFormat) -> SinkResult<(PCM, usize)>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
trace!("The device's min reported Period size was greater than or equal to it's max reported Period size,");
|
trace!("The device's min reported Period size was greater than or equal to its max reported Period size,");
|
||||||
trace!("or the desired min Period size was greater than or equal to the desired max Period size.");
|
trace!("or the desired min Period size was greater than or equal to the desired max Period size.");
|
||||||
ZERO_FRAMES
|
ZERO_FRAMES
|
||||||
};
|
};
|
||||||
|
|
|
@ -386,7 +386,7 @@ impl NormalisationData {
|
||||||
let limiting_db = factor_db + config.normalisation_threshold_dbfs.abs();
|
let limiting_db = factor_db + config.normalisation_threshold_dbfs.abs();
|
||||||
|
|
||||||
warn!(
|
warn!(
|
||||||
"This track may exceed dBFS by {:.2} dB and be subject to {:.2} dB of dynamic limiting at it's peak.",
|
"This track may exceed dBFS by {:.2} dB and be subject to {:.2} dB of dynamic limiting at its peak.",
|
||||||
factor_db, limiting_db
|
factor_db, limiting_db
|
||||||
);
|
);
|
||||||
} else if factor > threshold_ratio {
|
} else if factor > threshold_ratio {
|
||||||
|
@ -395,7 +395,7 @@ impl NormalisationData {
|
||||||
+ config.normalisation_threshold_dbfs.abs();
|
+ config.normalisation_threshold_dbfs.abs();
|
||||||
|
|
||||||
info!(
|
info!(
|
||||||
"This track may be subject to {:.2} dB of dynamic limiting at it's peak.",
|
"This track may be subject to {:.2} dB of dynamic limiting at its peak.",
|
||||||
limiting_db
|
limiting_db
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue