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