Audio View Design Overview
The CAudioView class handles all audio recording and playback. Each segment
has its own CAudioView instance. This implies that the CAudioView instances
must coordinate their usage of the audio device. That is, the audio device
is a shared resource among the instances of the CAudioView. The module passes
hints to the CClipView when a clip has been recorded, and receives messages from
the CClipView when the user selects a clip for playback.
The CAudioView class has several UI objects that allow the user to record, playback,
stop, and cancel a recording. The CWave object coordinates all audio activity.
CAudioView USES CVUMeter, CWave, WAVEINCAPS, CWaveInDevice, CRecDlgNotifyObj, and CString.
Coupling and Cohesion
Coupling score: 112 foreign calls = 41.79% overall.
Cohesion score: 7