Changeset 0d59ea7e in mainline for uspace/drv/audio/hdaudio/hdaudio.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/hdaudio.c

    r9e9d9bc6 r0d59ea7e  
    11/*
    2  * Copyright (c) 2014 Jiri Svoboda
     2 * Copyright (c) 2022 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    140140                .cmd = CMD_PIO_WRITE_8,
    141141                .addr = NULL, /* sdesc[x].sts */
    142                 .value = 0x4 /* XXX sdesc.sts.BCIS */
     142                .value = BIT_V(uint8_t, sdsts_bcis)
    143143        },
    144144        /* 4 */
Note: See TracChangeset for help on using the changeset viewer.