• Takashi Sakamoto's avatar
    ALSA: dice: Support for non SYT-Match sampling clock source mode · 8fc01fc0
    Takashi Sakamoto authored
    This commit allows this driver to handle devices with non SYT-Match
    sampling clock source.
    
    When sampling clock source is SYT-Match mode, devices handle
    'presentation timestamp' in received packets and generates sampling clock
    according to the information. In this case, driver is synchronization master
    and must transfer correct value in SYT field of each packets in outgoing
    stream, then the outgoing stream is a master stream.
    
    On the other hand, non SYT-Match mode, devices do this. So drivers must pick
    up the value in SYT field of incoming packets and use the value for outgoing
    stream. Currently firewire-lib module achieve this work.
    
    Furthermore, without SYT-Match and internal clock source, the sampling rate
    should be fixed for the other devices connected to the handled device. This
    commit add a restriction of sampling rate at this situation.
    
    With these implementations, this driver has no need to set clock source.
    This commit remove set function.
    Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Acked-by: default avatarClemens Ladisch <clemens@ladisch.de>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    8fc01fc0
dice.h 5.43 KB