Changeset 35112 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Dec 15, 2010 8:50:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/audio_template.h
r35050 r35112 111 111 int samples; 112 112 113 #ifdef DAC114 samples = sw->hw->samples;115 #else116 113 samples = ((int64_t) sw->hw->samples << 32) / sw->ratio; 117 #endif118 114 119 115 sw->buf = audio_calloc (AUDIO_FUNC, samples, sizeof (st_sample_t));
Note:
See TracChangeset
for help on using the changeset viewer.