Skip to content

No working if only sink is kept after constructing #599

@chanmaoganda

Description

@chanmaoganda
pub fn new() -> Self {
  let (_stream, stream_handle) = OutputStream::try_default().unwrap();
  let sink = Sink::try_new(&stream_handle).unwrap();
  Self {sink}
}

If i try to use the struct only keeping sink, it is unable to play any music

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions