CC-3133: Enabling hardware audio output causes all playout to fail with Portaudio error in write_stream: Output underflowed

-should be fixed
This commit is contained in:
Martin Konecny 2011-12-02 13:31:52 -05:00
parent 043f0c29a1
commit 6bcd96db88
12 changed files with 52 additions and 32 deletions

View file

@ -341,34 +341,6 @@ def server.rms(~id="",s) =
s
end
# Get the base name of a path.
# Implemented using the corresponding shell command.
# @category System
# @param s Path
def basename(s)
lines = get_process_lines("basename #{quote(s)}")
if list.length(lines) > 0 then
list.hd(lines)
else
# Don't know what to do.. output s
s
end
end
# Get the directory name of a path.
# Implemented using the corresponding shell command.
# @category System
# @param s Path
# @param ~default Value returned in case of error.
def dirname(~default="/nonexistent",s)
lines = get_process_lines("dirname #{quote(s)}")
if list.length(lines) > 0 then
list.hd(lines)
else
default
end
end
# Read some value from standard input (console).
# @category System
# @param ~hide Hide typed characters (for passwords).