Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4a90582 in mainline


Ignore:
Timestamp:
2013-09-12T20:12:51Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
695b6ff
Parents:
69f5f19
Message:

allocate the DMA buffer with proper alignment
this finally unbreaks Sound Blaster 16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/dsp.c

    r69f5f19 r4a90582  
    180180        void *buffer = NULL;
    181181       
    182         int ret = dmamem_map_anonymous(size, DMAMEM_16MiB,
     182        int ret = dmamem_map_anonymous(size, DMAMEM_16MiB | 0x0000ffff,
    183183            AS_AREA_WRITE | AS_AREA_READ, 0, &pa, &buffer);
    184184        if (ret != EOK) {
Note: See TracChangeset for help on using the changeset viewer.