Opened 11 years ago

Last modified 3 weeks ago

#10850 new bug

Problem with small wav files

Reported by: AlienSoldier Owned by: nobody
Priority: high Milestone: R1
Component: Audio & Video Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev47207

Perhaps that also happen with other type of audio files, i happen to use wave for event sound since my Amiga days, i guess i could use mp3 now :)

I attached R5 bebeep.wav file as a test case (that was the sound produced if you modified the system volume for exemple).

I selected high as priority because it really mess with sound and i consider this a stability problem as high as crashing.

The problem does not appear with VLC. In media player the small files do not show right as far as the file size bar is concerned. When using sound event, the sound event can sound scratchy and is the same with playsound so i guess they both are the same.

So right now to keep my sound reliability, i needed to disable all the sound notification (i have a soundblaster SBlive PCI if that matter).

If i don't disable those, when one play i can somehow corrupt my sound playing ability. Mediaplayer can then take a lot of cpu power and almost prevent me to be able to use the deskbar (menu take forever to appear) so i use ctrl-alt-del to kill media player. The deskbar volume icon then flash with a red x on it. I can sometime get the whole thing to comeback without a reboot but most of the time it require one.

All in all this seem to be the very last audio problem i have with that installation and that hardware.

Attachments (1)

BeBeep.wav (30.4 KB ) - added by AlienSoldier 11 years ago.
bebeep.wav

Download all attachments as: .zip

Change History (6)

by AlienSoldier, 11 years ago

Attachment: BeBeep.wav added

bebeep.wav

comment:1 by diver, 11 years ago

Component: - GeneralAudio & Video

Seems to be a dupe of #9438.

comment:2 by pulkomandy, 10 years ago

Here it plays ok with playfile, almost ok with playsound (there is a glitch after the sound finishes, probably a buffer is not cleared), and too fast with playwav. Are your results similar?

comment:3 by AlienSoldier, 10 years ago

Yes, Same thing.

I cant seem to be able to replicate the audio crashes but the machine that was doing this is now on the todo pile (it need capacitor changes, still have the same sound card that said). I think the problem came with lot of use, as i cant use the PC full time with new build because of the lightstreamer regression i can't test it as normal.

Also media player progress bar still dont go all the way to the end, just as before.

comment:4 by cocobean, 3 weeks ago

@aliensoldier - MediaPlayer stops in the same place with your test file (BeBeep.wav) and sound files from the "sound_community" package using the HDA driver. I can play your file fine on Haiku hrev58500 x64.

Is this issue specific to the audio driver for the SBLive PCI??

comment:5 by AlienSoldier, 3 weeks ago

No longer have crash, but short wav file still buggy (in 58490). I don't seem to have command line sounds player in my haiku install anymore.

The media player progress bar still always finish before the end of the space for it. It is possible that the file is all played but i am not sure. If i repeatedly press play in media player it always does the same. If i repeatedly drop the file to play in media player, it does thing differently, sometime starting later in the track or doing a sound as if it is restarting (a stutter). In every play the progress bar never reach the end. If i play the sound with the play button in the "Sounds" pref app for event, there is a little something at the end of the sound that is not ok. No sounds seem to take effect when i close that app, i can only get it to play with it's play button (tested window closed and keydown).

Current driver for this computer is HD audio.

Note: See TracTickets for help on using tickets.