Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion include/oboe/AudioStreamBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ class AudioStreamBase {
InputPreset getInputPreset() const { return mInputPreset; }

/**
* @return the stream's session ID allocation strategy (None or Allocate).
* @return the session ID, SessionId::None, or SessionId::Allocate.
* Positive values represent the actual allocated session ID.
*/
SessionId getSessionId() const { return mSessionId; }

Expand Down
2 changes: 2 additions & 0 deletions include/oboe/Definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@ namespace oboe {
/**
* This attribute can be used to allocate a session ID to the audio stream.
*
* Positive values represent the actual allocated session ID.
*
* This attribute only has an effect on Android API 28+.
*/
enum SessionId {
Expand Down
Loading