Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/pcm_iface.c

    r1433ecda rcf78637  
    9292static errno_t hda_get_info_str(ddf_fun_t *fun, const char **name)
    9393{
    94         ddf_msg(LVL_NOTE, "hda_get_info_str()");
     94        ddf_msg(LVL_DEBUG, "hda_get_info_str()");
    9595        if (name)
    9696                *name = "High Definition Audio";
     
    102102        hda_t *hda = fun_to_hda(fun);
    103103
    104         ddf_msg(LVL_NOTE, "hda_query_cap(%d)", cap);
     104        ddf_msg(LVL_DEBUG, "hda_query_cap(%d)", cap);
    105105        switch (cap) {
    106106        case AUDIO_CAP_PLAYBACK:
     
    129129        errno_t rc = EOK;
    130130
    131         ddf_msg(LVL_NOTE, "hda_test_format(%u, %u, %d)\n",
     131        ddf_msg(LVL_DEBUG, "hda_test_format(%u, %u, %d)\n",
    132132            *channels, *rate, *format);
    133133
     
    157157        hda_lock(hda);
    158158
    159         ddf_msg(LVL_NOTE, "hda_get_buffer(): hda=%p", hda);
     159        ddf_msg(LVL_DEBUG, "hda_get_buffer(): hda=%p", hda);
    160160        if (hda->pcm_buffers != NULL) {
    161161                hda_unlock(hda);
     
    163163        }
    164164
    165         ddf_msg(LVL_NOTE, "hda_get_buffer() - allocate stream buffers");
     165        ddf_msg(LVL_DEBUG, "hda_get_buffer() - allocate stream buffers");
    166166        rc = hda_stream_buffers_alloc(hda, &hda->pcm_buffers);
    167167        if (rc != EOK) {
     
    171171        }
    172172
    173         ddf_msg(LVL_NOTE, "hda_get_buffer() - fill info");
     173        ddf_msg(LVL_DEBUG, "hda_get_buffer() - fill info");
    174174        /* XXX This is only one buffer */
    175175        *buffer = hda->pcm_buffers->buf[0];
    176176        *size = hda->pcm_buffers->bufsize * hda->pcm_buffers->nbuffers;
    177177
    178         ddf_msg(LVL_NOTE, "hda_get_buffer() returing EOK, buffer=%p, size=%zu",
     178        ddf_msg(LVL_DEBUG, "hda_get_buffer() returing EOK, buffer=%p, size=%zu",
    179179            *buffer, *size);
    180180
     
    185185static errno_t hda_get_buffer_position(ddf_fun_t *fun, size_t *pos)
    186186{
    187         ddf_msg(LVL_NOTE, "hda_get_buffer_position()");
     187        ddf_msg(LVL_DEBUG, "hda_get_buffer_position()");
    188188        return ENOTSUP;
    189189}
     
    193193        hda_t *hda = fun_to_hda(fun);
    194194
    195         ddf_msg(LVL_NOTE, "hda_set_event_session()");
     195        ddf_msg(LVL_DEBUG, "hda_set_event_session()");
    196196        hda_lock(hda);
    197197        hda->ev_sess = sess;
     
    206206        async_sess_t *sess;
    207207
    208         ddf_msg(LVL_NOTE, "hda_get_event_session()");
     208        ddf_msg(LVL_DEBUG, "hda_get_event_session()");
    209209
    210210        hda_lock(hda);
     
    221221        hda_lock(hda);
    222222
    223         ddf_msg(LVL_NOTE, "hda_release_buffer()");
     223        ddf_msg(LVL_DEBUG, "hda_release_buffer()");
    224224        if (hda->pcm_buffers == NULL) {
    225225                hda_unlock(hda);
     
    240240        errno_t rc;
    241241
    242         ddf_msg(LVL_NOTE, "hda_start_playback()");
     242        ddf_msg(LVL_DEBUG, "hda_start_playback()");
    243243        hda_lock(hda);
    244244
     
    279279        hda_t *hda = fun_to_hda(fun);
    280280
    281         ddf_msg(LVL_NOTE, "hda_stop_playback()");
     281        ddf_msg(LVL_DEBUG, "hda_stop_playback()");
    282282        hda_lock(hda);
    283283        hda_stream_stop(hda->pcm_stream);
     
    299299        errno_t rc;
    300300
    301         ddf_msg(LVL_NOTE, "hda_start_capture()");
     301        ddf_msg(LVL_DEBUG, "hda_start_capture()");
    302302        hda_lock(hda);
    303303
     
    312312        fmt = (fmt_base_44khz << fmt_base) | (fmt_bits_16 << fmt_bits_l) | 1;
    313313
    314         ddf_msg(LVL_NOTE, "hda_start_capture() - create input stream");
     314        ddf_msg(LVL_DEBUG, "hda_start_capture() - create input stream");
    315315        hda->pcm_stream = hda_stream_create(hda, sdir_input, hda->pcm_buffers,
    316316            fmt);
     
    338338        hda_t *hda = fun_to_hda(fun);
    339339
    340         ddf_msg(LVL_NOTE, "hda_stop_capture()");
     340        ddf_msg(LVL_DEBUG, "hda_stop_capture()");
    341341        hda_lock(hda);
    342342        hda_stream_stop(hda->pcm_stream);
Note: See TracChangeset for help on using the changeset viewer.