mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-14 06:59:54 -05:00
Fix endianess of PMac driver
Fix endianess of PMac driver for the latest change of dmix. Now need to specify the (big-endian) format explicitly.
This commit is contained in:
parent
dee6f010b7
commit
841ca34917
3 changed files with 44 additions and 10 deletions
38
src/conf/cards/PMac.conf
Normal file
38
src/conf/cards/PMac.conf
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#
|
||||
# Configuration for PMac
|
||||
#
|
||||
|
||||
<confdir:pcm/front.conf>
|
||||
|
||||
PMac.pcm.front.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
}
|
||||
|
||||
# default with dmix/dsnoop
|
||||
PMac.pcm.default {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type asym
|
||||
playback.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
@func concat
|
||||
strings [ "dmix:CARD=" $CARD ",FORMAT=S16" ]
|
||||
}
|
||||
}
|
||||
capture.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
@func concat
|
||||
strings [ "dsnoop:CARD=" $CARD ",FORMAT=S16" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue