Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## mci-delete

Arguments: (device mci-device) &key from to notify-p wait-p

Deletes all or part of the recorded sound in an `mci-wave-audio` device. When from and to are both `nil`, this deletes the entire recording, which allows mci-set-wave-options to again be called on the wave device before recording to it again.

When either from or to is non-`nil`, it should be an integer indicating a position in the recording. The value depends on the current time format of the device; see mci-device-set-time-format and tmsf-to-integer. Typically a value to pass here was obtained by calling mci-device-position when playback was paused at some position of interest. Specifying such positions for both from and to allows editing out a small (or large) section of an audio recording.

device is an `mci-wave-audio` instance. If wait-p is true, then this function does not return until the operation is complete; otherwise the function returns immediately and the operation is performed asynchronously. If notify-p is true, then mci-notify is called when the operation has completed.

See the sample recording session at mci-record for more information.

See cg-mci.htm for information about MCI support in Common Graphics.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version