OSDN Git Service

AVRCP: respond with UINT32_MAX if duration is not available
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 17 Oct 2011 20:34:29 +0000 (18:34 -0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Oct 2011 07:25:46 +0000 (10:25 +0300)
commit464c36f7d80bdee7b7949f0746ecb584303f8e8d
treeeb85a938910eff1d6f1c1c9aeb2e41242f029167
parent2c920f6d6845bb97c1e9d5adff420dc92b660c0e
AVRCP: respond with UINT32_MAX if duration is not available

Section 5.4.1 of AVRCP 1.3 spec says:

If TG does not support SongLength And SongPosition on TG, then TG shall
return 0xFFFFFFFF.

SongPosition is always available, but song length depends on user to
provied it.
audio/avrcp.c