[haiku-bugs] Re: [Haiku] #9951: Recorded sound is slow and crackle

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 06 Feb 2024 23:59:28 -0000

#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.

Other related posts: