#9951: Recorded sound is slow and crackle
--------------------------------+----------------------------
Reporter: diger | Owner: nobody
Type: bug | Status: assigned
Priority: normal | Milestone: R1
Component: Drivers/Audio/USB | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
--------------------------------+----------------------------
Comment (by zelenoviy):
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.
--
Ticket URL: <https://dev.haiku-os.org/ticket/9951#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.