If you are making a general purpose line output use a 47-100R resistor as the series resistor, and a coupling capacitor, 100-220uF 25V or so. You cannot be sure that the output will be AC coupled, and might be putting a bias current onto your output. As safety just use a 10-22k resistor after the capacitor to ground.
This has been used by literally millions of amplifiers, all the way from having a 741 as output ( still used these days, though more often a dual clone) to the most common being a TLO74 or clone, or a NE5532 as the opamp.
If single supply the coupling capacitor and resistor afterwards is really needed, you can not be sure the other side is not AC coupled as well, and might object to DC being applied.
If you saw the teardown Mark ( Dexterslab13) did on a Sony Betacam player you will have noticed the output stage for audio had some failed capacitors, and I would guess all of them blew for the same reason, they were connected to a mixing deck input, and somebody turned on phantom power to the input, giving 48VDC to the capacitor in reverse. Simple fix is to use 2 470uF 63V capacitors in series back to back as a coupling capacitor, which will survive that for decades with no problem. Sony did not do that, instead using the single 470uF 35V capacitor instead, and connecting it so positive was on the player side, so it was reverse biased with the accidental application of phantom power.
A rough industry standard ( if such a thing exists) for audio is that you need 1V peak of signal, into a load impedance of 1k. For professional audio it is 0.7VRMS into 600R, so design your output to give either ( they are about the same, just the first is not really controlled in anything other than voltage) but ensure it can drive a 600R load without distortion. That the signal level varies with load impedance is not a worry much, there will be some volume control somewhere in the chain.
Best to design that the clipping level is more than 2VRMS into the 600R load, so the opamp must be able to drive a 600R load with 3VRMS output. If you only have 5V rails, you will not achieve this so try the best you can, using an opamp with rail to rail output capability.