Changeset 1433ecda in mainline for uspace/lib/hound/src


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/hound/src/client.c

    r47b2d7e3 r1433ecda  
    6666 * @return hound stream isntance.
    6767 */
    68 static inline hound_stream_t * hound_stream_from_link(link_t *l)
     68static inline hound_stream_t *hound_stream_from_link(link_t *l)
    6969{
    7070        return l ? list_get_instance(l, hound_stream_t, link) : NULL;
     
    143143 * @return valid pointer to initialized structure on success, NULL on failure
    144144 */
    145 hound_context_t * hound_context_create_playback(const char *name,
     145hound_context_t *hound_context_create_playback(const char *name,
    146146    pcm_format_t format, size_t bsize)
    147147{
     
    156156 * @return valid pointer to initialized structure on success, NULL on failure
    157157 */
    158 hound_context_t * hound_context_create_capture(const char *name,
     158hound_context_t *hound_context_create_capture(const char *name,
    159159    pcm_format_t format, size_t bsize)
    160160{
     
    220220        return hound_service_get_list(hound->session, names, count,
    221221            HOUND_CONNECTED | (hound->record ?
    222                 HOUND_SOURCE_DEVS : HOUND_SINK_DEVS), hound->name);
     222            HOUND_SOURCE_DEVS : HOUND_SINK_DEVS), hound->name);
    223223}
    224224
     
    232232 * connect to the first possible target if it is passed this value.
    233233 */
    234 errno_t hound_context_connect_target(hound_context_t *hound, const char* target)
     234errno_t hound_context_connect_target(hound_context_t *hound, const char *target)
    235235{
    236236        assert(hound);
     
    269269 * @return Error code.
    270270 */
    271 errno_t hound_context_disconnect_target(hound_context_t *hound, const char* target)
     271errno_t hound_context_disconnect_target(hound_context_t *hound, const char *target)
    272272{
    273273        assert(hound);
     
    385385 * if it exists.
    386386 */
    387 static hound_stream_t * hound_get_main_stream(hound_context_t *hound)
     387static hound_stream_t *hound_get_main_stream(hound_context_t *hound)
    388388{
    389389        assert(hound);
    390390        if (!hound->main.stream)
    391391                hound->main.stream = hound_stream_create(hound,
    392                     HOUND_STREAM_DRAIN_ON_EXIT,hound->main.format,
     392                    HOUND_STREAM_DRAIN_ON_EXIT, hound->main.format,
    393393                    hound->main.bsize);
    394394        return hound->main.stream;
Note: See TracChangeset for help on using the changeset viewer.