Changeset 98af9cc in mainline for uspace/srv/audio/hound/connection.c


Ignore:
Timestamp:
2013-04-06T22:10:00Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7db073f
Parents:
78aca91b
Message:

hound: use helper function

add const

File:
1 edited

Legend:

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

    r78aca91b r98af9cc  
    8686        if (!data)
    8787                return EBADMEM;
    88         size_t needed_frames = pcm_format_size_to_frames(size, &format);
     88        const size_t needed_frames = pcm_format_size_to_frames(size, &format);
    8989        if (needed_frames > audio_pipe_frames(&connection->fifo) &&
    9090            connection->source->update_available_data) {
Note: See TracChangeset for help on using the changeset viewer.