Discussion:
Problems playing 5.1 / high bitrate FLAC
Jiaom
2011-10-06 10:25:56 UTC
Permalink
Hi,

recently i experienced extended stuttering playing 5.1 and other high
bitrate FLAC with cmus. CPU remains at 0% while trying, so the quadcore
shouldn't be the limiting factor. Mplayer plays the problematic files just
fine. Any ideas what might be the cause or if this is expected behaviour?

Using Arch Linux x64 with the corresponding cmus 2.4.2-1 package, flac
1.2.1-3 is installed. Audio output via OSS.


Jiaom
Paul van der Walt
2011-10-06 11:29:49 UTC
Permalink
Post by Jiaom
Audio output via OSS.
I'm no expert, but OSS is really old. Does pulse or alsa not
work better, maybe even solving the issue?

Paul
Johannes Weißl
2011-10-27 16:18:06 UTC
Permalink
Hello Jiaom,
Post by Jiaom
recently i experienced extended stuttering playing 5.1 and other high
bitrate FLAC with cmus. CPU remains at 0% while trying, so the quadcore
shouldn't be the limiting factor. Mplayer plays the problematic files just
fine. Any ideas what might be the cause or if this is expected behaviour?
Using Arch Linux x64 with the corresponding cmus 2.4.2-1 package, flac
1.2.1-3 is installed. Audio output via OSS.
This is quite interesting, sorry for not responding earlier! I changed
some things in oss.c lately, so this could be very well the cause for
the stuttering :-(. These are the commits that could be responsible:

* oss.c: support sample size of 24bit
38432ed2c17401d9b08d599a61e5562a9f940b28
* oss: better oss_buffer_space()
3d1bd0e6fabca8381b53b167bd3bbdc8cf8fb8f8
* oss: support multi channel audio
54813090d050b4dec8b73195474eda437ec1a654
* oss.c: support sample size of 32bit
5d4dfa3c1f3cb7f81aea7064982044d09e946d31

If you are familiar with self-compiling and git, you could try to go
back 4 times and see where the stuttering ends. Otherwise, could you
(privately) send me the flac file(s)?

And, what operating system are you using? Are you using OSS natively, or
as interface to another sound system (ALSA, PulseAudio, ...)?


Greetings,
Johannes

Loading...