aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-10 14:51:22 +0200
committerMax Kellermann <max@duempel.org>2008-10-10 14:51:22 +0200
commit5de7521900285dab2ffa8b9a0af6f883494686b5 (patch)
tree4edb7857ca57684bdb774bbb7c43f4f7b5dab831 /src/player_control.c
parent0b4dfae22e883d376bc44e1e2d78f201d045970b (diff)
downloadmpd-5de7521900285dab2ffa8b9a0af6f883494686b5.tar.gz
mpd-5de7521900285dab2ffa8b9a0af6f883494686b5.tar.xz
mpd-5de7521900285dab2ffa8b9a0af6f883494686b5.zip
player: added player_get_audio_format()
player_get_audio_format() replaces getPlayerSampleRate(), getPlayerBits(), getPlayerChannels().
Diffstat (limited to '')
-rw-r--r--src/player_control.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/player_control.c b/src/player_control.c
index efdab7208..bab119684 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -254,21 +254,6 @@ double getPlayerTotalPlayTime(void)
return pc.totalPlayTime;
}
-unsigned int getPlayerSampleRate(void)
-{
- return pc.audio_format.sample_rate;
-}
-
-unsigned getPlayerBits(void)
-{
- return pc.audio_format.bits;
-}
-
-unsigned getPlayerChannels(void)
-{
- return pc.audio_format.channels;
-}
-
/* this actually creates a dupe of the current metadata */
struct song *
playerCurrentDecodeSong(void)