Change accessor name for consistency.

This commit is contained in:
François Revol
2012-04-01 09:05:07 +02:00
parent c106a6bc2e
commit 2c3d4bf64a
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ status_t GetServerInfo();
/* */ /* */
bigtime_t GetLatency() const { return fLatency; }; bigtime_t Latency() const { return fLatency; };
const char *Host() const { return fHost.String(); }; const char *Host() const { return fHost.String(); };
uint16 Port() const { return fPort; }; uint16 Port() const { return fPort; };
void GetFriendlyName(BString &name); void GetFriendlyName(BString &name);
@@ -413,7 +413,7 @@ status_t ESDSinkNode::GetLatencyFor(
bigtime_t intl = EventLatency(); bigtime_t intl = EventLatency();
bigtime_t netl = 0LL; bigtime_t netl = 0LL;
if (fDevice) if (fDevice)
netl = fDevice->GetLatency(); netl = fDevice->Latency();
// I don't want to swap // I don't want to swap
if (netl > 500000) if (netl > 500000)
netl = 500000; netl = 500000;