diff options
Diffstat (limited to 'src/player_control.c')
-rw-r--r-- | src/player_control.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/player_control.c b/src/player_control.c index 0339af5de..efdab7208 100644 --- a/src/player_control.c +++ b/src/player_control.c @@ -256,17 +256,17 @@ double getPlayerTotalPlayTime(void) unsigned int getPlayerSampleRate(void) { - return pc.sampleRate; + return pc.audio_format.sample_rate; } -int getPlayerBits(void) +unsigned getPlayerBits(void) { - return pc.bits; + return pc.audio_format.bits; } -int getPlayerChannels(void) +unsigned getPlayerChannels(void) { - return pc.channels; + return pc.audio_format.channels; } /* this actually creates a dupe of the current metadata */ |