Return any error string during initialization
| 55 | |
| 56 | // Return any error string during initialization |
| 57 | std::string QtPlayer::GetError() { |
| 58 | if (reader && threads_started) { |
| 59 | return p->audioPlayback->getError(); |
| 60 | } else { |
| 61 | return ""; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | // Return the default audio sample rate (from the system) |
| 66 | double QtPlayer::GetDefaultSampleRate() { |