Advice On Object Variable Change

I'm using the Talkie library to generate sounds for an application running on an ESP32. The sound amplifier has a Left and Right channel attached to Pins 25 and 26 on the board. Things work and I get sound, but the Talkie library instantiates an object that only uses one pin or the other (which can be changed at compile time). The Talkie object has the following public methods and attributes...

class Talkie {
public:
    Talkie();
    Talkie(bool aUseNonInvertedOutputPin, bool aUseInvertedOutputPin);
    void beginPWM(uint8_t aPinPWM); // // To be compatible to Teensy library
    void say(const uint8_t *aWordDataAddress); // Blocking version
    int8_t sayQ(const uint8_t *aWordDataAddress); // Queuing version. Returns free space in FIFO
    void wait(); // wait for sayQ to end
    void stop(); // allow the actual word to end -> only clears the FIFO guarded with cli and sei
    void terminate(); // terminate synthesizer directly
    void resetFIFO();

    void initializeHardware();
    void terminateHardware();
    void doNotUseInvertedOutput(bool aDoNotUseInvertedOutput = true);
    void doNotUseNonInvertedOutput(bool aDoNotUseNonInvertedOutput = true);
    void digitalWriteInvertedOutput(uint8_t aValue);
    void digitalWriteNonInvertedOutput(uint8_t aValue);

    // Output pins to use. 0xFF -> Enable output (default). 0 -> Disable output.
    uint8_t NonInvertedOutputPin; // Pin number of output, maybe fixed for some boards. On Arduino enables pin 3 (Talkie default) as PWM output. 0xFF -> Enable output (default). 0 -> Disable output.
    uint8_t InvertedOutputPin;    // On Arduino enables pin 11 as inverted PWM output to increase the volume.

    const uint8_t * volatile WordDataPointer; // Pointer to word data array !!! Must be volatile, since it is accessed also by ISR
    uint8_t WordDataBit; // [0-7] bit number of next bit in array bitstream
    volatile bool isTalkingFlag;
    uint8_t getNumberOfWords(); // Returns 0 if nothing to play, otherwise the number of the queued items plus the one which is active.
    bool isTalking();
    uint8_t getBits(uint8_t bits);
    void setPtr(const uint8_t *aAddress);
    void FIFOPushBack(const uint8_t *aAddress); // only sayQ() calls this
    const uint8_t * FIFOPopFront(); // only sayISR() calls this

    volatile uint8_t free; // init on setup = FIFO_BUFFER_SIZE

I don't see any method that would allow me to change the pin after compile and dynamically in the code as needed. But, it does look like the NonInvertedOutputPin and the InvertedOutputPin attributes are publicly changeable at run time. I'm not very knowledgeable about OO, but I'm thinking I should be able to change the Pin used dynamically as this attribute is in the public area of the created object.

Can someone clarify my thinking, and if it's accurate show the code line that should be included to modify the Pin?

Would the following work?

voice.digitalWriteInvertedOutput(uint8_t 25);
and
voice.digitalWriteInvertedOutput(uint8_t 26);

or

voice.NonInvertedOutputPin = 25;
and
voice.NonInvertedOutputPin = 26;

Well, I just coded and found out...

voice.NonInvertedOutputPin = 25;
and
voice.NonInvertedOutputPin = 26;

The above worked just fine. So, guess I figured it out.