summaryrefslogtreecommitdiff
path: root/src/audio/player.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/player.c')
-rw-r--r--src/audio/player.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/audio/player.c b/src/audio/player.c
index 5b9d0103..07f41f01 100644
--- a/src/audio/player.c
+++ b/src/audio/player.c
@@ -563,3 +563,9 @@ float streamProgress_Player(const iPlayer *d) {
563 } 563 }
564 return 0; 564 return 0;
565} 565}
566
567iString *metadataLabel_Player(const iPlayer *d) {
568 return newFormat_String("%d-bit %s %d Hz", SDL_AUDIO_BITSIZE(d->decoder->inputFormat),
569 SDL_AUDIO_ISFLOAT(d->decoder->inputFormat) ? "float" : "integer",
570 d->spec.freq);
571}