Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/dsp.c

    ra64970e1 r09ab0a9a  
    11/*
    2  * Copyright (c) 2025 Jiri Svoboda
    32 * Copyright (c) 2011 Jan Vesely
    43 * All rights reserved.
     
    7574                [DSP_READY] = "READY",
    7675                [DSP_NO_BUFFER] = "NO BUFFER",
    77                 [DSP_QUIESCED] = "QUIESCED"
    7876        };
    7977        if ((size_t)state < ARRAY_SIZE(state_names))
     
    8583{
    8684        assert(dsp);
    87         if (dsp->state == DSP_QUIESCED)
    88                 return;
    89 
    9085        ddf_log_verbose("Changing state from %s to %s",
    9186            dsp_state_to_str(dsp->state), dsp_state_to_str(state));
     
    235230
    236231        return ret;
    237 }
    238 
    239 void sb_dsp_quiesce(sb_dsp_t *dsp)
    240 {
    241         dsp->state = DSP_QUIESCED;
    242         dsp_reset(dsp);
    243232}
    244233
Note: See TracChangeset for help on using the changeset viewer.