Skip to content

Commit

Permalink
aplay: s/Sample/Progress/ in the output. It's all in the details!
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Jul 28, 2019
1 parent 66f8ea9 commit 7356fd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Userland/aplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ int main(int argc, char** argv)
a_conn.handshake();
AWavLoader loader(argv[1]);

printf("\033[34;1mPlaying\033[0m: %s\n", argv[1]);
printf("\033[34;1m Format\033[0m: %u Hz, %u-bit, %s\n",
printf("\033[34;1m Playing\033[0m: %s\n", argv[1]);
printf("\033[34;1m Format\033[0m: %u Hz, %u-bit, %s\n",
loader.sample_rate(),
loader.bits_per_sample(),
loader.num_channels() == 1 ? "Mono" : "Stereo");
printf("\033[34;1m Sample\033[0m: \033[s");
printf("\033[34;1mProgress\033[0m: \033[s");
for (;;) {
auto samples = loader.get_more_samples();
if (!samples)
Expand Down

0 comments on commit 7356fd3

Please sign in to comment.