Skip to content

Commit 411cadc

Browse files
committed
Renamed SwiftAudioFileConverter namespace to AudioFileConverter to avoid conflict with module name
1 parent 0cde714 commit 411cadc

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// SwiftAudioFileConverter+ExtAudioFile.swift
2+
// AudioFileConverter+ExtAudioFile.swift
33
// SwiftAudioFileConverter
44
//
55
// Created by Devin Roth on 2025-04-03.
@@ -8,7 +8,7 @@
88
import AudioToolbox
99
import Foundation
1010

11-
extension SwiftAudioFileConverter {
11+
extension AudioFileConverter {
1212
// MARK: - Core conversion using AudioToolbox
1313

1414
@concurrent nonisolated static func performExtAudioFileConversion(
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// SwiftAudioFileConverter+FLAC.swift
2+
// AudioFileConverter+FLAC.swift
33
// SwiftAudioFileConverter
44
//
55
// Created by Devin Roth on 2025-04-03.
@@ -9,7 +9,7 @@ import AudioToolbox
99
import FLAC
1010
import Foundation
1111

12-
extension SwiftAudioFileConverter {
12+
extension AudioFileConverter {
1313
@concurrent nonisolated static func performFlacConversion(
1414
from inputURL: URL,
1515
to outputURL: URL,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// SwiftAudioFileConverter+LAME.swift
2+
// AudioFileConverter+LAME.swift
33
// SwiftAudioFileConverter
44
//
55
// Created by Devin Roth on 2025-04-03.
@@ -9,7 +9,7 @@ import AudioToolbox
99
import Foundation
1010
import lame
1111

12-
extension SwiftAudioFileConverter {
12+
extension AudioFileConverter {
1313
@concurrent nonisolated static func performLameConversion(
1414
from inputURL: URL,
1515
to outputURL: URL,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// SwiftAudioFileConverter.swift
2+
// AudioFileConverter.swift
33
// SwiftAudioFileConverter
44
//
55
// Created by Devin Roth on 2025-04-03.
@@ -8,7 +8,7 @@
88
import Foundation
99
import AudioToolbox
1010

11-
public enum SwiftAudioFileConverter {
11+
public enum AudioFileConverter {
1212
/// Perform audio file conversion.
1313
@concurrent nonisolated static public func convert(
1414
from inputURL: URL,

Tests/SwiftAudioFileConverterTests/SwiftAudioFileConverterTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import Testing
1818
let inputURL = URL.desktopDirectory.appending(path: "test.wav")
1919
let outputURL = URL.desktopDirectory.appending(path: "test.flac")
2020

21-
try await SwiftAudioFileConverter.convert(
21+
try await AudioFileConverter.convert(
2222
from: inputURL,
2323
to: outputURL,
2424
with: settings

0 commit comments

Comments
 (0)