| .. | .. |
|---|
| 13 | 13 | The DPCM runtime routing is determined by the ALSA mixer settings in the same |
|---|
| 14 | 14 | way as the analog signal is routed in an ASoC codec driver. DPCM uses a DAPM |
|---|
| 15 | 15 | graph representing the DSP internal audio paths and uses the mixer settings to |
|---|
| 16 | | -determine the patch used by each ALSA PCM. |
|---|
| 16 | +determine the path used by each ALSA PCM. |
|---|
| 17 | 17 | |
|---|
| 18 | 18 | DPCM re-uses all the existing component codec, platform and DAI drivers without |
|---|
| 19 | 19 | any modifications. |
|---|
| .. | .. |
|---|
| 101 | 101 | |
|---|
| 102 | 102 | 4. Machine driver or audio HAL enables the speaker path. |
|---|
| 103 | 103 | |
|---|
| 104 | | -5. DPCM runs the PCM ops for startup(), hw_params(), prepapre() and |
|---|
| 104 | +5. DPCM runs the PCM ops for startup(), hw_params(), prepare() and |
|---|
| 105 | 105 | trigger(start) for DAI1 Speakers since the path is enabled. |
|---|
| 106 | 106 | |
|---|
| 107 | 107 | In this example, the machine driver or userspace audio HAL can alter the routing |
|---|
| .. | .. |
|---|
| 218 | 218 | * * <----DAI5-----> FM |
|---|
| 219 | 219 | ************* |
|---|
| 220 | 220 | |
|---|
| 221 | | -This allows the host CPU to sleep whilst the DSP, MODEM DAI and the BT DAI are |
|---|
| 221 | +This allows the host CPU to sleep while the DSP, MODEM DAI and the BT DAI are |
|---|
| 222 | 222 | still in operation. |
|---|
| 223 | 223 | |
|---|
| 224 | | -A BE DAI link can also set the codec to a dummy device if the code is a device |
|---|
| 224 | +A BE DAI link can also set the codec to a dummy device if the codec is a device |
|---|
| 225 | 225 | that is managed externally. |
|---|
| 226 | 226 | |
|---|
| 227 | 227 | Likewise a BE DAI can also set a dummy cpu DAI if the CPU DAI is managed by the |
|---|
| .. | .. |
|---|
| 249 | 249 | struct snd_interval *channels = hw_param_interval(params, |
|---|
| 250 | 250 | SNDRV_PCM_HW_PARAM_CHANNELS); |
|---|
| 251 | 251 | |
|---|
| 252 | | - /* The DSP will covert the FE rate to 48k, stereo */ |
|---|
| 252 | + /* The DSP will convert the FE rate to 48k, stereo */ |
|---|
| 253 | 253 | rate->min = rate->max = 48000; |
|---|
| 254 | 254 | channels->min = channels->max = 2; |
|---|
| 255 | 255 | |
|---|
| .. | .. |
|---|
| 386 | 386 | DAI links. The DAI links will be started when the FE PCM is started and stopped |
|---|
| 387 | 387 | when the FE PCM is stopped. Note that the FE PCM cannot read or write data in |
|---|
| 388 | 388 | this configuration. |
|---|
| 389 | | - |
|---|
| 390 | | - |
|---|