Changeset 0d59ea7e in mainline for uspace/drv/audio/hdaudio/stream.c


Ignore:
Timestamp:
2022-07-02T14:34:36Z (22 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ab7aad4, a247c32, baa2a33, d9dda26
Parents:
9e9d9bc6
Message:

Multiple HD Audio converters cannot pull from a single stream

We select one arbitrary output converter for out PCM output, similar to what
we do for input.

We filter the 'other' VirtualBox output converters based on rates/formats
being zero.

File:
1 edited

Legend:

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

    r9e9d9bc6 r0d59ea7e  
    11/*
    2  * Copyright (c) 2014 Jiri Svoboda
     2 * Copyright (c) 2022 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    166166        uint8_t ctl3;
    167167
     168        /* Stream ID */
    168169        ctl3 = (stream->sid << 4);
    169         ctl1 = 0x4;
     170
     171        /* Interrupt on buffer completion */
     172        ctl1 = BIT_V(uint8_t, sdctl1_ioce);
    170173
    171174        sdregs = &stream->hda->regs->sdesc[stream->sdid];
Note: See TracChangeset for help on using the changeset viewer.