Skip to content
This repository was archived by the owner on Feb 23, 2022. It is now read-only.
This repository was archived by the owner on Feb 23, 2022. It is now read-only.

linux: set playback rate and set volume not working #18

@esiqveland

Description

@esiqveland

When running the example I noticed only volume set to max (1.0) works. everything < 1.0 gets used as zero volume. Noticed the same for playback rate.

I tracked it down to std::to_string being locale aware, and in my locale it prints a float with comma , as the decimal point, breaking the volume setting.

https://github.com/harmonoid/libwinmedia/blob/master/linux/player.hpp#L410

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