malc wrote:
> On Mon, 8 Mar 2010, Michael Tokarev wrote:
> 
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572943
> 
> If the OP uses SDL, then it's most likely fixed by
> ff5414990645653bf43bf64adfc1ca77ffb9edcb i've no idea whether kvm
> 0.12.3 includes this though, if not i'm interested in seeing
> -audio-help output.

No, ff5414990645653bf43bf64adfc1ca77ffb9edcb is not in 0.12.3.
Oh well.

Relevant link from the commit:
 http://bugs.gentoo.org/show_bug.cgi?id=294269
(and the commit itself, for example:
http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=ff5414990645653bf43bf64adfc1ca77ffb9edcb
)

It talks about sdl output.  I just tried here with QEMU_AUDIO_DRV=sdl,
and can reproduce it.

In Debian we build with
 --audio-drv-list="alsa oss sdl pa"
so the default should be alsa not sdl.

Christian, can you tell us how you've set it to SDL?  Do
you have $QEMU_AUDIO_DRV set?

Here's my -audio-help output, from the system where I can finally
reproduce the thing... but is it really interesting?  To me it
looks pretty standard...

======== cut ========
Audio options:
  QEMU_AUDIO_DAC_FIXED_SETTINGS: boolean, default = 1
    Use fixed settings for host DAC
  QEMU_AUDIO_DAC_FIXED_FREQ: integer, default = 44100
    Frequency for fixed host DAC
  QEMU_AUDIO_DAC_FIXED_FMT: format, default = S16, (one of: U8 S8 U16 S16 U32 
S32)
    Format for fixed host DAC
  QEMU_AUDIO_DAC_FIXED_CHANNELS: integer, default = 2
    Number of channels for fixed DAC (1 - mono, 2 - stereo)
  QEMU_AUDIO_DAC_VOICES: integer, default = 1
    Number of voices for DAC
  QEMU_AUDIO_DAC_TRY_POLL: boolean, default = 1
    Attempt using poll mode for DAC
  QEMU_AUDIO_ADC_FIXED_SETTINGS: boolean, default = 1
    Use fixed settings for host ADC
  QEMU_AUDIO_ADC_FIXED_FREQ: integer, default = 44100
    Frequency for fixed host ADC
  QEMU_AUDIO_ADC_FIXED_FMT: format, default = S16, (one of: U8 S8 U16 S16 U32 
S32)
    Format for fixed host ADC
  QEMU_AUDIO_ADC_FIXED_CHANNELS: integer, default = 2
    Number of channels for fixed ADC (1 - mono, 2 - stereo)
  QEMU_AUDIO_ADC_VOICES: integer, default = 1
    Number of voices for ADC
  QEMU_AUDIO_ADC_TRY_POLL: boolean, default = 1
    Attempt using poll mode for ADC
  QEMU_AUDIO_TIMER_PERIOD: integer, default = 250
    Timer period in HZ (0 - use lowest possible)
  QEMU_AUDIO_PLIVE: boolean, default = 0
    (undocumented)
  QEMU_AUDIO_LOG_TO_MONITOR: boolean, default = 0
    Print logging messages to monitor instead of stderr

Available drivers:
Name: alsa
Description: ALSA http://www.alsa-project.org
Theoretically supports many playback voices
Theoretically supports many capture voices
Options:
  QEMU_ALSA_DAC_SIZE_IN_USEC: boolean, default = 0
    DAC period/buffer size in microseconds (otherwise in frames)
  QEMU_ALSA_DAC_PERIOD_SIZE: integer, default = 1024
    DAC period size (0 to go with system default)
  QEMU_ALSA_DAC_BUFFER_SIZE: integer, default = 4096
    DAC buffer size (0 to go with system default)
  QEMU_ALSA_ADC_SIZE_IN_USEC: boolean, default = 0
    ADC period/buffer size in microseconds (otherwise in frames)
  QEMU_ALSA_ADC_PERIOD_SIZE: integer, default = 0
    ADC period size (0 to go with system default)
  QEMU_ALSA_ADC_BUFFER_SIZE: integer, default = 0
    ADC buffer size (0 to go with system default)
  QEMU_ALSA_THRESHOLD: integer, default = 0
    (undocumented)
  QEMU_ALSA_DAC_DEV: string, default = default
    DAC device name (for instance dmix)
  QEMU_ALSA_ADC_DEV: string, default = default
    ADC device name
  QEMU_ALSA_VERBOSE: boolean, default = 0
    Behave in a more verbose way

Name: oss
Description: OSS http://www.opensound.com
Theoretically supports many playback voices
Theoretically supports many capture voices
Options:
  QEMU_OSS_FRAGSIZE: integer, default = 4096
    Fragment size in bytes
  QEMU_OSS_NFRAGS: integer, default = 4
    Number of fragments
  QEMU_OSS_MMAP: boolean, default = 0
    Try using memory mapped access
  QEMU_OSS_DAC_DEV: string, default = /dev/dsp
    Path to DAC device
  QEMU_OSS_ADC_DEV: string, default = /dev/dsp
    Path to ADC device
  QEMU_OSS_EXCLUSIVE: boolean, default = 0
    Open device in exclusive mode (vmix wont work)
  QEMU_OSS_DEBUG: boolean, default = 0
    Turn on some debugging messages

Name: sdl
Description: SDL http://www.libsdl.org
One playback voice
Does not support capture
Options:
  QEMU_SDL_SAMPLES: integer, default = 1024
    Size of SDL buffer in samples

Name: pa
Description: http://www.pulseaudio.org/
Theoretically supports many playback voices
Theoretically supports many capture voices
Options:
  QEMU_PA_SAMPLES: integer, default = 1024
    buffer size in samples
  QEMU_PA_DIVISOR: integer, default = 2
    threshold divisor
  QEMU_PA_SERVER: string, default = (not set)
    server address
  QEMU_PA_SINK: string, default = (not set)
    sink device name
  QEMU_PA_SOURCE: string, default = (not set)
    source device name

Name: none
Description: Timer based audio emulation
Theoretically supports many playback voices
Theoretically supports many capture voices
No options

Name: wav
Description: WAV renderer http://wikipedia.org/wiki/WAV
One playback voice
Does not support capture
Options:
  QEMU_WAV_FREQUENCY: integer, default = 44100
    Frequency
  QEMU_WAV_FORMAT: format, default = S16, (one of: U8 S8 U16 S16 U32 S32)
    Format
  QEMU_WAV_DAC_FIXED_CHANNELS: integer, default = 2
    Number of channels (1 - mono, 2 - stereo)
  QEMU_WAV_PATH: string, default = qemu.wav
    Path to wave file

Options are settable through environment variables.
Example:
  export QEMU_AUDIO_DRV=wav
  export QEMU_WAV_PATH=$HOME/tune.wav
(for csh replace export with setenv in the above)
  qemu ...

======== cut ========

Thank you!

/mjt



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to