mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 16:48:52 +02:00
parse sample format in Android
This commit is contained in:
parent
f0a71a9e94
commit
baf5a7af3b
2 changed files with 2 additions and 3 deletions
|
@ -352,7 +352,7 @@ public class MainActivity extends AppCompatActivity implements GroupItem.GroupIt
|
|||
@Override
|
||||
public void onLog(SnapclientService snapclientService, String timestamp, String logClass, String msg) {
|
||||
Log.d(TAG, "[" + logClass + "] " + msg);
|
||||
if ("state".equals(logClass)) {
|
||||
if ("Notice".equals(logClass)) {
|
||||
if (msg.startsWith("sampleformat")) {
|
||||
msg = msg.substring(msg.indexOf(":") + 2);
|
||||
Log.d(TAG, "sampleformat: " + msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue