Personally, I would create two processes that are running in memory together. One receives the accelerometer data (however you do that), while the other controls the player (however you do that). When the accelerometer task identifies a gesture, it would fire a user-defined event that causes the player controller task to perform the associated operation.
Mike...
Certified Professional Instructor Certified LabVIEW Architect LabVIEW Champion