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

Changeset 53a7fda in mainline


Ignore:
Timestamp:
2011-11-25T22:10:04Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
25c98a8e
Parents:
3df0f75
Message:

libdrv, libc: Add audio mixer interface.

Location:
uspace/lib
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/dev_iface.h

    r3df0f75 r53a7fda  
    3636typedef enum {
    3737        HW_RES_DEV_IFACE = 0,
     38
     39        /** Audio device mixer interface */
     40        AUDIO_MIXER_IFACE,
     41
    3842        /** Character device interface */
    3943        CHAR_DEV_IFACE,
  • uspace/lib/drv/Makefile

    r3df0f75 r53a7fda  
    3737        generic/log.c \
    3838        generic/logbuf.c \
     39        generic/remote_audio_mixer.c \
    3940        generic/remote_hw_res.c \
    4041        generic/remote_char_dev.c \
  • uspace/lib/drv/generic/dev_iface.c

    r3df0f75 r53a7fda  
    4646#include "remote_usbhid.h"
    4747#include "remote_pci.h"
     48#include "remote_audio_mixer.h"
    4849
    49 static iface_dipatch_table_t remote_ifaces = {
     50static const iface_dipatch_table_t remote_ifaces = {
    5051        .ifaces = {
    51                 &remote_hw_res_iface,
    52                 &remote_char_dev_iface,
    53                 &remote_nic_iface,
    54                 &remote_pci_iface,
    55                 &remote_usb_iface,
    56                 &remote_usbhc_iface,
    57                 &remote_usbhid_iface
     52                [AUDIO_MIXER_IFACE] = &remote_audio_mixer_iface,
     53                [HW_RES_DEV_IFACE] = &remote_hw_res_iface,
     54                [CHAR_DEV_IFACE] = &remote_char_dev_iface,
     55                [NIC_DEV_IFACE] = &remote_nic_iface,
     56                [PCI_DEV_IFACE] = &remote_pci_iface,
     57                [USB_DEV_IFACE] = &remote_usb_iface,
     58                [USBHC_DEV_IFACE] = &remote_usbhc_iface,
     59                [USBHID_DEV_IFACE] = &remote_usbhid_iface,
    5860        }
    5961};
Note: See TracChangeset for help on using the changeset viewer.