Language Translated Untranslated Untranslated words Checks Suggestions Comments
English This translation is used for source strings. This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 6
Chinese (Simplified) (zh_CN) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 30% 74 1,629 15
Chinese (Traditional) (zh_TW) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876
Dutch (nl_NL) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876
French (fr_FR) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876
German (de_DE) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876
Italian (it_IT) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876
Norwegian Bokmål This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876
Persian This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876
Portuguese (Brazil) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876 1 3
Spanish This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 106 1,876
Turkish (tr_TR) This component is linked to the Documentation/articles/bsdl-gpl repository. BSD-2-Clause 0% 107 1,877
Please sign in to see the alerts.
Project website docs.freebsd.org/en
Translation process
  • Translations can be made directly.
  • Translation suggestions can be made.
  • Only chosen users can contribute.
  • The translation uses bilingual files.
Translation license BSD 2-Clause "Simplified" License
Filemask documentation/content/*/books/arch-handbook/sound/chapter.po
Languages 12
Source strings 107
Source words 1,877
Source characters 14,123
Hosted strings 1,284
Hosted words 22,524
Hosted characters 169,476
`xxxchannel_free()` is called to free up channel resources, for example when the driver is unloaded, and should be implemented if the channel data structures are dynamically allocated or if `sndbuf_alloc()` was not used for buffer allocation.
调用<function>xxxchannel_free()</function>来释放通道资源, 例如当驱动程序卸载时,并且如果通道数据结构是动态分配的,或者 如果不使用<function>sndbuf_alloc()</function>进行缓冲区分配, 则应当实现这个函数。
2 days ago
New contributor 2 days ago
If the driver uses ISA DMA, `sndbuf_isadma()` should be called before performing actions on the device, and will take care of the DMA chip side of things.
如果驱动程序使用ISA DMA,则应当在设备上执行动作前 调用<function>sndbuf_isadma()</function>,并处理DMA芯片一方的 事情。
2 days ago
New contributor 2 days ago
<.> The function returns the possibly adjusted block size. In case the block size is indeed changed, `sndbuf_resize()` should be called to adjust the buffer.
函数返回可能调整过的块大小。如果块大小真的变化了, 这种情况下应当调用<function>sndbuf_resize()</function>调整 缓冲区的大小。
2 days ago
New contributor 2 days ago
static int
xxxchannel_setblocksize(kobj_t obj, void *data, u_int32_t blocksize)
{
struct xxx_chinfo *ch = data;
...
return blocksize; <.>
}
static int
xxxchannel_setspeed(kobj_t obj, void *data, u_int32_t speed)
{
struct xxx_chinfo *ch = data;
...
return speed;
}
2 days ago
New contributor 2 days ago
`xxxchannel_setblocksize()` sets the block size, which is the size of unit transactions between [.filename]#pcm# and the sound driver, and between the sound driver and the device. Typically, this would be the number of bytes transferred before an interrupt occurs. During a transfer, the sound driver should call [.filename]#pcm#'s `chn_intr()` every time this size has been transferred.
<function>xxxchannel_setblocksize()</function>设置块大小, 这是<filename>pcm</filename>与声音驱动程序,以及声音驱动 程序与设备之间的传输单位的大小。传输期间,每次传输这样大小的 数据后,声音驱动程序都应当调用<filename>pcm</filename>的 <function>chn_intr()</function>。
2 days ago
New contributor 2 days ago
Browse all component changes

Daily activity

Daily activity

Weekly activity

Weekly activity