GetChannel
函数功能
获取指定Stream的通道号。
函数原型
APP_ERROR AscendStream::GetChannel(int* channelId);
参数说明
| 参数名 | 输入/输出 | 说明 | 
|---|---|---|
| channelId | 输出 | Stream对应的通道号指针。 | 
返回参数说明
| 数据结构 | 说明 | 
|---|---|
| APP_ERROR | 程序执行返回的错误码,请参考APP_ERROR说明。 | 
父主题: AscendStream
获取指定Stream的通道号。
APP_ERROR AscendStream::GetChannel(int* channelId);
| 参数名 | 输入/输出 | 说明 | 
|---|---|---|
| channelId | 输出 | Stream对应的通道号指针。 | 
| 数据结构 | 说明 | 
|---|---|
| APP_ERROR | 程序执行返回的错误码,请参考APP_ERROR说明。 |