How do I use AC3 codec instead of PCM like mplayer -ac hwac3

Alexander Motin mav at FreeBSD.org
Sun Nov 2 12:07:58 PST 2008


Norikatsu Shigemura wrote:
> 	"Soft PCM volume is enabled." is following?
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>    :
> pcm1: Forcing Soft PCM volume
>    :
> pcm2: Forcing Soft PCM volume
>    :
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> 	I read your hdac_audio_ctl_ossmixer_init(), it looks only
> 	"Forcing" or "Enabling" I can select.  Humm... Do I try to
> 	disable it?

Yes, comment out whole
         /* Declare soft PCM and master volume if needed. */ 

         if (pdevinfo->play >= 0) { 

	...
	}
part.

And disable vchans for pcm1 and pcm2:
sysctl dev.pcm.1.play.vchans=0
sysctl dev.pcm.2.play.vchans=0

-- 
Alexander Motin


More information about the freebsd-multimedia mailing list