Skip to content

the volume property is ignored during playback #19

@zenbooster

Description

@zenbooster

The volume property is ignored during playback.
Ubuntu 22.04 LTS

pactl info:

erver String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 4671
Tile Size: 65472
User Name: zenbooster
Host Name: zenpc
Server Name: PulseAudio (on PipeWire 0.3.48)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.pro-output-0
Default Source: alsa_input.pci-0000_00_1b.0.pro-input-0
Cookie: 3752:061b

code:

ap = AudioPlayer("hi.mp3")
ap.volume = 1
ap.play(block=True)

volume = 1 or 100 - no difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions