Highlighted

What is AEGP_SoundDataH ?

Explorer ,
Oct 02, 2020

Copy link to clipboard

Copied

I have an audio render request using AEGP. All my calls are successful. Now.. what?

There is no info on this opaque structure - AEGP_SoundDataH

A stereo float audio stream will have a stream of floats for the duration and another stream of floats.

Do I just cast this to float and hope that its raw audio as a sequence of floats ?

 

A_Time start_timeT ;
ERR(suites.CompSuite4()->AEGP_GetCompDisplayStartTime(compH, &start_timeT));

A_Time durationT ;
ERR(suites.ItemSuite6()->AEGP_GetItemDuration(comp_itemH, &durationT));

AEGP_SoundDataH sound_dataH;
AEGP_SoundDataFormat sound_format = { 48000, AEGP_SoundEncoding_FLOAT, 4, 2 };
ERR(suites.RenderSuite2()->AEGP_RenderNewItemSoundData(comp_itemH, &start_timeT, &durationT,
&sound_format, NULL, NULL, &sound_dataH));

TOPICS
SDK

Views

46

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

What is AEGP_SoundDataH ?

Explorer ,
Oct 02, 2020

Copy link to clipboard

Copied

I have an audio render request using AEGP. All my calls are successful. Now.. what?

There is no info on this opaque structure - AEGP_SoundDataH

A stereo float audio stream will have a stream of floats for the duration and another stream of floats.

Do I just cast this to float and hope that its raw audio as a sequence of floats ?

 

A_Time start_timeT ;
ERR(suites.CompSuite4()->AEGP_GetCompDisplayStartTime(compH, &start_timeT));

A_Time durationT ;
ERR(suites.ItemSuite6()->AEGP_GetItemDuration(comp_itemH, &durationT));

AEGP_SoundDataH sound_dataH;
AEGP_SoundDataFormat sound_format = { 48000, AEGP_SoundEncoding_FLOAT, 4, 2 };
ERR(suites.RenderSuite2()->AEGP_RenderNewItemSoundData(comp_itemH, &start_timeT, &durationT,
&sound_format, NULL, NULL, &sound_dataH));

TOPICS
SDK

Views

47

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 02, 2020 0
zcream LATEST
Explorer ,
Oct 06, 2020

Copy link to clipboard

Copied

The provided sdk has an example related to the aeio calls. However there is no info related to the aegp Audio. It should be a simple answer for someone within adobe.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 06, 2020 0