Bug 93036 - Hiss/Static heard on .mp3 playback with arts-1.3.0[|.1]
Summary: Hiss/Static heard on .mp3 playback with arts-1.3.0[|.1]
Status: CLOSED UNMAINTAINED
Alias: None
Product: arts
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Westerfeld
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 15:43 UTC by Jezza
Modified: 2008-11-19 23:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jezza 2004-11-10 15:43:26 UTC
Version:           1.2.0 - 1.3.1 (using KDE KDE 3.3.1)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.4.1 20040803 (Gentoo Linux 3.4.1-r3, ssp-3.4-2, pie-8.7.6.5) 
OS:                Linux

When using the embedded arts player to playback .mp3 files, a loud hiss (or static) sound is heard. (e.g. using konqueror to 'browse' audio, noatun playback etc.). As the amplitude of the file fades off, distorted but 'expected' sound is heard. Could this mean that it is a [16bit?] endian-issue? Forcing arts to use 22050khz/8bit does not resolve.

This seems independent of alsa/oss, using gentoo-dev-sources-2.6.9 (but has existed since 2.6.7, iirc). Machine is PPC (PB-G3/400 Lombard). 

Existed when compiled with gcc-3.3.2 (iirc) currently using gcc-3.4.1.

With embedded players (konqueror, noatun etc) .wav and .ogg files play correctly using both oss/alsa.

Launching artsd with the console (not running X11), and then using artsplay 'displays' the same issue with .mp3 files.

mpg123, xmms work correctly through both oss/alsa, ditto with oggplay.

Have tried using both alsa/oss as modules and compiled-in, with no improvement.

Downgrading to arts-1.2.0 does not fix the issue.
Comment 1 Allan Sandfeld 2004-12-02 04:04:39 UTC
Please start artsd in debugging mode. "killall artsd" and "artsd -l0" and report what it writes when a faulty file is played.
Comment 2 ibs 2004-12-31 12:20:47 UTC
my output, as an addition..

iago@shinyWhite iago $ artsd -l0
artsd version is 1.3.1
gsl: using Unix98 pthreads directly for mutexes and conditions
[artsd: 13766] parallel startup detected: sleeping
unix_connect: can't connect to server (unix:/tmp/mcop-iago/shinywhite_glare-344f-41d532d1)
[artsd: 13766] SoundServerStartup --> got lock
autodetecting driver:
 - toss: 4
 - nas: -1
 - esd: -1
 - null: -1
 - alsa: 15
 - oss: 10
... which means we'll default to alsa
ALSA driver: default
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
Closing ALSA-driver
virtualize StereoVolumeControl
ALSA driver: default
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/usr/kde/3.3/lib/mcop,)
addDirectory(/usr/kde/3.3/lib/mcop/Arts,Arts)
addDirectory(/usr/kde/3.3/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/usr/kde/3.3/lib/mcop/Noatun,Noatun)
addDirectory(/usr/kde/3.3/lib/mcop/Amarok,Amarok)
addDirectory(/home/iago/.mcop/trader-cache,)
Arts::MidiManager registered successfully.
[artsd: 13766] SoundServerStartup <-- released lock
UnixManager: got notifyIO
socketconnection created, fd = 8
client disconnected: dropped one object reference
client disconnected: dropped one object reference
(The previous message was repeated 1 times.)
UnixManager: got notifyIO
socketconnection created, fd = 8
incoming stream, parameters: rate=44100, 16 bit, 2 channels
creating packet receiver
detach incoming stream
job finished
UnixManager: got notifyIO
socketconnection created, fd = 8
findPort(outleft)
have 4 ports
done
result 74
connect port outleft to left
findPort(outright)
have 4 ports
done
result 74
connect port outright to right
findPort(outvalue_l)
have 6 ports
done
result 10
connect port outvalue_l to inleft
findPort(outvalue_r)
have 6 ports
done
result 10
connect port outvalue_r to inright
virtualize StereoVolumeControl
devirtualize StereoVolumeControl
search playobject, mimetype = audio/x-mp3
creating akodeMPEGPlayObject to play file
akode: opening /home/pub/Musica/(31)Robbie Williams - Radio.mp3
xrun!!

ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
findPort(left)
have 3 ports
done
result 10
connect port left to invalue1_l
akode: No media loaded
akode: No media loaded
(The previous message was repeated 1 times.)
findPort(right)
have 3 ports
done
result 10
connect port right to invalue1_r
akode: play
akode: play
(The previous message was repeated 1 times.)
akode: halt
    
Comment 3 Matt Rogers 2008-11-19 23:38:05 UTC
Arts is no longer developed and has been unmaintained for quite some time - more than 2 years. With phonon as the replacement for arts in KDE4, we're closing out all the arts bugs in Bugzilla since there is no chance of them being fixed.

Thanks