Go-based FM stereo transmitter with RDS, Windows-first and cross-platform
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
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. }