Opened 11 years ago

Closed 9 months ago

#9951 closed bug (fixed)

Recorded sound is slow and crackle

Reported by: diger Owned by: nobody
Priority: normal Milestone: R1/beta5
Component: Drivers/Audio/USB Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Look on the attached wav sample to hear the problem. Audio hardware is the same as in ticket #9950

Attachments (1)

Audio.wav (901.4 KB ) - added by diger 11 years ago.

Download all attachments as: .zip

Change History (7)

by diger, 11 years ago

Attachment: Audio.wav added

comment:1 by diver, 11 years ago

Maybe it's a dupe of 9438?

Version 0, edited 11 years ago by diver (next)

comment:2 by Barrett, 10 years ago

I think this could be rechecked, since both tickets mentioned are solved now.

comment:3 by siarzhuk, 9 years ago

Owner: changed from siarzhuk to nobody
Status: newassigned

comment:4 by waddlesplash, 10 months ago

Still happens for me on the USB audio driver.

comment:5 by zelenoviy, 10 months ago

I have an assumption that the problem with the recording may be related to the Media Kit (more precisely, the multi audio addon). Does it really support mono (one channel)? It seems that the MediaAudioNode internal buffer size is always calculated for 2 channels. And when copying data from the driver buffer (after BUFFER_EXCHANGE), it takes up half of the internal buffer.

If you open the file attached above in an audio editor, you can see that blocks of samples alternate with blocks of silence of equal length. And from the sound you can hear that it is slowed down and stretched twice, but the sample data is not lost during transmission.

comment:6 by waddlesplash, 9 months ago

Milestone: R1R1/beta5
Resolution: fixed
Status: assignedclosed

Indeed, it was MultiAudioNode that was the problem. Fixed in hrev57599.

Note: See TracTickets for help on using tickets.