Repository navigation
remove plughw in alsabat test - #554
Conversation
|
Sorry I don't understand why the number of channels is hardcoded for playback but not for capture. I also find the code comment not visible enough, I think a |
This script is for sof playback test, as our sof doesn't support 1 channel(mono wav) playback, so I set the channel number to 2. Since we use different USB sound cards in CI, old USB sound cards only support 1 channel capture and new USB sound cards support 2 channels, so I set the channel number of capture as an option( -C ), we can specify it in the alsabat-playback.csv file for each platform. |
3ac8dbc to
224b457
Compare
aiChaoSONG
left a comment
There was a problem hiding this comment.
some usb card now support stereo channel, thanks for the fix.
|
@keqiaozhang Need to take care nocodec platforms, they do not use USB loopback. |
|
SOFCI TEST |
224b457 to
445b5f2
Compare
Add channel and rate options support in alsabat test and remove use of plughw to run alsabat test at hw level w/o any conversions done by alsa-lib. Signed-off-by: Zhang Keqiao <keqiao.zhang@linux.intel.com>
|
The failure on APL_NOCODEC is not caused by this PR, but need to fine tune. |
Add channel and rate options support in alsabat test and
remove use of plughw to run alsabat test at hw level w/o
any conversions done by alsa-lib.
Signed-off-by: Zhang Keqiao keqiao.zhang@linux.intel.com