- public void connect(Source source) throws ConnectException {
- checkNotNull(source, "source must not be null");
- checkArgument(source.metadata().encoding().equalsIgnoreCase("PCM"), "source must be PCM-encoded");
+ public void open(Metadata metadata) throws IOException {
+ checkNotNull(metadata, "metadata must not be null");
+ checkArgument(metadata.encoding().equalsIgnoreCase("PCM"), "source must be PCM-encoded");