Bug 111475 - No sound on KDE 3.4.2
Summary: No sound on KDE 3.4.2
Status: RESOLVED WORKSFORME
Alias: None
Product: akodelib
Classification: Miscellaneous
Component: general (show other bugs)
Version: 1.0 (KDE 3.3)
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Allan Sandfeld
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-25 12:27 UTC by Linas Valiukas
Modified: 2006-09-03 17:31 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 Linas Valiukas 2005-08-25 12:27:15 UTC
Version:           2.8.1 (using KDE KDE 3.4.2)
Installed from:    FreeBSD Ports
Compiler:          cc (GCC) 3.4.2 [FreeBSD] 20040728 
OS:                FreeBSD

I've ugraded KDE 3.4.1 to 3.4.2 from packages. It seems that now some
part isn't working (Arts, Akode or other), because I get no sound when
playing something with Noatun.

`mplayer -ao arts somefile.mp3` works OK, I think that's because
MPlayer decodes MP3 itself and just sends a stream to Arts. Here's
Arts running with -l 0 and Snoop Dogg playing in MPlayer:

 UnixManager: got notifyIO
 socketconnection created, fd = 9
 incoming stream, parameters: rate=44100, 16 bit, 2 channels
 creating packet receiver
 <playing...>
 detach incoming stream
 client disconnected: dropped one object reference
 job finished

And what if I'll try to play the same MP3 with Noatun:

 search playobject, mimetype = audio/x-mp3
 creating akodeMPEGPlayObject to play file
 akode: opening
/home/shirshegsm/Muzika/Snoop_Dogg_-_Doggy_Stuff/09_Snoop_Dogg_and_Dr._Dre_-_Doggy_Stuff_-_Nuthin'_But_A_G'th.mp3
 akode: streamInit
 akode: streamStart
 findPort(left)
 have 3 ports
 done
 result 10
 connect port left to inleft
 findPort(right)
 have 3 ports
 done
 result 10
 connect port right to inright
 akode: play
 akode: play
 (The previous message was repeated 1 times.)
 akode: readFrame
 <playing, but no sound...>
 akode: readFrame
 (The previous message was repeated 1185 times.)
 akode: halt
 akode: streamEnd
 akode: unload

It seems that Akode should decode a filename sent to Arts, but it
doesn't :-(. Same problem with OGG files. Tried recompiling
Arts/KDEMultimedia/Akode, but no success.

--

kde-freebsd thread: http://frontrangebsd.org/pipermail/kde-freebsd/2005-August/011341.html
Comment 1 Michael Nottebrock 2005-08-25 18:01:46 UTC
Confirmed on FreeBSD.
Comment 2 Stefan Gehn 2005-08-25 19:40:11 UTC
Noatun does not decod anything, the current version it simply uses artsd for playback. That leaves you with arts or akode being faulty.
Comment 3 Michael Nottebrock 2005-08-25 19:59:52 UTC
Additional datapoint: Kaboodle works fine.
Comment 4 Stefan Gehn 2005-09-23 12:07:17 UTC
Try disabling software volume control in noatun (i.e. tick the "use hardware volume control" checkbox) and make sure the equalizer is off. I think there's some faulty code in both arts modules that can result in complete silence. I also had problems with the pitch module on my laptop which were fixed simply by upgrading to a newer kde although the code for pitch probably didn't change in between (maybe it contains asm code that breaks with certain gcc optimizations)
Comment 5 Michael Nottebrock 2005-09-23 13:21:46 UTC
Brilliant guess - that works.
Comment 6 Allan Sandfeld 2006-09-03 17:31:17 UTC
Reported as works by one.