Changeset 902dd4b in mainline for uspace/srv/audio/hound/audio_data.h


Ignore:
Timestamp:
2018-04-15T19:21:10Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30e9f42, cbc534c
Parents:
2ee0e4a1
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-15 19:20:12)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-15 19:21:10)
Message:

Remove const qualifier from arguments that pass ownership of a buffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_data.h

    r2ee0e4a1 r902dd4b  
    4646typedef struct {
    4747        /** Audio data */
    48         const void *data;
     48        void *data;
    4949        /** Size of the buffer pointer to by data */
    5050        size_t size;
     
    6767} audio_pipe_t;
    6868
    69 audio_data_t *audio_data_create(const void *data, size_t size,
     69audio_data_t *audio_data_create(void *data, size_t size,
    7070    pcm_format_t format);
    7171void audio_data_addref(audio_data_t *adata);
     
    114114 */
    115115static inline errno_t audio_pipe_push_data(audio_pipe_t *pipe,
    116     const void *data, size_t size, pcm_format_t f)
     116    void *data, size_t size, pcm_format_t f)
    117117{
    118118        audio_data_t *adata = audio_data_create(data, size, f);
Note: See TracChangeset for help on using the changeset viewer.