Go-based FM stereo transmitter with RDS, Windows-first and cross-platform
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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