When playing music and suspend, after resumed has noise sound repeat in mplayer and smplayer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mplayer2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I was tested in audacious by play same music and suspend , after resumed the music was continue play with normal warning from terminal (alsa: snd_pcm_writei failed: Broken pipe.). No any noise sound.
But when play same sound in smplayer and mplayer while suspend , it has noise sound after resumed.
Here error in mplayer log when play in smplayer and mplayer :
[AO_ALSA] Pcm in suspend mode, trying to resume.
[AO_ALSA] alsa-lib: pcm_hw.
When I tested play same file in mplayer via terminal it show this message error. I was press Ctrl+C and this appeared : MPlayer interrupted by signal 2 in module: play_audio
Same file, Same Device but no problem in audacious.
This is verbose info when played music in mplayer pass -v :
Opening audio decoder: [ffmpeg] libavcodec audio decoders
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
INFO: libavcodec "ac3" init OK!
(Re)initializing libavresample format conversion...
Selected audio codec: ATSC A/52A (AC-3) [libavcodec]
Audio codecs.conf entry: ffac3 (FFmpeg AC-3) afm: ffmpeg
AUDIO: 48000 Hz, 2 ch, floatle, 448.0 kbit/14.58% (ratio: 56000->384000)
Building audio filter chain for 48000Hz/2ch/floatle -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/floatle
Audio filter chain:
[in] 48000Hz/2ch/floatle
[dummy] 48000Hz/2ch/floatle
[out] 0Hz/0ch/??
[dummy] Was reinitialized: 48000Hz/2ch/floatle
Audio filter chain:
[in] 48000Hz/2ch/floatle
[dummy] 48000Hz/2ch/floatle
[out] 0Hz/0ch/??
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 48000 Hz, 2 channels, 1d
alsa-init: using ALSA 1.0.27.2
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/8 bpf/65536 bytes buffer/Float 32 bit Little Endian
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <email address hidden>
AO: Comment: under development
Building audio filter chain for 48000Hz/2ch/floatle -> 48000Hz/
[dummy] Was reinitialized: 48000Hz/2ch/floatle
Audio filter chain:
[in] 48000Hz/2ch/floatle
[dummy] 48000Hz/2ch/floatle
[out] 48000Hz/2ch/floatle
[dummy] Was reinitialized: 48000Hz/2ch/floatle
Audio filter chain:
[in] 48000Hz/2ch/floatle
[dummy] 48000Hz/2ch/floatle
[out] 48000Hz/2ch/floatle
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
A: 61.9 (01:01.8) of 281.8 (04:41.8) 1.0%
[AO_ALSA] Pcm in suspend mode, trying to resume.
[AO_ALSA] alsa-lib: pcm_hw.
A: 62.1 (01:02.1) of 281.8 (04:41.8) 1.0%
Increasing filtered audio buffer size from 65536 to 69632
MPlayer interrupted by signal 2 in module: play_audio
MPlayer interrupted by signal 2 in module: play_audio
I did't used pulse to play it.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: mplayer2 2.0-701-
ProcVersionSign
Uname: Linux 3.13.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
Date: Sat Oct 11 12:11:37 2014
InstallationDate: Installed on 2014-01-08 (275 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: mplayer2
SystemImageInfo: Error: [Errno 2] No such file or directory: 'system-image-cli'
UpgradeStatus: Upgraded to trusty on 2014-04-19 (175 days ago)
https:/ /github. com/mpv- player/ mpv/issues/ 324 forums. opensuse. org/showthread. php/501098- Permanent- Smplayer- crashes
http://
Has same bug also.