Skip to content

Commit

Permalink
oboe: make chanCountToChanMask non-virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Burk authored and dturner committed Feb 12, 2018
1 parent 6d8e3e1 commit c7a2b00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/opensles/AudioInputStreamOpenSLES.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class AudioInputStreamOpenSLES : public AudioStreamOpenSLES {
StreamState *nextState,
int64_t timeoutNanoseconds) override;

int chanCountToChanMask(int chanCount) override;
int chanCountToChanMask(int chanCount);

private:

Result setRecordState(SLuint32 newState);
Expand Down
2 changes: 1 addition & 1 deletion src/opensles/AudioOutputStreamOpenSLES.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class AudioOutputStreamOpenSLES : public AudioStreamOpenSLES {
StreamState *nextState,
int64_t timeoutNanoseconds) override;

int chanCountToChanMask(int chanCount) override;
int chanCountToChanMask(int chanCount);

private:

Expand Down
2 changes: 0 additions & 2 deletions src/opensles/AudioStreamOpenSLES.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ class AudioStreamOpenSLES : public AudioStreamBuffered {

int32_t getFramesPerBurst() override;

virtual int chanCountToChanMask(int chanCount) = 0;

/**
* Process next OpenSL ES buffer.
* Called by by OpenSL ES framework.
Expand Down

0 comments on commit c7a2b00

Please sign in to comment.