SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
audio/jack/patches/patch-tools_netsource_c
Normal file
22
audio/jack/patches/patch-tools_netsource_c
Normal file
|
@ -0,0 +1,22 @@
|
|||
Fix with celt>=0.11
|
||||
|
||||
--- tools/netsource.c.orig Wed Apr 18 13:06:08 2012
|
||||
+++ tools/netsource.c Wed Apr 18 13:06:50 2012
|
||||
@@ -139,7 +139,7 @@ alloc_ports (int n_capture_audio, int n_playback_audio
|
||||
#if HAVE_CELT
|
||||
#if HAVE_CELT_API_0_7 || HAVE_CELT_API_0_8
|
||||
CELTMode *celt_mode = celt_mode_create( jack_get_sample_rate( client ), jack_get_buffer_size(client), NULL );
|
||||
- capture_srcs = jack_slist_append(capture_srcs, celt_decoder_create( celt_mode, 1, NULL ) );
|
||||
+ capture_srcs = jack_slist_append(capture_srcs, celt_decoder_create_custom( celt_mode, 1, NULL ) );
|
||||
#else
|
||||
CELTMode *celt_mode = celt_mode_create( jack_get_sample_rate( client ), 1, jack_get_buffer_size(client), NULL );
|
||||
capture_srcs = jack_slist_append(capture_srcs, celt_decoder_create( celt_mode ) );
|
||||
@@ -182,7 +182,7 @@ alloc_ports (int n_capture_audio, int n_playback_audio
|
||||
#if HAVE_CELT
|
||||
#if HAVE_CELT_API_0_7 || HAVE_CELT_API_0_8
|
||||
CELTMode *celt_mode = celt_mode_create( jack_get_sample_rate (client), jack_get_buffer_size(client), NULL );
|
||||
- playback_srcs = jack_slist_append(playback_srcs, celt_encoder_create( celt_mode, 1, NULL ) );
|
||||
+ playback_srcs = jack_slist_append(playback_srcs, celt_encoder_create_custom( celt_mode, 1, NULL ) );
|
||||
#else
|
||||
CELTMode *celt_mode = celt_mode_create( jack_get_sample_rate (client), 1, jack_get_buffer_size(client), NULL );
|
||||
playback_srcs = jack_slist_append(playback_srcs, celt_encoder_create( celt_mode ) );
|
Loading…
Add table
Add a link
Reference in a new issue