Okay... Sorry about not posting everything that was needed. I just thought it might have been a problem that was more typical and appeared more commonly when working with both 32-bit and 64-bit operations.
Anyway, for you guys to understand what my code is supposed to do, there are different playlists. You can switch to different playlists, and within those playlists, you can pause, play and go to the next or previous song. You can also raise and lower the volume. If a song is switched within a playlist, the program loads another file onto the sf::Music object that already exists and simply begins to play the sf::Music object again. If a playlist is switched, the current sf::Music object's volume is set to 0, and the next playlist's sf::Music object's volume is raised to the user volume.
All of this worked perfectly on my 32-bit HP. I don't get why it's not working on my new computer. None of the controls are working, and the code is the exact same on both systems. The only other detail that might be important is that for a joypad, I'm using a Dualshock 3 (Playstation controller) with the DS3 tool, which is software to make it act like a joypad.
if (sf::Joystick::isButtonPressed(0, 12)) { //Up button
if (userVolume < 100)
userVolume++;
else
userVolume = 100;
switch (playlist) {
//set current playlist to new user volume
}
//A similar code for the Down button is placed here
if (sf::Joystick::isButtonPressed(0, 13)) { //Right button
switch (playlist) {
//set the current playlist's volume to 0 and the new one to userVolume
}
//A similar code for the Left button is placed here
if (playlist == genre1) { //While the radio station is set to genre1
if (sf::Joystick::isButtonPressed(0, 1)) { //X button
if (genre1Playlist.getStatus() == sf::Music::Playing) {
genre1playlist.pause(); //Pause
}
else{
genre1playlist.play(); //Play or resume
}
}
if (sf::Joystick::isButtonPressed(0, 7)) { //R1 button
if (genre1Number < grenre1Max) {
genre1TrackNumber++;
}
//Reload song and play (Next)
}
//A similar code for the L1 button is placed here.
}
That's it. The code seems fine. I have no idea why this isn't working.