Bug 93010 - paplay starts playing stereo files with too high volume
Summary: paplay starts playing stereo files with too high volume
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: tools (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 12:23 UTC by chrysn
Modified: 2018-07-30 10:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description chrysn 2015-11-19 12:23:46 UTC
(This was found while enhancing an instant messenger's event sound integration over at http://trac.gajim.org/ticket/8192 but seems to be generic; sample audio files referenced can be found in http://gajim.org/downloads/0.16/gajim-0.16.4.tar.bz2 )

When I use paplay on mono wav files, they play smoothly with the volume set the last time that name was used (when using `-n gajim`) or the system event olume (when using `--property=media.role=event`), that's the case with samples message1.wav or bounce.wav.

When I use it on stereo files like connected.wav or disconnected.wav, the first (guessed) 0.2s are played at what sounds like full volume, dropping to the configured (or, it's hard to tell, maybe below). This is only observed acustically, in `pavucontrol` the stream shows at the configured volume from the start and until it disappears after the file was played.

If you don't want to download the files, they are identified by `file` as follows:

    message1.wav:     RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz
    disconnected.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz

I'm using debian sid with what I assume to be a standard configuration (session-mode).

Some details that could be relevant (output of `pactl info`):

    Server String: /run/user/1000/pulse/native
    Library Protocol Version: 30
    Server Protocol Version: 30
    Is Local: yes
    Client Index: 9
    Tile Size: 65472
    User Name: chrysn
    Host Name: hephaistos
    Server Name: pulseaudio
    Server Version: 7.1
    Default Sample Specification: s16le 2ch 44100Hz
    Default Channel Map: front-left,front-right
    Default Sink: alsa_output.pci-0000_00_14.2.analog-stereo
    Default Source: alsa_output.pci-0000_00_14.2.analog-stereo.monitor
    Cookie: 791a:a26f
Comment 1 GitLab Migration User 2018-07-30 10:18:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/331.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.