Go-based FM stereo transmitter with RDS, Windows-first and cross-platform
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

19 行
410B

  1. package ingest
  2. import "context"
  3. type Source interface {
  4. Descriptor() SourceDescriptor
  5. Start(ctx context.Context) error
  6. Stop() error
  7. Chunks() <-chan PCMChunk
  8. Errors() <-chan error
  9. Stats() SourceStats
  10. }
  11. // StreamTitleSource is an optional extension for sources that expose
  12. // title/metadata updates (for example ICY StreamTitle).
  13. type StreamTitleSource interface {
  14. StreamTitleUpdates() <-chan string
  15. }