After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337101 - sample rate issues with rhythmbox
sample rate issues with rhythmbox
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-03 22:09 UTC by Timothy Clarkson
Modified: 2006-04-06 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Timothy Clarkson 2006-04-03 22:09:16 UTC
Please describe the problem:
Rhythmbox plays all songs with a constant sample rate, apparently with the 
highest available rate. This breaks the playback of wave files which contain 
sound in DTS or AC3 format. The correct output over spdif is only possible if a 
certain sample rate (usually 44,1kHz or 48kHz) is set before playback.
The sample rate should be adjusted for every song file according to its sample 
rate (totem does this), or at least there should be an option to enable such a 
behaviour.

Steps to reproduce:
1. verify that your sound card supports 48khz over spdif
2. start rhythmbox
3. start the playback of a 44.1khz file 



Actual results:
and there's a 48khz signal on the spdif connector

Expected results:
there shouldn't be any resampling - the sample rate of the signal on spdif 
should be the same as the sample rate of the file being played

Does this happen every time?
yes, both with alsa and esd gstreamer output plugins.

Other information:
there is a nasty workaround for playing dts 44,1khz files - you can limit the 
maximum sample rate by modifying the .asoundrc file
Comment 1 Alex Lancaster 2006-04-04 03:17:20 UTC
This is most likely a gstreamer problem, rhythmbox just hands the file for gstreamer for the actual playback.  Reassigning.
Comment 2 Alex Lancaster 2006-04-04 03:18:03 UTC
Also, please specify which gstreamer version you are using.
Comment 3 Timothy Clarkson 2006-04-04 11:27:55 UTC
damn, I found out that alsa's dmix plugin is causing the problem, and not gstreamer and rhythmbox - sorry for the needless confusion.