Your message dated Mon, 23 Mar 2009 16:55:08 +0100
with message-id <[email protected]>
and subject line Applied
has caused the Debian Bug report #329806,
regarding jackd: disconnecting ports does not clean buffer on writeable client
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
329806: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329806
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jackd
Version: 0.100.0-4
Severity: important

Hello,

I'm using the oss driver of jack. Disconnecting say xmms_0:out_1 from
oss:playback_1 while xmms is playing, the buffer of oss:playback_1 is
not cleaned, which causes some strange ringing noises to occur,
depending on what was being sent by xmms at disconnection time.

On another note, i have made minor modifications to the bash_completion
functions, attached, which protect the functions prepending a _ to them.

cheers, piem


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-powerpc64def
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages jackd depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libjack0.100.0-0              0.100.0-4  JACK Audio Connection Kit (librari
ii  libreadline5                  5.0-11     GNU readline and history libraries
ii  libsndfile1                   1.0.11-1   Library for reading/writing audio 

jackd recommends no packages.

-- no debconf information
#-*- mode: shell-script;-*-
# Inputs:
#   $1 -- name of the command whose arguments are being completed
#   $2 -- word being completed
#   $3 -- word preceding the word being completed
#   $COMP_LINE  -- current command line
#   $COMP_PONT  -- cursor position
#   $COMP_WORDS -- array containing individual words in the current
#                  command line
#   $COMP_CWORD -- index into ${COMP_WORDS} of the word containing the
#                  current cursor position
# Output:
#   COMPREPLY array variable contains possible completions

# Syntax:
#   jack_connect <src_port> <dst_port> 
#   jack_disconnect <src_port> <dst_port> 
#   jackd [options] -d backend [backend-parameters]
#   jackstart [options] -d backend [backend-parameters]

# Bugs/Todo:
#   jack_{dis,}connect should support for spaces in port names
#   restrict jack_disconnect completions to existing connections

# Bugreports: Paul Brossier <[email protected]>

have jack_connect &&
_jack_lsp_type() {
 jack_lsp -p | grep -B1 $1 | \
        grep -v 'properties.*,$' | grep -v ^-- \
                | sed 's/\([\/ :]\)/\\\1/g'
                #| sed 's/\([\\: ]\)/\\\1/g'
                #| sed 's/\(.*\)/"\1"/g'
}

have jackd &&
_jackd_driver_help() {
 jackd -d $1 --help 2> /dev/null | grep - | \
        sed 's/-\(.*\), --\([^\ .]*\) *\(.*\)/-\1 --\2/'
}

have jack_connect &&
_jack_connections() {

        local cur prev output IFS=$'\n'

        COMPREPLY=()
        cur=${COMP_WORDS[COMP_CWORD]}
        prev=${COMP_WORDS[COMP_CWORD-1]}

        # check if this is the first argument
        if [[ "$1" == "$prev" ]]; then
                COMPREPLY=( $( compgen -W "$(_jack_lsp_type output)" -- $cur ) )
        else
                COMPREPLY=( $( compgen -W "$(_jack_lsp_type  input)" -- $cur ) )
        fi

        return 0

}

have jackd &&
_jackd()
{
        local cur prev special

        COMPREPLY=()
        cur=${COMP_WORDS[COMP_CWORD]}
        prev=${COMP_WORDS[COMP_CWORD-1]}

        # check if backend was specified
        for (( i=0; i < ${#comp_wor...@]}-1; i++ )); do
                if [[ ${COMP_WORDS[i]} == @(alsa|dummy|oss|coreaudio|portaudio) 
]]; then
                        special=${COMP_WORDS[i]}
                fi
        done

        # list backends 
        if [[ "$prev" == -d || "$prev" == --driver ]]; then
                COMPREPLY=( $( compgen -W 'alsa dummy oss coreaudio portaudio' 
-- $cur ) )
        # list backend specific options
        elif [ -n "$special" ]; then
                COMPREPLY=( $( compgen -W '`_jackd_driver_help $special` 
--help' -- $cur ) )
        # list common options
        else
                COMPREPLY=( $( compgen -W '--help -h \
                        --driver -d \
                        --realtime -R \
                        --realtime-priority -P \
                        --name -n \
                        --no-mlock -m \
                        --unlock -u \
                        --timeout -t \
                        --port-max -p \
                        --verbose -v \
                        --silent -s \
                        --version -V' -- $cur ) ) 
        fi

        return 0
}

[ "$have" ] && complete -F _jack_connections $filenames jack_connect 
[ "$have" ] && complete -F _jack_connections $filenames jack_disconnect 
[ "$have" ] && complete -F _jackd $filenames jackd
[ "$have" ] && complete -F _jackd $filenames jackstart

--- End Message ---
--- Begin Message ---
Hi!

Your bash completion file is now (and probably has been for a long time)
part of the jackd package.

I guess there is no ringing sound on disconnects anymore, I tried with
jackd-0.116.1-4, and everything was ok. That's why I'm closing this bug,
but feel free to re-open it if you still encounter problems.


Cheerio

-- 
mail: [email protected]      http://adi.thur.de      PGP/GPG: key via keyserver


--- End Message ---

Reply via email to