Changeset 1433ecda in mainline for uspace/lib/pcm/include


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.

Location:
uspace/lib/pcm/include/pcm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcm/include/pcm/format.h

    r47b2d7e3 r1433ecda  
    8787}
    8888
    89 bool pcm_format_same(const pcm_format_t *a, const pcm_format_t* b);
     89bool pcm_format_same(const pcm_format_t *a, const pcm_format_t *b);
    9090
    9191/**
     
    102102    size_t src_size, const pcm_format_t *sf, const pcm_format_t *df);
    103103errno_t pcm_format_mix(void *dst, const void *src, size_t size, const pcm_format_t *f);
    104 errno_t pcm_format_convert(pcm_format_t a, void* srca, size_t sizea,
    105     pcm_format_t b, void* srcb, size_t *sizeb);
     104errno_t pcm_format_convert(pcm_format_t a, void *srca, size_t sizea,
     105    pcm_format_t b, void *srcb, size_t *sizeb);
    106106
    107107#endif
  • uspace/lib/pcm/include/pcm/sample_format.h

    r47b2d7e3 r1433ecda  
    7171static inline bool pcm_sample_format_is_signed(pcm_sample_format_t format)
    7272{
    73         switch(format) {
     73        switch (format) {
    7474        case PCM_SAMPLE_SINT8:
    7575        case PCM_SAMPLE_SINT16_LE:
     
    104104static inline size_t pcm_sample_format_size(pcm_sample_format_t format)
    105105{
    106         switch(format) {
     106        switch (format) {
    107107        case PCM_SAMPLE_UINT8:
    108108        case PCM_SAMPLE_SINT8:
     
    180180 * @return Valid string representation.
    181181 */
    182 static inline const char * pcm_sample_format_str(pcm_sample_format_t format)
    183 {
    184         switch(format) {
     182static inline const char *pcm_sample_format_str(pcm_sample_format_t format)
     183{
     184        switch (format) {
    185185        case PCM_SAMPLE_UINT8:
    186186                return "8 bit unsigned";
Note: See TracChangeset for help on using the changeset viewer.