author | mickeyl <mickeyl> | 2003-05-07 16:14:40 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-05-07 16:14:40 (UTC) |
commit | 1e9e3371d61cfc404329a8bad51f8b061c1ad73d (patch) (side-by-side diff) | |
tree | ede98f5b571543cef4047c3a33e314ffee91a94c | |
parent | 7c8110d568ac60517916114ac5fc4e850156d4e5 (diff) | |
download | opie-1e9e3371d61cfc404329a8bad51f8b061c1ad73d.zip opie-1e9e3371d61cfc404329a8bad51f8b061c1ad73d.tar.gz opie-1e9e3371d61cfc404329a8bad51f8b061c1ad73d.tar.bz2 |
reenable sounds now that they work on the Z again
-rw-r--r-- | noncore/multimedia/camera/gui/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/camera/gui/mainwindow.cpp b/noncore/multimedia/camera/gui/mainwindow.cpp index 49c7cbf..0854f0d 100644 --- a/noncore/multimedia/camera/gui/mainwindow.cpp +++ b/noncore/multimedia/camera/gui/mainwindow.cpp @@ -455,17 +455,17 @@ void CameraMainWindow::performCapture( const QString& format ) odebug << captureFormat << "-image has been successfully captured" << oendl; Global::statusMessage( "Ok." ); } } void CameraMainWindow::startVideoCapture() { - //ODevice::inst()->touchSound(); + ODevice::inst()->touchSound(); ODevice::inst()->setLedState( Led_Mail, Led_BlinkSlow ); _capturefd = ::open( CAPTUREFILE, O_WRONLY | O_CREAT | O_TRUNC ); if ( _capturefd == -1 ) { owarn << "can't open capture file: " << strerror(errno) << oendl; return; } @@ -497,17 +497,17 @@ void CameraMainWindow::timerEvent( QTimerEvent* ) setCaption( QString().sprintf( "Capturing %dx%d @ %.2f fps %d", captureX, captureY, 1000.0 / (_time.elapsed()/_videopics), _videopics ) ); } void CameraMainWindow::stopVideoCapture() { killTimers(); - //ODevice::inst()->touchSound(); + ODevice::inst()->touchSound(); ODevice::inst()->setLedState( Led_Mail, Led_Off ); _capturing = false; updateCaption(); ::close( _capturefd ); _framerate = 1000.0 / (_time.elapsed()/_videopics); QString name; if ( outputTo == "Documents Folder" ) |