e3e04c6dcc
it: this reduces package dependencies (dropped audio/libsamplerate and math/fftw3). iPods were identified by a directory timestamp, but it changed each time the ipod was mounted. Instead identify a device by its FirewireGuid.
22 lines
762 B
Plaintext
22 lines
762 B
Plaintext
$OpenBSD: patch-src_Radio_cpp,v 1.2 2011/09/19 12:50:57 dcoppa Exp $
|
|
--- src/Radio.cpp.orig Mon Sep 19 11:46:56 2011
|
|
+++ src/Radio.cpp Mon Sep 19 12:00:00 2011
|
|
@@ -129,8 +129,6 @@ Radio::handshakeReturn( Request* req )
|
|
m_session = handshake->session();
|
|
m_basePath = handshake->basePath();
|
|
|
|
- The::settings().setFingerprintUploadUrl( handshake->fingerprintUploadUrl() );
|
|
-
|
|
setState( State_Handshaken );
|
|
|
|
if ( !m_pendingStation.isEmpty() )
|
|
@@ -652,7 +650,7 @@ Radio::onAudioControllerError( RadioError err,
|
|
}
|
|
else
|
|
{
|
|
- if ( err == Radio_PluginLoadFailed )
|
|
+ if ( err == Radio_PluginLoadFailed || err == Radio_NoSoundcard )
|
|
{
|
|
m_broken = true;
|
|
}
|