这篇教程C++ AUD_JackDevice类代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中AUD_JackDevice类的典型用法代码示例。如果您正苦于以下问题:C++ AUD_JackDevice类的具体用法?C++ AUD_JackDevice怎么用?C++ AUD_JackDevice使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。 在下文中一共展示了AUD_JackDevice类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: AUD_setSyncCallbackvoid AUD_setSyncCallback(AUD_syncFunction function, void *data){ AUD_JackDevice *device = dynamic_cast<AUD_JackDevice *>(AUD_device.get()); if (device) { device->setSyncCallback(function, data); }}
开发者ID:Andrewson3D,项目名称:blender-for-vray,代码行数:7,
示例2: AUD_stopPlaybackvoid AUD_stopPlayback(){#ifdef WITH_JACK AUD_JackDevice* device = dynamic_cast<AUD_JackDevice*>(AUD_device.get()); if(device) device->stopPlayback();#endif}
开发者ID:HVisionSensing,项目名称:blendocv,代码行数:8,
示例3: AUD_doesPlaybackint AUD_doesPlayback(){#ifdef WITH_JACK AUD_JackDevice* device = dynamic_cast<AUD_JackDevice*>(AUD_device.get()); if(device) return device->doesPlayback();#endif return -1;}
开发者ID:HVisionSensing,项目名称:blendocv,代码行数:9,
示例4: AUD_playSynchronizervoid AUD_playSynchronizer(){#ifdef WITH_JACK AUD_JackDevice *device = dynamic_cast<AUD_JackDevice *>(AUD_device.get()); if (device) { device->startPlayback(); }#endif}
开发者ID:eirikhex,项目名称:blender,代码行数:9,
示例5: AUD_isSynchronizerPlayingint AUD_isSynchronizerPlaying(){#ifdef WITH_JACK AUD_JackDevice *device = dynamic_cast<AUD_JackDevice *>(AUD_device.get()); if (device) { return device->doesPlayback(); }#endif return -1;}
开发者ID:eirikhex,项目名称:blender,代码行数:10,
示例6: AUD_getSequencerPositionfloat AUD_getSequencerPosition(AUD_Handle* handle){#ifdef WITH_JACK AUD_JackDevice* device = dynamic_cast<AUD_JackDevice*>(AUD_device.get()); if(device) return device->getPlaybackPosition(); else#endif { assert(handle); return (*handle)->getPosition(); }}
开发者ID:HVisionSensing,项目名称:blendocv,代码行数:13,
示例7: AUD_seekSequencervoid AUD_seekSequencer(AUD_Handle* handle, float time){#ifdef WITH_JACK AUD_JackDevice* device = dynamic_cast<AUD_JackDevice*>(AUD_device.get()); if(device) device->seekPlayback(time); else#endif { assert(handle); (*handle)->seek(time); }}
开发者ID:HVisionSensing,项目名称:blendocv,代码行数:13,
注:本文中的AUD_JackDevice类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ AUD_Reference类代码示例 C++ AStringVector类代码示例 |