View Issue Details

IDProjectCategoryView StatusLast Update
0000540OpenMPTGeneralpublic2014-06-05 22:13
Reporterjmkz Assigned Tomanx  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx64OSWindowsOS Version7
Product VersionOpenMPT 1.23.03.* (old testing) 
Target VersionOpenMPT 1.23.04.00 / libopenmpt 0.2-beta5 (upgrade first)Fixed in VersionOpenMPT 1.23.04.00 / libopenmpt 0.2-beta5 (upgrade first) 
Summary0000540: Periodic noise when playing through waveOut or DirectSound under certain conditions
Description

OpenMPT it's generating periodic noise (like switching signed waveform to unsigned) when using waveOut or DirectSound under the following:

Samplerate: 22,050 Hz or less
Bit depth: 24 bits
For DS: Only when prymary buffer is activated

TagsNo tags attached.
Has the bug occurred in previous versions?Since 1.23
Tested code revision (in case you know it)r4084

Activities

manx

manx

2014-06-05 07:41

administrator   ~0001692

I currently do not have access to a Win7 box, but I was able to reproduce the problem for 24bit with DirectSound primary buffers on WinXP (with any sample rate). OpenMPT wrongly assumed that all DirectSound device support primary buffers. This is not the case. It also did not properly check for errors when configuring for primary buffer access. Can you check if r4085 works for you for the DirectSound case? (it should probably just not let you enable primary buffer at all).

jmkz

jmkz

2014-06-05 08:29

reporter   ~0001693

Yes, r4085 works nicely, thanks!

Saga Musix

Saga Musix

2014-06-05 14:08

administrator   ~0001694

For WaveOut, I can only reproduce it on Win7 with 16KHz sampling rate or less, at a period of 10ms or less.

manx

manx

2014-06-05 15:41

administrator   ~0001695

There was an additional buffer size rounding bug, affecting both, WaveOut and DirectSound. This should now be fixed in r4087 .

Issue History

Date Modified Username Field Change
2014-06-05 02:51 jmkz New Issue
2014-06-05 03:03 jmkz Has the bug occurred in previous versions? => Since 1.23
2014-06-05 03:03 jmkz Summary Periodic noise when playing through waveOut or DirectSound at 24 bit => Periodic noise when playing through waveOut or DirectSound under certain conditions
2014-06-05 07:41 manx Note Added: 0001692
2014-06-05 07:41 manx Assigned To => manx
2014-06-05 07:41 manx Status new => feedback
2014-06-05 08:29 jmkz Note Added: 0001693
2014-06-05 08:29 jmkz Status feedback => assigned
2014-06-05 14:08 Saga Musix Note Added: 0001694
2014-06-05 15:41 manx Note Added: 0001695
2014-06-05 15:41 manx Status assigned => resolved
2014-06-05 15:41 manx Fixed in Version => OpenMPT 1.23.04.00 / libopenmpt 0.2-beta5 (upgrade first)
2014-06-05 15:41 manx Resolution open => fixed
2014-06-05 22:13 Saga Musix Target Version => OpenMPT 1.23.04.00 / libopenmpt 0.2-beta5 (upgrade first)