Changeset 7e706a3 in mainline


Ignore:
Timestamp:
2013-04-06T15:23:45Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3545c56
Parents:
eca79ff
Message:

hound: clear device buffer before using it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_device.c

    reca79ff r7e706a3  
    109109                /* Fill the buffer first. Fill the first two fragments,
    110110                 * so that we stay one fragment ahead */
     111                pcm_format_silence(dev->buffer.base, dev->buffer.size,
     112                    &dev->sink.format);
    111113                fill_buffer(dev, dev->buffer.fragment_size * 2);
    112114
Note: See TracChangeset for help on using the changeset viewer.