add xfade and audio to status, remove crossfade no args options
git-svn-id: https://svn.musicpd.org/mpd/trunk@75 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
18
src/player.c
18
src/player.c
@@ -414,3 +414,21 @@ double getPlayerTotalPlayTime() {
|
||||
|
||||
return pc->totalPlayTime+pc->elapsedTime-pc->beginTime;
|
||||
}
|
||||
|
||||
unsigned int getPlayerSampleRate() {
|
||||
PlayerControl * pc = &(getPlayerData()->playerControl);
|
||||
|
||||
return pc->sampleRate;
|
||||
}
|
||||
|
||||
int getPlayerBits() {
|
||||
PlayerControl * pc = &(getPlayerData()->playerControl);
|
||||
|
||||
return pc->bits;
|
||||
}
|
||||
|
||||
int getPlayerChannels() {
|
||||
PlayerControl * pc = &(getPlayerData()->playerControl);
|
||||
|
||||
return pc->channels;
|
||||
}
|
||||
|
Reference in New Issue
Block a user