Change accessor name for consistency.

This commit is contained in:
François Revol 2012-03-31 17:02:19 +02:00
parent c106a6bc2e
commit 2c3d4bf64a
2 changed files with 2 additions and 2 deletions

View File

@ -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(); };
uint16 Port() const { return fPort; };
void GetFriendlyName(BString &name);

View File

@ -413,7 +413,7 @@ status_t ESDSinkNode::GetLatencyFor(
bigtime_t intl = EventLatency();
bigtime_t netl = 0LL;
if (fDevice)
netl = fDevice->GetLatency();
netl = fDevice->Latency();
// I don't want to swap
if (netl > 500000)
netl = 500000;