Changeset 6be06d0 in mainline


Ignore:
Timestamp:
2012-07-06T14:07:14Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c5c65b6
Parents:
68e005d
Message:

libdrv,audio pcm: Fix sending number of buffer parts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_audio_pcm_buffer.c

    r68e005d r6be06d0  
    126126        const sysarg_t packed =
    127127            (sample_size << 16) | (channels << 8) |
    128             (parts & 0x7f << 1) | (sign ? 1 : 0);
     128            ((parts & 0x7f) << 1) | (sign ? 1 : 0);
    129129        return async_req_4_0(exch, DEV_IFACE_ID(AUDIO_PCM_BUFFER_IFACE),
    130130            IPC_M_AUDIO_PCM_START_PLAYBACK, id, sample_rate, packed);
Note: See TracChangeset for help on using the changeset viewer.