Skip to content

Expose both linear and logarithmic volume settings #9507

@alice-i-cecile

Description

@alice-i-cecile

I am wondering if we should have it accept something like

enum Volume {
    Logarithmic(f32),
    Linear(u8), // 255 is the 100%, 128 is 50% of the volume, etc.
}

instead of just f32.

Originally posted by @harudagondi in #9480 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AudioSounds playback and modificationC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions