[Live-devel] MediaSession.cpp patch suggestion
Ralf Globisch
RGlobisch at csir.co.za
Fri Oct 31 05:17:01 PDT 2008
Hi Ross,
I'm not sure if there's any reason against this patch,
but since 16-bit PCM audio is always transferred in network byte order,
shouldn't the byte order be swapped again on the client side before the sink receives the data?
Or is there any case where this isn't true?
On the other hand, this change might break existing code bases if "they" do the swapping "manually".
I've attached a patch that automatically inserts your EndianSwap16 filter when a source is created for codec type L16.
(it's the first time I've created one) so I'm not sure if it's in the correct format...
Regards,
Ralf
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MediaSession.cpp.patch
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20081031/cee2a0f2/attachment.ksh>
More information about the live-devel
mailing list