Public bug reported:

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.c:710:(snd_pcm_hw_resumplayer me) 
SNDRV_PCM_IOCTL_RESUME failed (-38): Function not implemented
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 <j...@streamminister.de>
AO: Comment: under development
Building audio filter chain for 48000Hz/2ch/floatle -> 48000Hz/2ch/floatle...
[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.c:710:(snd_pcm_hw_resume) SNDRV_PCM_IOCTL_RESUME 
failed (-38): Function not implemented
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-gd4c5b7f-2ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
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)

** Affects: mplayer2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1380004

Title:
  When playing music and suspend, after resumed has noise sound repeat
  in mplayer and smplayer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mplayer2/+bug/1380004/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to