midi_server: fix debug build.
This commit is contained in:
parent
3ca3c8cf96
commit
86e23e81b0
@ -725,7 +725,7 @@ MidiServerApp::_CountApps()
|
|||||||
app_t*
|
app_t*
|
||||||
MidiServerApp::_AppAt(int32 index)
|
MidiServerApp::_AppAt(int32 index)
|
||||||
{
|
{
|
||||||
ASSERT(index >= 0 && index < CountApps())
|
ASSERT(index >= 0 && index < _CountApps())
|
||||||
|
|
||||||
return (app_t*)fApps.ItemAt(index);
|
return (app_t*)fApps.ItemAt(index);
|
||||||
}
|
}
|
||||||
@ -741,7 +741,7 @@ MidiServerApp::_CountEndpoints()
|
|||||||
endpoint_t*
|
endpoint_t*
|
||||||
MidiServerApp::_EndpointAt(int32 index)
|
MidiServerApp::_EndpointAt(int32 index)
|
||||||
{
|
{
|
||||||
ASSERT(index >= 0 && index < CountEndpoints())
|
ASSERT(index >= 0 && index < _CountEndpoints())
|
||||||
|
|
||||||
return (endpoint_t*)fEndpoints.ItemAt(index);
|
return (endpoint_t*)fEndpoints.ItemAt(index);
|
||||||
}
|
}
|
||||||
@ -775,7 +775,7 @@ MidiServerApp::_DumpApps()
|
|||||||
printf("*** START DumpApps\n");
|
printf("*** START DumpApps\n");
|
||||||
|
|
||||||
for (int32 t = 0; t < _CountApps(); ++t) {
|
for (int32 t = 0; t < _CountApps(); ++t) {
|
||||||
app_t* app = AppAt(t);
|
app_t* app = _AppAt(t);
|
||||||
|
|
||||||
printf("\tapp %" B_PRId32 " (%p): team %" B_PRId32 "\n", t, app,
|
printf("\tapp %" B_PRId32 " (%p): team %" B_PRId32 "\n", t, app,
|
||||||
app->messenger.Team());
|
app->messenger.Team());
|
||||||
@ -806,8 +806,8 @@ MidiServerApp::_DumpEndpoints()
|
|||||||
endpoint->port, endpoint->latency);
|
endpoint->port, endpoint->latency);
|
||||||
else {
|
else {
|
||||||
printf("\t\tconnections:\n");
|
printf("\t\tconnections:\n");
|
||||||
for (int32 k = 0; k < CountConnections(endpoint); ++k) {
|
for (int32 k = 0; k < _CountConnections(endpoint); ++k) {
|
||||||
endpoint_t* consumer = ConnectionAt(endpoint, k);
|
endpoint_t* consumer = _ConnectionAt(endpoint, k);
|
||||||
printf("\t\t\tid %" B_PRId32 " (%p)\n", consumer->id, consumer);
|
printf("\t\t\tid %" B_PRId32 " (%p)\n", consumer->id, consumer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user