A couple of new versions have been posted since the last entry. It’s got some pull requests and a new option to retry the network connection.
Added support for some lower sample rates, stereo/mono, and the ability choose the buffer size on the client-side.
Github link for the client: https://github.com/kaytat/SimpleProtocolPlayer
Github link for the Windows server: https://github.com/kaytat/SimpleProtocolServer
I showed the app to a coworker of mine and he promptly crashed it. There were some issues with lingering unresolved network addresses when the start and stop buttons were repeatedly pressed in rapid succession.
So that has been fixed and I’ve also added the ability remember the last 4 IP addresses used.
Published a new version of SPP: https://play.google.com/store/apps/details?id=com.kaytat.simpleprotocolplayer
This version adds audio ducking so that the streaming continues even if there some phone notification, like a text message.
I have posted a simple protocol server for Windows on GitHub: https://github.com/kaytat/SimpleProtocolServer
There is more technical info in the README of that project.
The server will probably require a little configuration from the user. The reason is the WSAPI loopback used for capture does not allow for programmatically changing the sampling rate. Since the SPP player requires a certain format, the user will have to set the properties of the playback device to match.
Here are the steps to do so for a Win7 machine. First open up the “Playback devices” from the system tray.
Choose the “Properties” button of the sound card being used:
Choose the format the best fits SPP. SPP defaults to 16bit 44.1kHz, but it will also support 16bit 48kHz.
A corresponding update to SPP has been posted on the Play Store that adds an option to choose either 44.1kHz or 48kHz for the sampling rate.