Searched refs:pcmMetaData (Results 1 – 2 of 2) sorted by relevance
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeAac.cpp | 351 SLMetadataInfo pcmMetaData; in DecPlayCallback() member 355 PCM_METADATA_VALUE_SIZE, &u.pcmMetaData); ExitOnError(res); in DecPlayCallback() 360 printf("sample rate = %d\n", *((SLuint32*)u.pcmMetaData.data)); in DecPlayCallback() 362 PCM_METADATA_VALUE_SIZE, &u.pcmMetaData); ExitOnError(res); in DecPlayCallback() 363 printf("channel count = %d\n", *((SLuint32*)u.pcmMetaData.data)); in DecPlayCallback() 365 PCM_METADATA_VALUE_SIZE, &u.pcmMetaData); ExitOnError(res); in DecPlayCallback() 366 printf("bits per sample = %d bits\n", *((SLuint32*)u.pcmMetaData.data)); in DecPlayCallback() 368 PCM_METADATA_VALUE_SIZE, &u.pcmMetaData); ExitOnError(res); in DecPlayCallback() 369 printf("container size = %d bits\n", *((SLuint32*)u.pcmMetaData.data)); in DecPlayCallback() 371 PCM_METADATA_VALUE_SIZE, &u.pcmMetaData); ExitOnError(res); in DecPlayCallback() [all …]
|
D | slesTestDecodeToBuffQueue.cpp | 78 static SLMetadataInfo *pcmMetaData = NULL; variable 247 PCM_METADATA_VALUE_SIZE, pcmMetaData); ExitOnError(res); in DecPlayCallback() 252 fprintf(stdout, "sample rate = %dHz, ", *((SLuint32*)pcmMetaData->data)); in DecPlayCallback() 254 PCM_METADATA_VALUE_SIZE, pcmMetaData); ExitOnError(res); in DecPlayCallback() 255 fprintf(stdout, " channel count = %d\n", *((SLuint32*)pcmMetaData->data)); in DecPlayCallback() 312 if (!pcmMetaData) { in TestDecToBuffQueue() 313 pcmMetaData = (SLMetadataInfo*) malloc(PCM_METADATA_VALUE_SIZE); in TestDecToBuffQueue() 530 free(pcmMetaData); in TestDecToBuffQueue() 531 pcmMetaData = NULL; in TestDecToBuffQueue()
|