Notes on next steps
This commit is contained in:
parent
b755370d89
commit
419d045af7
|
@ -150,7 +150,9 @@ HRESULT IAudioSessionEventsOnSessionDisconnected(IAudioSessionEvents* this, Audi
|
|||
printf("\nSession with control interface at %p disconnected.", castInterface->pParentAudioSessionControl);
|
||||
|
||||
// Delete the unused control interface from the array of interfaces
|
||||
|
||||
// It seems like the session is not disconnected generally, instead it is marked as inactive and IAudioSessionEventsOnStateChanged() is called
|
||||
// Seems like the best option would be to have the control interface deleted and released when that is called and then just a confirmation when this function is called
|
||||
// Supposedly releasing the interface in the state change callback should make this unnecessary but just in case I think it is worth doing
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
7
TODO.txt
7
TODO.txt
|
@ -1 +1,6 @@
|
|||
This file keeps track of where I am up to and what the next steps are in this project.
|
||||
This file keeps track of where I am up to and what the next steps are in this project.
|
||||
When an audio session is finished it seems to just have the state changed to expired rather then being marked as disconnected.
|
||||
The session control needs to be removed from the list on session disconnection/expiry.
|
||||
Currently when sessions are created there is a memory out of bounds access error and the program crashes.
|
||||
This was not previosuly happening, it seems to be occuring before the callback to IAudioSessionNotificaiton::OnSessionCreated().
|
||||
|
Loading…
Reference in New Issue