Running speaker wires along or near electrical lines is generally not recommended. Electrical lines can emit electromagnetic interference (EMI) and radio frequency interference (RFI), which can potentially disrupt the audio signal traveling through the speaker wires. This interference can lead to audio quality issues such as humming or buzzing sounds.
To maintain optimal audio quality, it's better to run speaker wires separately from electrical lines. If crossing electrical lines is unavoidable, try to do so at a 90-degree angle to minimize interference. Additionally, using shielded speaker wires can offer some protection against interference.
For specific installations and setups, it's advisable to follow local building codes and safety regulations. If you're unsure about how to run your speaker wires, consulting with a professional electrician or a home audio specialist is a good idea. Remember, safe and proper wiring is crucial not only for sound quality but also for the safety of your home theater system.