mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
os: show played times in Audio_out test
The message may be used by a run script to signal successfull testing. Issue #1498.
This commit is contained in:
parent
4b687f4b1a
commit
df04b17594
@ -87,6 +87,7 @@ class Track : Thread<8192>
|
|||||||
for (int i = 0; i < CHN_CNT; ++i)
|
for (int i = 0; i < CHN_CNT; ++i)
|
||||||
_audio_out[i]->start();
|
_audio_out[i]->start();
|
||||||
|
|
||||||
|
unsigned cnt = 0;
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|
||||||
for (size_t offset = 0, cnt = 1;
|
for (size_t offset = 0, cnt = 1;
|
||||||
@ -136,6 +137,8 @@ class Track : Thread<8192>
|
|||||||
for (int i = 0; i < CHN_CNT; i++)
|
for (int i = 0; i < CHN_CNT; i++)
|
||||||
_audio_out[i]->submit(p[i]);
|
_audio_out[i]->submit(p[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PLOG("played '%s' %u time(s)", _file, ++cnt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user