- int m_nLastFileId; //List ID of played file in listctrl
- wxString m_szFile; //Name of currently playing file/location
-
- wxMediaCtrl* m_mediactrl; //Our media control
- class wxMediaPlayerListCtrl* m_playlist; //Our playlist
- wxSlider* m_slider; //The slider below our media control
- wxSlider* m_pbSlider; //Lower-left slider for adjusting speed
- wxSlider* m_volSlider; //Lower-right slider for adjusting volume
- int m_nLoops; //Number of times media has looped
- bool m_bLoop; //Whether we are looping or not
- bool m_bIsBeingDragged; //Whether the user is dragging the scroll bar
- wxMediaPlayerFrame* m_parentFrame; //Main wxFrame of our sample
- wxButton* m_prevButton; //Go to previous file button
- wxButton* m_playButton; //Play/pause file button
- wxButton* m_stopButton; //Stop playing file button
- wxButton* m_nextButton; //Next file button
- wxButton* m_vdButton; //Volume down button
- wxButton* m_vuButton; //Volume up button
- wxGauge* m_gauge; //Gauge to keep in line with slider
+ int m_nLastFileId; // List ID of played file in listctrl
+ wxString m_szFile; // Name of currently playing file/location
+
+ wxMediaCtrl* m_mediactrl; // Our media control
+ class wxMediaPlayerListCtrl* m_playlist; // Our playlist
+ wxSlider* m_slider; // The slider below our media control
+ wxSlider* m_pbSlider; // Lower-left slider for adjusting speed
+ wxSlider* m_volSlider; // Lower-right slider for adjusting volume
+ int m_nLoops; // Number of times media has looped
+ bool m_bLoop; // Whether we are looping or not
+ bool m_bIsBeingDragged; // Whether the user is dragging the scroll bar
+ wxMediaPlayerFrame* m_parentFrame; // Main wxFrame of our sample
+ wxButton* m_prevButton; // Go to previous file button
+ wxButton* m_playButton; // Play/pause file button
+ wxButton* m_stopButton; // Stop playing file button
+ wxButton* m_nextButton; // Next file button
+ wxButton* m_vdButton; // Volume down button
+ wxButton* m_vuButton; // Volume up button
+ wxGauge* m_gauge; // Gauge to keep in line with slider