Can NPN replace Relay Module

Whandall:
The internal pullup resistor for the up and down inputs is typical 110 k,
so you probably need no interface, you can drive the pins directly from the Arduino.

Given you run the PT2256 with 5V.

This datasheet is a bit more detailed.

so i must set the arduino pins always have high output to keep the volume?