Get rid of PlayerControl inside the PlayerData struct
It actually increases our image size a small bit and may even hurt performance a very small bit, but makes the code less verbose and easier to manage. I don't see a reason for mpd to ever support playing multiple files at the same time (users can run multiple instances of mpd if they really want to play Zaireeka, but that's such an edge case it's not worth ever supporting in our code). git-svn-id: https://svn.musicpd.org/mpd/trunk@7352 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -432,7 +432,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
openVolumeDevice();
|
||||
decoderInit(&getPlayerData()->decoderControl);
|
||||
playerInit(&getPlayerData()->playerControl);
|
||||
playerInit();
|
||||
read_state_file();
|
||||
|
||||
while (COMMAND_RETURN_KILL != doIOForInterfaces() &&
|
||||
|
||||
Reference in New Issue
Block a user