Return-Path: From: Henryk =?ISO-8859-15?Q?Pl=F6tz?= To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] audio problems with a2play Message-Id: <20041123070621.50569968.henryk@ploetzli.ch> In-Reply-To: <41A2B331.4010001@xmission.com> References: <41A22C0B.4050008@xmission.com> <41A234FA.7020303@xmission.com> <20041123033429.132bf84b.henryk@ploetzli.ch> <41A2B331.4010001@xmission.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Tue__23_Nov_2004_07_06_21_+0100_aeW86bgW=fHFMPJR" Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 23 Nov 2004 07:06:21 +0100 --Signature=_Tue__23_Nov_2004_07_06_21_+0100_aeW86bgW=fHFMPJR Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Moin, Am Mon, 22 Nov 2004 20:49:05 -0700 schrieb Brad Midgley: > Are you saying the problem is in a2play or in hcidump? Both are doing the same wrong thing. > I don't know the "real" mapping between the indexed settings in the > sbc file format and the bitmapped settings/capabilities we use with > the a2dp protocol. It's on page 20 of the A2DP spec where it says, for example, that the first byte of the codec specific information elements for SBC encodes the sampling frequency in the upper half of the byte and the channel mode in the lower half. The first byte that a2play sends for sbc_test_01.sbc (which is 48 kHz mono) is 0x81, so bits 7 (0x80) and 0 (0x01) are set. Bit 7 set means 16 kHz (section 4.3.2.1), bit 0 set means joint stereo (section 4.3.2.2). The correct value for this byte would be 0x18 (bits 4 and 3 set).=20 Similarly the second byte (currently 0x86) should be 0x1a (bits 4, 3 and 1 set). > Are these backwards then? Most of them are, with the notable exception of the allocation_method. --=20 Henryk Pl=F6tz Gr=FC=DFe aus Berlin ~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~ ~ Help Microsoft fight software piracy: Give Linux to a friend today! ~ --Signature=_Tue__23_Nov_2004_07_06_21_+0100_aeW86bgW=fHFMPJR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFBotNjIjWgKE0OA2gRAgNmAJ0cgR3mlTsUJ6FMJ6taEGF9BzduCACaA5+0 HcOh8hZjrn76bNxiohyfTg8= =0p4u -----END PGP SIGNATURE----- --Signature=_Tue__23_Nov_2004_07_06_21_+0100_aeW86bgW=fHFMPJR-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel