author | mickeyl <mickeyl> | 2005-05-09 10:39:17 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-05-09 10:39:17 (UTC) |
commit | beafdf6f2550f14bf8b6a37a25fe3224c887a42d (patch) (unidiff) | |
tree | d8dc0249d4b2f148e9d6ad24d25b1df8ddd8ec3f /libopie2/opiemm/osoundsystem.cpp | |
parent | ea889d21f3b5bf846ff20a6fad9a756108a28ad7 (diff) | |
download | opie-beafdf6f2550f14bf8b6a37a25fe3224c887a42d.zip opie-beafdf6f2550f14bf8b6a37a25fe3224c887a42d.tar.gz opie-beafdf6f2550f14bf8b6a37a25fe3224c887a42d.tar.bz2 |
remove bogus comment
Diffstat (limited to 'libopie2/opiemm/osoundsystem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiemm/osoundsystem.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libopie2/opiemm/osoundsystem.cpp b/libopie2/opiemm/osoundsystem.cpp index 6c03203..2956682 100644 --- a/libopie2/opiemm/osoundsystem.cpp +++ b/libopie2/opiemm/osoundsystem.cpp | |||
@@ -49,28 +49,24 @@ using namespace Opie::MM; | |||
49 | *======================================================================================*/ | 49 | *======================================================================================*/ |
50 | 50 | ||
51 | OSoundSystem* OSoundSystem::_instance = 0; | 51 | OSoundSystem* OSoundSystem::_instance = 0; |
52 | 52 | ||
53 | OSoundSystem::OSoundSystem() | 53 | OSoundSystem::OSoundSystem() |
54 | { | 54 | { |
55 | odebug << "OSoundSystem::OSoundSystem()" << oendl; | 55 | odebug << "OSoundSystem::OSoundSystem()" << oendl; |
56 | synchronize(); | 56 | synchronize(); |
57 | } | 57 | } |
58 | 58 | ||
59 | void OSoundSystem::synchronize() | 59 | void OSoundSystem::synchronize() |
60 | { | 60 | { |
61 | // gather available interfaces by inspecting /dev | ||
62 | //FIXME: we could use SIOCGIFCONF here, but we aren't interested in virtual (e.g. eth0:0) devices | ||
63 | //FIXME: Use SIOCGIFCONF anway, because we can disable listing of aliased devices | ||
64 | |||
65 | _interfaces.clear(); | 61 | _interfaces.clear(); |
66 | _interfaces.insert( "soundcard", new OSoundCard( this, "soundcard" ) ); | 62 | _interfaces.insert( "soundcard", new OSoundCard( this, "soundcard" ) ); |
67 | 63 | ||
68 | /* | 64 | /* |
69 | 65 | ||
70 | QString str; | 66 | QString str; |
71 | QFile f( "/dev/sound" ); | 67 | QFile f( "/dev/sound" ); |
72 | bool hasFile = f.open( IO_ReadOnly ); | 68 | bool hasFile = f.open( IO_ReadOnly ); |
73 | if ( !hasFile ) | 69 | if ( !hasFile ) |
74 | { | 70 | { |
75 | odebug << "OSoundSystem: /dev/sound not existing. No sound devices available" << oendl; | 71 | odebug << "OSoundSystem: /dev/sound not existing. No sound devices available" << oendl; |
76 | return; | 72 | return; |