User talk:Speedevil
Line 1: | Line 1: | ||
+ | Some notes on sound. | ||
+ | |||
+ | Edit /etc/asound.conf to add the latter half referring to the real soundcard. | ||
+ | |||
+ | pcm.!default { | ||
+ | type pulse | ||
+ | hint { | ||
+ | description "PulseAudio (default)" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | ctl.!default { | ||
+ | type pulse | ||
+ | hint { | ||
+ | description "PulseAudio (default)" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | pcm.real { | ||
+ | type hw | ||
+ | card 0 | ||
+ | } | ||
+ | |||
+ | ctl.real { | ||
+ | type hw | ||
+ | card 0 | ||
+ | } | ||
+ | |||
+ | Play sound through the media player with headphones. | ||
+ | alsactl -f headphonestate store 0 | ||
+ | |||
+ | stop media player. | ||
+ | |||
+ | Kill pulseaudio. | ||
+ | |||
+ | stop pulseaudio | ||
+ | |||
+ | Now, you can do | ||
+ | |||
+ | aplay audiodump.wav -D real | ||
+ | |||
<imagemap> | <imagemap> | ||
Image:JoshuaReynoldsParty.jpg|thumb|center|400px|alt=Dining room with nine men seated around a table. The dinner has been finished, and a large man at the head talks and gesticulates while the others eagerly listen. The men wear wigs and clothing of late 18th century Britain, and the furniture, hangings, and chandelier are of similar vintage. A liveried servant is entering with a tray bearing two high-shouldered decanters of wine.|Image map example. Clicking on a person in the picture causes the browser to load the appropriate article. | Image:JoshuaReynoldsParty.jpg|thumb|center|400px|alt=Dining room with nine men seated around a table. The dinner has been finished, and a large man at the head talks and gesticulates while the others eagerly listen. The men wear wigs and clothing of late 18th century Britain, and the furniture, hangings, and chandelier are of similar vintage. A liveried servant is entering with a tray bearing two high-shouldered decanters of wine.|Image map example. Clicking on a person in the picture causes the browser to load the appropriate article. |
Revision as of 12:43, 16 June 2010
Some notes on sound.
Edit /etc/asound.conf to add the latter half referring to the real soundcard.
pcm.!default { type pulse hint { description "PulseAudio (default)" } }
ctl.!default { type pulse hint { description "PulseAudio (default)" } }
pcm.real { type hw card 0 }
ctl.real { type hw card 0 }
Play sound through the media player with headphones.
alsactl -f headphonestate store 0
stop media player.
Kill pulseaudio.
stop pulseaudio
Now, you can do
aplay audiodump.wav -D real