CRI ADX
Last Updated: 2024-07-17 10:48 p
|
结构体 | |
struct | CriAtomExConfigForUserPcmOutputTag |
Configuration structure for Atom library initializationStructure used to specify the behavior of the CRI Atom library. It is passed as an argument to the criAtomEx_InitializeForUserPcmOutput function. 更多... | |
struct | CriAtomConfigTag_PC |
Configuration structure used for the initialization of the Atom library 更多... | |
struct | CriAtomExConfigTag_PC |
Configuration structure used for the initialization of the Atom library 更多... | |
宏定义 | |
#define | criAtom_SetDefaultConfig_PC(p_config) |
Assign the default values to the configuration structure used for the library's initialization. 更多... | |
#define | criAtomEx_SetDefaultConfig_PC(p_config) |
Assign the default values to the configuration structure used for the library's initialization. 更多... | |
#define | criAtomEx_SetThreadPriority_PC(prio) criAtom_SetThreadPriority_PC(prio) |
Change the priority of the thread on which runs the server process 更多... | |
#define | criAtomEx_GetThreadPriority_PC() criAtom_GetThreadPriority_PC() |
Get the priority of the thread on which runs the server process 更多... | |
#define | criAtomEx_SetThreadAffinityMask_PC(mask) criAtom_SetThreadAffinityMask_PC(mask) |
Change the affinity mask of the thread on which the server process runs 更多... | |
#define | criAtomEx_GetThreadAffinityMask_PC() criAtom_GetThreadAffinityMask_PC() |
Get the affinity mask of the thread on which runs the server process 更多... | |
#define | criAtomEx_CalculateWorkSizeForUserPcmOutput_PC(config) criAtomEx_CalculateWorkSizeForUserPcmOutput(config) |
Calculate the size of the work buffer required for the user PCM output method 更多... | |
#define | criAtomEx_InitializeForUserPcmOutput_PC(config, work, work_size) criAtomEx_InitializeForUserPcmOutput(config, work, work_size) |
Initialize the user PCM output library 更多... | |
#define | criAtomEx_FinalizeForUserPcmOutput_PC() criAtomEx_FinalizeForUserPcmOutput() |
Finalize the user PCM output library 更多... | |
类型定义 | |
typedef struct CriAtomExConfigForUserPcmOutputTag | CriAtomExConfigForUserPcmOutput |
Configuration structure for Atom library initializationStructure used to specify the behavior of the CRI Atom library. It is passed as an argument to the criAtomEx_InitializeForUserPcmOutput function. 更多... | |
typedef struct CriAtomConfigTag_PC | CriAtomConfig_PC |
Configuration structure used for the initialization of the Atom library 更多... | |
typedef struct CriAtomExConfigTag_PC | CriAtomExConfig_PC |
Configuration structure used for the initialization of the Atom library 更多... | |
函数 | |
CriSint32 | criAtom_CalculateWorkSize_PC (const CriAtomConfig_PC *config) |
Calculate the size of the work buffer required to initialize the library 更多... | |
void | criAtom_Initialize_PC (const CriAtomConfig_PC *config, void *work, CriSint32 work_size) |
Initialize the library 更多... | |
void | criAtom_Finalize_PC (void) |
Finalize the library 更多... | |
void | criAtom_SetThreadPriority_PC (int prio) |
Change the priority of the thread on which runs the server process 更多... | |
int | criAtom_GetThreadPriority_PC (void) |
Get the priority of the thread on which runs the server process 更多... | |
void | criAtom_SetThreadAffinityMask_PC (DWORD_PTR mask) |
Change the affinity mask of the thread on which the server process runs 更多... | |
DWORD_PTR | criAtom_GetThreadAffinityMask_PC (void) |
Get the affinity mask of the thread on which runs the server process 更多... | |
CriSint32 | criAtomEx_CalculateWorkSize_PC (const CriAtomExConfig_PC *config) |
Calculate the size of the work buffer required to initialize the library 更多... | |
void | criAtomEx_Initialize_PC (const CriAtomExConfig_PC *config, void *work, CriSint32 work_size) |
Initialize the library 更多... | |
void | criAtomEx_Finalize_PC (void) |
Finalize the library 更多... | |
#define criAtom_SetDefaultConfig_PC | ( | p_config | ) |
Assign the default values to the configuration structure used for the library's initialization.
[out] | p_config | pointer to the configuration structure used for the library's initialization. |
#define criAtomEx_SetDefaultConfig_PC | ( | p_config | ) |
Assign the default values to the configuration structure used for the library's initialization.
[out] | p_config | pointer to the configuration structure used for the library's initialization. |
#define criAtomEx_SetThreadPriority_PC | ( | prio | ) | criAtom_SetThreadPriority_PC(prio) |
Change the priority of the thread on which runs the server process
[in] | prio | thread priority |
#define criAtomEx_GetThreadPriority_PC | ( | ) | criAtom_GetThreadPriority_PC() |
Get the priority of the thread on which runs the server process
#define criAtomEx_SetThreadAffinityMask_PC | ( | mask | ) | criAtom_SetThreadAffinityMask_PC(mask) |
Change the affinity mask of the thread on which the server process runs
[in] | mask | thread affinity mask |
#define criAtomEx_GetThreadAffinityMask_PC | ( | ) | criAtom_GetThreadAffinityMask_PC() |
Get the affinity mask of the thread on which runs the server process
#define criAtomEx_CalculateWorkSizeForUserPcmOutput_PC | ( | config | ) | criAtomEx_CalculateWorkSizeForUserPcmOutput(config) |
Calculate the size of the work buffer required for the user PCM output method
[in] | config | configuration structure for the initialization |
#define criAtomEx_InitializeForUserPcmOutput_PC | ( | config, | |
work, | |||
work_size | |||
) | criAtomEx_InitializeForUserPcmOutput(config, work, work_size) |
Initialize the user PCM output library
[in] | config | configuration structure for the initialization |
[in] | work | work buffer |
[in] | work_size | work buffer size |
#define criAtomEx_FinalizeForUserPcmOutput_PC | ( | ) | criAtomEx_FinalizeForUserPcmOutput() |
Finalize the user PCM output library
Configuration structure for Atom library initializationStructure used to specify the behavior of the CRI Atom library.
It is passed as an argument to the criAtomEx_InitializeForUserPcmOutput function.
typedef struct CriAtomConfigTag_PC CriAtomConfig_PC |
Configuration structure used for the initialization of the Atom library
typedef struct CriAtomExConfigTag_PC CriAtomExConfig_PC |
Configuration structure used for the initialization of the Atom library
CriSint32 criAtom_CalculateWorkSize_PC | ( | const CriAtomConfig_PC * | config | ) |
Calculate the size of the work buffer required to initialize the library
[in] | config | configuration structure for the initialization |
void criAtom_Initialize_PC | ( | const CriAtomConfig_PC * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Initialize the library
[in] | config | initialization configuration structure |
[in] | work | work buffer |
[in] | work_size | work buffer size |
Therefore, if you call this function, do not call the functions listed above.
If call this function, you must always call the criAtom_Finalize_PC function later.
Do not call this function again until you have called the criAtom_Finalize_PC function.
This function is for the low level API.
When using the functions of the AtomEx layer, call criAtomEx_Initialize_PC instead.
void criAtom_Finalize_PC | ( | void | ) |
Finalize the library
Therefore, if you call this function, do not call the functions above.
This function cannot be called before the criAtom_Initialize_PC function is called.
This function is for the low level API.
When using the functions of the AtomEx layer, call criAtomEx_Finalize_PC instead.
void criAtom_SetThreadPriority_PC | ( | int | prio | ) |
Change the priority of the thread on which runs the server process
[in] | prio | thread priority |
int criAtom_GetThreadPriority_PC | ( | void | ) |
Get the priority of the thread on which runs the server process
void criAtom_SetThreadAffinityMask_PC | ( | DWORD_PTR | mask | ) |
Change the affinity mask of the thread on which the server process runs
[in] | mask | thread affinity mask |
DWORD_PTR criAtom_GetThreadAffinityMask_PC | ( | void | ) |
Get the affinity mask of the thread on which runs the server process
CriSint32 criAtomEx_CalculateWorkSize_PC | ( | const CriAtomExConfig_PC * | config | ) |
Calculate the size of the work buffer required to initialize the library
[in] | config | configuration structure for the initialization |
void criAtomEx_Initialize_PC | ( | const CriAtomExConfig_PC * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Initialize the library
[in] | config | configuration structure for the initialization |
[in] | work | work buffer |
[in] | work_size | work buffer size |
Therefore, if you call this function, do not call the functions listed above.
If you call this function, you must always call the criAtomEx_Finalize_PC function later.
Do not call this function again until you have called the criAtomEx_Finalize_PC function.
void criAtomEx_Finalize_PC | ( | void | ) |
Finalize the library
Therefore, when calling this function, do not call the functions above.
This function cannot be called before the criAtomEx_Initialize_PC function is called.