• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

What is AEGP_SoundDataH ?

Contributor ,
Oct 02, 2020 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

167

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
community guidelines
Contributor ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines