ALT Linux Bugzilla
– Attachment 3526 Details for
Bug 20001
Устройство сидирома удерживается в открытом состоянии
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Закрытие устройства сидирома после прочтения списка треков с него.
soundkonverter-close-device.patch (text/plain), 1.23 KB, created by
Michael A. Kangin
on 2009-05-11 16:58:29 MSD
(
hide
)
Description:
Закрытие устройства сидирома после прочтения списка треков с него.
Filename:
MIME Type:
Creator:
Michael A. Kangin
Created:
2009-05-11 16:58:29 MSD
Size:
1.23 KB
patch
obsolete
>Files soundkonverter-0.3.9.orig/src/.paranoia.cpp.swp and soundkonverter-0.3.9/src/.paranoia.cpp.swp differ >diff -urN soundkonverter-0.3.9.orig/src/cdmanager.cpp soundkonverter-0.3.9/src/cdmanager.cpp >--- soundkonverter-0.3.9.orig/src/cdmanager.cpp 2009-05-11 16:11:17 +0400 >+++ soundkonverter-0.3.9/src/cdmanager.cpp 2009-05-11 16:22:00 +0400 >@@ -99,6 +99,7 @@ > } > } > delete cddb; >+ para->discClose(); > } > else { > KMessageBox::information( 0, i18n("No audio CD found."), i18n("Warning") ); >diff -urN soundkonverter-0.3.9.orig/src/paranoia.cpp soundkonverter-0.3.9/src/paranoia.cpp >--- soundkonverter-0.3.9.orig/src/paranoia.cpp 2009-05-11 16:11:17 +0400 >+++ soundkonverter-0.3.9/src/paranoia.cpp 2009-05-11 16:20:08 +0400 >@@ -250,6 +250,10 @@ > } > > >+int Paranoia::discClose() >+{ >+ return cdda_close( d ); >+} > > long Paranoia::getTracks() > { >diff -urN soundkonverter-0.3.9.orig/src/paranoia.h soundkonverter-0.3.9/src/paranoia.h >--- soundkonverter-0.3.9.orig/src/paranoia.h 2009-05-11 16:11:17 +0400 >+++ soundkonverter-0.3.9/src/paranoia.h 2009-05-11 16:20:16 +0400 >@@ -39,6 +39,7 @@ > int trackFirstSector( int t ); > int discFirstSector(); > int discLastSector(); >+ int discClose(); > > private: > bool findCdrom();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20001
: 3526