Page 1 of 1

Win32 waveOut -> horrible distortion

Posted: 14 Jul 2004 15:25
by Dandruff
seems there's a big problem with the waveout-module. gives me totally distorted sound. using rme hdsp9632 soundcard here. normally it should work with this card, because this card only has mme-waveout-drivers (no directx/wdm-drivers!)

http://www.rme-audio.com/english/hdsp/hdsp9632.htm


windows only emulates the direct-x-drivers. vlc works in directx-mode, but why not in waveout-mode???



messages (Win32 waveOut-mode):

main debug: creating new input thread
main: playlist item `D:\Techno 22.wav'
main debug: waiting for thread completion
main warning: drive letter D: found in source string
main debug: access `', demux `', name `D:\Techno 22.wav'
main debug: looking for access module
main debug: probing 8 candidates
dvdplay debug: plugin discarded (not a valid source)
dvdread warning: dvdread module discarded (not a valid source)
vcd debug: trying .cue file: D:\Techno 22.cue
vcd warning: could not open D:\Techno 22.wav
cdda debug: trying .cue file: D:\Techno 22.cue
cdda warning: could not open D:\Techno 22.wav
access_file debug: opening file `D:\Techno 22.wav'
main debug: using access module "access_file"
main debug: looking for demux module
main debug: probing 7 candidates
dshow warning: dshow plugin discarded (not a valid stream)
dshow warning: dshow plugin discarded (not a valid stream)
ts_dvbpsi warning: TS module discarded (no sync)
ts warning: TS module discarded (no sync)
main debug: demux2_New: '://D:\Techno 22.wav' -> access='' demux='' path='D:\Techno 22.wav'
main debug: looking for demux2 module
main debug: probing 27 candidates
mp4 warning: MP4 plugin discarded (not a valid file)
avi warning: avi module discarded (invalid header)
asf warning: ASF plugin discarded (not a valid file)
flac warning: flac module discarded (no startcode)
wav debug: Chunk: fcc=`fmt ` size=16
wav debug: format: 0x0001, fourcc: araw, channels: 2, freq: 44100 Hz, bitrate: 172Ko/s, blockalign: 4, bits/samples: 16, extra size: 0
wav debug: found Raw audio audio format
wav debug: Chunk: fcc=`cue ` size=52
wav debug: Chunk: fcc=`data` size=53222400
main debug: using demux2 module "wav"
main debug: using demux module "demux2"
main debug: looking for a subtitle file in D:\
main debug: found a possible subtitle: breaks.txt
main debug: selecting ES 0x1
main debug: looking for decoder module
main debug: probing 22 candidates
araw debug: samplerate:44100Hz channels:2 bits/sample:16
main debug: using decoder module "araw"
main debug: thread 3264 (decoder) created at priority 2 (src/input/input_dec.c:161)
main debug: looking for audio output module
main debug: probing 4 candidates
waveout debug: device supports 2 channels
waveout debug: device supports 1 channel
main debug: thread 3388 (waveOut Notification Thread) created at priority 15 (waveout.c:310)
main debug: using audio output module "waveout"
main debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module
main debug: probing 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 's16l'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module
main debug: probing 22 candidates
main debug: using audio filter module "s16tofloat32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module
main debug: probing 22 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
main debug: thread 3180 (input) created at priority 1 (src/input/input.c:326)
main debug: cmd=state old=1 new=1
main debug: playing at normal rate
main debug: audio output is starving (485778), playing silence
main debug: 143 loops
main debug: dumping stream ID 0x0 [OK:0/D:0]
main debug: seekable stream, position: 1261364/53222504 (-:--:--/-:--:--)
main debug: dumping program 0x0, version 0 (partial)
main debug: ES 0x0, stream 0x0, fourcc `null', not selected [OK:0/ERR:0]
main debug: ES 0x1, stream 0x0, fourcc `araw', selected [OK:0/ERR:0]
main debug: unlocking module "wav"
main debug: unlocking module "demux2"
main debug: unselecting ES 0x1
main debug: unlocking module "araw"
main debug: thread 3264 joined (src/input/input_dec.c:203)
main debug: killing decoder fourcc `araw', 11 PES in FIFO
main debug: unlocking module "s16tofloat32"
main debug: unlocking module "bandlimited_resampler"
main debug: thread 3388 joined (waveout.c:459)
main debug: unlocking module "waveout"
main debug: unlocking module "float32_mixer"
main debug: no more selected ES
access_file: closing `/://D:\Techno 22.wav'
main debug: unlocking module "access_file"
main debug: pes: 0 packets
main debug: data: 0 packets
main debug: buffers: 2 packets
main debug: freeing info structures...
main debug: thread 3180 joined (src/input/input.c:373)


please fix that!


here's the manual for the hdsp9632: http://www.rme-audio.com/english/download/hdsp32w_e.pdf

maybe it helps (supportet output formats ...)

thanks!!!




_____________________
windows xp sp1
vlc 0.7.2

Posted: 26 Jul 2004 09:28
by Dandruff
'fixed' in latest nightly (option to disable float32 under 'modules' -> 'audio
output' -> 'waveout')

Re: Win32 waveOut -> horrible distortion

Posted: 16 May 2013 09:58
by redfiend
Sincerest appologies for the necropost... but the same issue has resurfaced for me.

Almost identical circumstances.

Disabling float32 does not help. However, if i change from stereo to mono, i get a few seconds of zero distortion. It sounds like someone is tapping play/pause rapidly.