How are you measuring the output?
As stated above, with a (very common) H-bridge output, you must not connect one side of the output terminals to the grounded input of an oscilloscope.
If you use a DVM (floating), you will not ground the output (be careful for personal safety), but you still need a load resistor to simulate the loudspeaker.