Changeset 47e00b83 in mainline for uspace/drv/audio/hdaudio/stream.c


Ignore:
Timestamp:
2018-05-15T08:32:36Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8800b13, fac0ac7
Parents:
3a26925
git-author:
Jiri Svoboda <jiri@…> (2018-05-14 17:31:01)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-15 08:32:36)
Message:

Fix some block comments (found by ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/stream.c

    r3a26925 r47e00b83  
    9292
    9393        /* Allocate buffers */
    94 /*
     94#if 0
    9595        for (i = 0; i < bufs->nbuffers; i++) {
    9696                buffer = AS_AREA_ANY;
     
    116116                }
    117117        }
    118 */
     118#endif
    119119        /* audio_pcm_iface requires a single contiguous buffer */
    120120        buffer = AS_AREA_ANY;
     
    134134                    (long long unsigned)(uintptr_t)bufs->buf[i],
    135135                    (void *)bufs->buf_phys[i]);
    136 /*              k = 0;
    137                 for (j = 0; j < bufs->bufsize / 2; j++) {
    138                         int16_t *bp = bufs->buf[i];
    139                         bp[j] = (k > 128) ? -10000 : 10000;
    140                         ++k;
    141                         if (k >= 256)
    142                                 k = 0;
    143                 }
    144 */
    145136        }
    146137
Note: See TracChangeset for help on using the changeset viewer.