Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
jack
jack-celt-build-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jack-celt-build-fix.diff of Package jack
--- common/JackNetOneDriver.cpp | 6 +++--- common/netjack_packet.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) Index: common/netjack_packet.c =================================================================== --- common/netjack_packet.c.orig 2011-03-30 17:04:07.000000000 +0200 +++ common/netjack_packet.c 2011-05-20 02:51:05.881970061 +0200 @@ -1372,9 +1372,9 @@ render_payload_to_jack_ports_celt (void celt_decode_float( decoder, packet_bufX, net_period_down, buf, nframes ); #else if( !packet_payload ) - celt_decode_float( decoder, NULL, net_period_down, buf ); + celt_decode_float( decoder, NULL, net_period_down, buf, 1 ); else - celt_decode_float( decoder, packet_bufX, net_period_down, buf ); + celt_decode_float( decoder, packet_bufX, net_period_down, buf, 1 ); #endif src_node = jack_slist_next (src_node); @@ -1420,7 +1420,7 @@ render_jack_ports_to_payload_celt (JSLis #if HAVE_CELT_API_0_8 || HAVE_CELT_API_0_11 encoded_bytes = celt_encode_float( encoder, floatbuf, nframes, packet_bufX, net_period_up ); #else - encoded_bytes = celt_encode_float( encoder, floatbuf, NULL, packet_bufX, net_period_up ); + encoded_bytes = celt_encode_float( encoder, floatbuf, 1, packet_bufX, net_period_up ); #endif if( encoded_bytes != net_period_up ) printf( "something in celt changed. netjack needs to be changed to handle this.\n" ); Index: common/JackNetOneDriver.cpp =================================================================== --- common/JackNetOneDriver.cpp.orig 2011-03-30 17:04:07.000000000 +0200 +++ common/JackNetOneDriver.cpp 2011-05-20 02:54:39.549969965 +0200 @@ -709,9 +709,9 @@ namespace Jack celt_decode_float( decoder, packet_bufX, net_period_down, buf, nframes ); #else if( !packet_payload ) - celt_decode_float( decoder, NULL, net_period_down, buf ); + celt_decode_float( decoder, NULL, net_period_down, buf, 1 ); else - celt_decode_float( decoder, packet_bufX, net_period_down, buf ); + celt_decode_float( decoder, packet_bufX, net_period_down, buf, 1 ); #endif src_node = jack_slist_next (src_node); @@ -761,7 +761,7 @@ namespace Jack #if HAVE_CELT_API_0_8 || HAVE_CELT_API_0_11 encoded_bytes = celt_encode_float( encoder, floatbuf, nframes, packet_bufX, net_period_up ); #else - encoded_bytes = celt_encode_float( encoder, floatbuf, NULL, packet_bufX, net_period_up ); + encoded_bytes = celt_encode_float( encoder, floatbuf, 1, packet_bufX, net_period_up ); #endif if( encoded_bytes != (int)net_period_up ) jack_error( "something in celt changed. netjack needs to be changed to handle this." );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor