Browse Source

remove the mixbuffer allocaton in jack_port_get_buffer and just bomb out.

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3891 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.120.1
torben 16 years ago
parent
commit
2f35cebfe3
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libjack/port.c

+ 2
- 3
libjack/port.c View File

@@ -559,9 +559,8 @@ jack_port_get_buffer (jack_port_t *port, jack_nframes_t nframes)
connection process.
*/
if (port->mix_buffer == NULL) {
size_t buffer_size = jack_port_type_buffer_size (port->type_info, nframes);
port->mix_buffer = jack_pool_alloc (buffer_size);
port->fptr.buffer_init (port->mix_buffer, buffer_size, nframes);
jack_error( "internal jack error: mix_buffer not allocated" );
return NULL;
}
port->fptr.mixdown (port, nframes);
return (void *) port->mix_buffer;


Loading…
Cancel
Save