Lines Matching refs:window
63 // default window positioning
249 // Create the window header with controls
1215 RecorderWindow * window = (RecorderWindow *)cookie;
1217 if (window->fRecording) {
1220 window->fRecFile.WriteAt(window->fRecSize, data, size);
1221 window->fVUView->ComputeLevels(data, size, format.u.raw_audio.format);
1222 window->fRecSize += size;
1232 RecorderWindow * window = (RecorderWindow *)cookie;
1233 // Tell the window we've stopped, if it doesn't
1235 window->PostMessage(STOP_RECORDING);
1245 RecorderWindow * window = (RecorderWindow *)cookie;
1246 int32 frame_size = (window->fPlayFormat.u.raw_audio.format & 0xf) *
1247 window->fPlayFormat.u.raw_audio.channel_count;
1249 if ((window->fPlayFrame < window->fPlayLimit) || window->fLooping) {
1250 if (window->fPlayFrame >= window->fPlayLimit) {
1251 bigtime_t left = window->fTrackSlider->LeftTime();
1252 window->fPlayTrack->SeekToTime(&left);
1253 window->fPlayFrame = window->fPlayTrack->CurrentFrame();
1256 window->fPlayTrack->ReadFrames(data, &frames);
1257 window->fVUView->ComputeLevels(data, size / frame_size, format.format);
1258 window->fPlayFrame += size/frame_size;
1259 window->PostMessage(UPDATE_TRACKSLIDER);
1262 window->PostMessage(STOP_PLAYING);
1272 RecorderWindow * window = (RecorderWindow *)cookie;
1273 // tell the window we've stopped, if it doesn't
1275 window->PostMessage(STOP_PLAYING);