# isRecording flag in Audio Unit

**URL:** <https://forum.juce.com/t/isrecording-flag-in-audio-unit/2841>\
**Category:** Audio Plugins\
**Created:** [May 16, 2008, 11:17pm UTC](https://forum.juce.com/t/isrecording-flag-in-audio-unit/2841 "2008-05-16T23:17:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asomers](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@asomers](https://forum.juce.com/u/asomers)\
**Post date:** [May 16, 2008, 11:17pm UTC](https://forum.juce.com/t/isrecording-flag-in-audio-unit/2841/1 "2008-05-16T23:17:16Z")

</div>

Hello,

In my AU, it appears that the playhead info flag “isRecording” is always false, even when the transpport is in record. I have tested in AuLab and DP with the same results.

I looked in the wrapper code and it appears that this flag isn’t even built in to the AU spec.

Is this true?

Thanks

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 19, 2008, 11:55am UTC](https://forum.juce.com/t/isrecording-flag-in-audio-unit/2841/2 "2008-05-19T11:55:08Z")

</div>

Last time I looked, I don’t think there was any way of finding out that information in an AU. It works in VSTs and RTAS.

---

<div class="post-metadata">

**Author:** ![bennie](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@bennie](https://forum.juce.com/u/bennie)\
**Post date:** [August 20, 2008, 4:12pm UTC](https://forum.juce.com/t/isrecording-flag-in-audio-unit/2841/3 "2008-08-20T16:12:15Z")

</div>

Hello, this is my first post here although I’ve been using Juce for a little over six months. I’d like to say thank you to Jules for creating such a beautifully well written and easy to use library. Also, thanks to the regulars on this forum who have already helped me out a few times without knowing it.

So, AudioPlayHead::CurrentPositionInfo::isRecording always seems to be false in RTAS plugins, even when the Pro Tools transport is in record. It’s set to false in JucePlugInProcess::getCurrentPosition in the RTAS wrapper and it doesn’t seem to be updated anywhere. Is there something I’m missing?

Thanks,

Bennie Cook

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [August 20, 2008, 11:01pm UTC](https://forum.juce.com/t/isrecording-flag-in-audio-unit/2841/4 "2008-08-20T23:01:03Z")

</div>

Hi, glad you’re enjoying it!

Usually when things like that aren’t implemented, it’s because the plugin format doesn’t support it - I think that’s true in this case too…
