aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_control.h')
-rw-r--r--src/player_control.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/player_control.h b/src/player_control.h
index b763cc389..5b3c4a5d2 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -154,11 +154,11 @@ void setPlayerSoftwareVolume(int volume);
double getPlayerTotalPlayTime(void);
-unsigned int getPlayerSampleRate(void);
-
-unsigned getPlayerBits(void);
-
-unsigned getPlayerChannels(void);
+static inline const struct audio_format *
+player_get_audio_format(void)
+{
+ return &pc.audio_format;
+}
struct song *
playerCurrentDecodeSong(void);