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

Changeset ce047249 in mainline


Ignore:
Timestamp:
2012-07-09T07:59:03Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial
Children:
94694a4
Parents:
68d1313
Message:

Rename audio nodes: (mixer, dsp) ⇒ (control, pcm).

Location:
uspace
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/dplay/dplay.c

    r68d1313 rce047249  
    11/*
    2  * Copyright (c) 2011 Jan Vesely
     2 * Copyright (c) 2012 Jan Vesely
    33 * All rights reserved.
    44 *
     
    5050#include "wave.h"
    5151
    52 #define DEFAULT_DEVICE "/hw/pci0/00:01.0/sb16/dsp"
     52#define DEFAULT_DEVICE "/hw/pci0/00:01.0/sb16/pcm"
    5353#define SUBBUFFERS 2
    5454
  • uspace/app/drec/drec.c

    r68d1313 rce047249  
    11/*
    2  * Copyright (c) 2011 Jan Vesely
     2 * Copyright (c) 2012 Jan Vesely
    33 * All rights reserved.
    44 *
     
    5050#include "wave.h"
    5151
    52 #define DEFAULT_DEVICE "/hw/pci0/00:01.0/sb16/dsp"
     52#define DEFAULT_DEVICE "/hw/pci0/00:01.0/sb16/pcm"
    5353#define SUBBUFFERS 2
    5454
  • uspace/app/mixerctl/mixerctl.c

    r68d1313 rce047249  
    4141#include <stdio.h>
    4242
    43 #define DEFAULT_DEVICE "/hw/pci0/00:01.0/sb16/mixer"
     43#define DEFAULT_DEVICE "/hw/pci0/00:01.0/sb16/control"
    4444
    4545static void print_levels(async_exch_t *exch)
  • uspace/drv/audio/sb16/sb16.c

    r68d1313 rce047249  
    102102
    103103        /* Initialize DSP */
    104         ddf_fun_t *dsp_fun = ddf_fun_create(dev, fun_exposed, "dsp");
     104        ddf_fun_t *dsp_fun = ddf_fun_create(dev, fun_exposed, "pcm");
    105105        if (!dsp_fun) {
    106106                ddf_log_error("Failed to create dsp function.");
     
    132132            sb->dsp.version.major, sb->dsp.version.minor);
    133133
    134         ddf_fun_t *mixer_fun = ddf_fun_create(dev, fun_exposed, "mixer");
     134        ddf_fun_t *mixer_fun = ddf_fun_create(dev, fun_exposed, "control");
    135135        if (!mixer_fun) {
    136136                ddf_log_error("Failed to create mixer function.");
Note: See TracChangeset for help on using the changeset viewer.