Opened 11 years ago

Closed 11 years ago

#9704 closed bug (duplicate)

Wave files aren't properly played

Reported by: Giova84 Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Media Kit Version: R1/Development
Keywords: Wave files aren't properly played clicks and crackles Cc: degea@…
Blocked By: #9438 Blocking:
Platform: x86

Description

In newer Haiku revisions (as i can remember at least since hrev 45439) wave files aren't properly played. I mean that, when i listen wave files i hear clicks and crackles, but is not due an old/low performance computer (is a modern dual-core pentium, 2,59 Ghz) in fact, if i drag and move windows on my screen, all is ok. And with mp3 files this issue is not present. This happen with every media player: Haiku's Media Player, SoundPlay, SMPlayer/Mplayer and Aplayer. And these file aren't corrupted or something else, since under Windows and Linux, on the same computer, are played fine. This is mediainfo output of one of these wave file:

General
-- Complete name                            : /boot/home/Desktop/Radiohead - Karma Police.wav
-- Format                                   : Wave
-- File size                                : 44.0 MiB
-- Duration                                 : 4mn 21s
-- Overall bit rate mode                    : Constant
-- Overall bit rate                         : 1 411 Kbps
Audio
-- ID                                       : 0
-- Format                                   : PCM
-- Format settings, Endianness              : Little
-- Codec ID                                 : 1
-- Duration                                 : 4mn 21s
-- Bit rate mode                            : Constant
-- Bit rate                                 : 1 411.2 Kbps
-- Channel(s)                               : 2 channels
-- Sampling rate                            : 44.1 KHz
-- Bit depth                                : 16 bits
-- Stream size                              : 44.0 MiB (100%)

Change History (6)

comment:1 by Giova84, 11 years ago

Version: R1/alpha4.1R1/Development

comment:2 by Giova84, 11 years ago

Curious aspect: if i convert an mp3 files to raw audio (standard wave format 16 bit 44100 Hz) using Haiku's MediaConverter, these files are played without clicks and crackles.

comment:3 by ttcoder, 11 years ago

Cc: degea@… added

If the mp3 ..etc files had a different sampling rate than WAV files this ticket would remind me of #9438, but I gather from the above it's not the case? @Giova84 maybe try anyway to change the "HDA Output sampling rate" (if you're using HDA) in media preferences, see if it changes things.

comment:4 by Giova84, 11 years ago

All wav and mp3 files have the same samplerate. If i change the output samplerate of HDA (from 192000 to 44100) wave files are properly played without clicks and crackles! But i can remember that, with alpha 4.1 or below, this doesn't occurs.

comment:5 by Giova84, 11 years ago

So, this ticket seems a dup of https://dev.haiku-os.org/ticket/9438

comment:6 by anevilyak, 11 years ago

Blocked By: 9438 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.