Docs: Fix module docs for songbird::tracks.

Module docs mistakenly used the old doc-link format, so removing `create_player` never fired an error! These have also been partially rewritten to explain the role of `Track` and `TrackHandle`.

Includes some other misc fixes to links, mention of `TrackHandle::action` for metadata handling, etc.

Closes #140.
This commit is contained in:
Kyle Simpson
2022-07-28 10:21:55 +01:00
parent d8061d5029
commit c1d93f790c
5 changed files with 24 additions and 21 deletions

View File

@@ -144,6 +144,8 @@ use tokio::runtime::Handle as TokioHandle;
///
/// // If we want to inspect metadata (and we can't use AuxMetadata for any reason), we have
/// // to parse the track ourselves.
/// //
/// // We can access it on a live track using `TrackHandle::action()`.
/// in_memory_input = in_memory_input
/// .make_playable_async(&CODEC_REGISTRY, &PROBE)
/// .await