I have been successfully using the command
aplay -D bluealsa:HCI=hci0,DEV=EB:06:BF:19:C2:D3,PROFILE=a2dp Open.wav
to play sound over a BlueTooth device.
HOWEVER after a few hours of trouble free operation, I suddenly started getting the following error message:
Playing WAVE 'Open.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo aplay: set_params:1363: Unable to install hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 44100 PERIOD_TIME: (92879 92880) PERIOD_SIZE: 4096 PERIOD_BYTES: 16384 PERIODS: 5 BUFFER_TIME: (464399 464400) BUFFER_SIZE: 20480 BUFFER_BYTES: 81920 TICK_TIME: 0
If I reboot the R-pi, this goes awy and all is OK again.
What is going wrong and how cn I fix it without rebooting?