This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
@@ -0,0 +1,43 @@
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
#pragma once
#include "ChatUserSerializationCommon.h"
#if TV_API
namespace Microsoft {
namespace Xbox {
namespace GameChat {
/*
====================================================================
This class is used to represent a vector of Mwrl::ComPtr<Awxs::IAudioDeviceInfo>
IMPORTANT
Implements IAudioDevices
====================================================================
*/
class ComStyleRemoteAudioDeviceInfos : public Mwrl::RuntimeClass<Awfc::IVectorView<Awxs::IAudioDeviceInfo*>,Mwrl::FtmBase>
{
public:
ComStyleRemoteAudioDeviceInfos();
virtual ~ComStyleRemoteAudioDeviceInfos();
void PushBack( const Mwrl::ComPtr<Awxs::IAudioDeviceInfo>& spIAudioDevice );
// IAudioDevices
HRESULT GetAt( UINT index, Awxs::IAudioDeviceInfo** ppOut );
HRESULT get_Size( UINT* pOut );
HRESULT IndexOf( Awxs::IAudioDeviceInfo* /* pIAudioDevice */, UINT* /* pOutIndex */, boolean* /* pOutFound */ );
private:
std::vector<Mwrl::ComPtr<Awxs::IAudioDeviceInfo>> m_vector;
};
}}}
#endif