VirtualBox

Changeset 32668 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Sep 21, 2010 2:17:53 PM (14 years ago)
Author:
vboxsync
Message:

Audio: Fixed recording with null audio backend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/noaudio.c

    r1 r32668  
    128128    int to_clear = audio_MIN (samples, total);
    129129    audio_pcm_info_clear_buf (&sw->info, buf, to_clear);
    130     return to_clear;
     130    return to_clear << sw->info.shift;
    131131}
    132132
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette