Changeset f3fb83a in mainline
- Timestamp:
- 2012-08-30T16:43:27Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3869c596
- Parents:
- 20d77fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.c
r20d77fb rf3fb83a 66 66 static const char* state_names[] = { 67 67 [DSP_PLAYBACK_ACTIVE_EVENTS] = "PLAYBACK w/ EVENTS", 68 [DSP_CAPTURE_ACTIVE_EVENTS] = "CAPTURE w/ o ACTIVE",69 [DSP_PLAYBACK_NOEVENTS] = "PLAYBACK w/ .EVENTS",68 [DSP_CAPTURE_ACTIVE_EVENTS] = "CAPTURE w/ EVENTS", 69 [DSP_PLAYBACK_NOEVENTS] = "PLAYBACK w/o EVENTS", 70 70 [DSP_CAPTURE_NOEVENTS] = "CAPTURE w/o EVENTS", 71 71 [DSP_PLAYBACK_TERMINATE] = "PLAYBACK TERMINATE", … … 408 408 return ENOTSUP; 409 409 410 /* Client requested regular interrupts */410 /* Client requested regular events */ 411 411 if (frames) { 412 412 if (!dsp->event_session) … … 431 431 #endif 432 432 433 ddf_log_verbose("Playback started, interrupt every %u samples " 434 "(~1/%u sec)", dsp->active.samples, 435 sampling_rate / (dsp->active.samples * channels)); 433 ddf_log_verbose("Playback started, event every %u samples", 434 dsp->active.samples); 436 435 437 436 dsp_change_state(dsp, … … 481 480 return ENOTSUP; 482 481 483 /* client requested regular interrupts */482 /* Client requested regular events */ 484 483 if (frames) { 485 484 if (!dsp->event_session) … … 504 503 #endif 505 504 506 ddf_log_verbose("Recording started started, interrupt every %u samples " 507 "(~1/%u sec)", dsp->active.samples, 508 sampling_rate / (dsp->active.samples * channels)); 505 ddf_log_verbose("Capture started started, event every %u samples", 506 dsp->active.samples); 509 507 dsp_change_state(dsp, 510 508 frames ? DSP_CAPTURE_ACTIVE_EVENTS : DSP_CAPTURE_NOEVENTS);
Note:
See TracChangeset
for help on using the changeset viewer.