Changes in uspace/drv/audio/sb16/dsp.c [a64970e1:09ab0a9a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.c
ra64970e1 r09ab0a9a 1 1 /* 2 * Copyright (c) 2025 Jiri Svoboda3 2 * Copyright (c) 2011 Jan Vesely 4 3 * All rights reserved. … … 75 74 [DSP_READY] = "READY", 76 75 [DSP_NO_BUFFER] = "NO BUFFER", 77 [DSP_QUIESCED] = "QUIESCED"78 76 }; 79 77 if ((size_t)state < ARRAY_SIZE(state_names)) … … 85 83 { 86 84 assert(dsp); 87 if (dsp->state == DSP_QUIESCED)88 return;89 90 85 ddf_log_verbose("Changing state from %s to %s", 91 86 dsp_state_to_str(dsp->state), dsp_state_to_str(state)); … … 235 230 236 231 return ret; 237 }238 239 void sb_dsp_quiesce(sb_dsp_t *dsp)240 {241 dsp->state = DSP_QUIESCED;242 dsp_reset(dsp);243 232 } 244 233
Note:
See TracChangeset
for help on using the changeset viewer.