Bug 4022 - Background music and high sound rate
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Sound
Version: GIT MASTER
Hardware: All All
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2009-03-25 16:18 EDT by Eugene C.
Modified: 2009-09-15 02:19:25 EDT
1 user (show)

See Also:


Attachments
solution (421 bytes, patch)
2009-03-25 16:18 EDT, Eugene C.

Description Eugene C. 2009-03-25 16:18:20 EDT
Created attachment 2023 [details]
solution

Function S_UpdateBackgroundTrack() hangs under some specific condition:
when bufferSamples!=0, but fileSamples==0 - this occurs when s_backgroundStream->info.rate is less than dma.speed. Bug can be reproduced by setting s_sdlSpeed to 48000
Comment 1 Eugene C. 2009-04-02 11:34:59 EDT
Its cross-platform
Comment 2 Ryan C. Gordon 2009-09-15 02:19:25 EDT
Fixed in svn revision #1622, thanks!

--ryan.