@ -661,6 +661,30 @@ SRST
( deprecated ) environment variables .
ERST
DEF ( " a u d i o " , HAS_ARG , QEMU_OPTION_audio ,
" - a u d i o [ d r i v e r = ] d r i v e r , m o d e l = v a l u e [ , p r o p [ = v a l u e ] [ , . . . ] ] \n "
" s p e c i f i e s t h e a u d i o b a c k e n d a n d d e v i c e t o u s e ; \n "
" a p a r t f r o m ' m o d e l ' , o p t i o n s a r e t h e s a m e a s f o r - a u d i o d e v . \n "
" u s e ' - a u d i o m o d e l = h e l p ' t o s h o w p o s s i b l e d e v i c e s . \n " ,
QEMU_ARCH_ALL )
SRST
` ` - audio [ driver = ] driver , m o d e l = v a l u e [ , p r o p [ = v a l u e ] [ , . . . ] ] ` `
This option is a shortcut for c o n f i g u r i n g b o t h t h e g u e s t a u d i o
hardware and the host audio backend in one go .
The host backend options are the same as with the corresponding
` ` - audiodev ` ` options below . The guest hardware model can be set with
` ` model = modelname ` ` . Use ` ` model = help ` ` to list the available device
types .
The following two example do exactly t h e s a m e , t o s h o w h o w ` ` - a u d i o ` `
can be used to shorten the command line length :
. . parsed - literal : :
| qemu_system | - audiodev pa , id = pa - device sb16 , audiodev = pa
| qemu_system | - audio pa , model = sb16
ERST
DEF ( " a u d i o d e v " , HAS_ARG , QEMU_OPTION_audiodev ,
" - a u d i o d e v [ d r i v e r = ] d r i v e r , i d = i d [ , p r o p [ = v a l u e ] [ , . . . ] ] \n "
" s p e c i f i e s t h e a u d i o b a c k e n d t o u s e \n "
@ -892,33 +916,6 @@ SRST
` ` qemu . wav ` ` .
ERST
DEF ( " s o u n d h w " , HAS_ARG , QEMU_OPTION_soundhw ,
" - s o u n d h w c 1 , . . . e n a b l e a u d i o s u p p o r t \n "
" a n d o n l y s p e c i f i e d s o u n d c a r d s ( c o m m a s e p a r a t e d l i s t ) \n "
" u s e ' - s o u n d h w h e l p ' t o g e t t h e l i s t o f s u p p o r t e d c a r d s \n "
" u s e ' - s o u n d h w a l l ' t o e n a b l e a l l o f t h e m \n " , QEMU_ARCH_ALL )
SRST
` ` - soundhw card1 [ , card2 , . . . ] or - soundhw all ` `
Enable audio and selected sound hardware . Use ' h e l p ' to print all
available sound hardware . For example :
. . parsed - literal : :
| qemu_system_x86 | - soundhw sb16 , adlib disk . img
| qemu_system_x86 | - soundhw es1370 disk . img
| qemu_system_x86 | - soundhw ac97 disk . img
| qemu_system_x86 | - soundhw hda disk . img
| qemu_system_x86 | - soundhw all disk . img
| qemu_system_x86 | - soundhw help
Note that Linux ' s i 8 1 0 \_ a u d i o O S S k e r n e l ( f o r A C 9 7 ) m o d u l e m i g h t
require manually specifying clocking .
: :
modprobe i810_audio clocking = 48000
ERST
DEF ( " d e v i c e " , HAS_ARG , QEMU_OPTION_device ,
" - d e v i c e d r i v e r [ , p r o p [ = v a l u e ] [ , . . . ] ] \n "
" a d d d e v i c e ( b a s e d o n d r i v e r ) \n "