Skip to content

Commit

Permalink
ao: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jul 27, 2016
1 parent c5aacb5 commit ef2130b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/QtAV/AudioOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class Q_AV_EXPORT AudioOutput : public QObject, public AVOutput
public:
/*!
* \brief DeviceFeature Feature enum
* features supported by the audio playback api (we call device or backend here)
* Features supported by the audio playback api (we call device or backend here)
* If a feature is not supported, e.g. SetVolume, then a software implemention is used.
*/
enum DeviceFeature {
NoFeature = 0,
Expand Down
2 changes: 1 addition & 1 deletion src/output/audio/AudioOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ void AudioOutput::pause(bool value)
// backend pause? Without backend pause, the buffered data will be played
}

bool AudioOutput::isPaused()
bool AudioOutput::isPaused() const
{
return d_func().paused;
}
Expand Down

0 comments on commit ef2130b

Please sign in to comment.