How to output sound from phone through laptop speakers

The adapter costs less than 10 bucks.

Problem is that many laptops only have mono analog in.
given that 99% of all laptop speakers are crap anyways, I guess that's a non-issue...

You can also get USB-Aux/Line-in DACs/adapters for less than 5$, I guess they still offer way higher resolution than any laptop squeaker can reproduce.
I saw they are even available as USB-C-to-USB-C, so this seems to be the easiest solution (given that android isn't broken in some way regarding usb audio output)
 
I attached a C-Media Electronics, Inc. CM108 Audio Controller, but not sure if if needs any drivers or how to use it.

Anyone know?

1778617371140.png
 
I have a few usb audio here using freebsd. Usb audio works by default. Nothing special needed.

Code:
16298] ugen0.7: <C-Media Electronics Inc. USB Audio Device> at usbus0
[16298] uaudio0 on uhub3
[16298] uaudio0: <C-Media Electronics Inc. USB Audio Device, class 0/0, rev 1.10/1.00, addr 20> on usbus0
[16298] uaudio0: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x1ms buffer. (selected)
[16298] uaudio0: Play[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x1ms buffer.
[16298] uaudio0: Record[0]: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x1ms buffer. (selected)
[16298] uaudio0: Record[0]: 44100 Hz, 1 ch, 16-bit S-LE PCM format, 2x1ms buffer.
[16298] uaudio0: No MIDI sequencer.
[16298] pcm7 on uaudio0
[16298] uaudio0: HID volume keys found.
-----------------------------------------------------------------------------------------
[16299] ugen0.16: <FIIO FIIO KA11> at usbus0
[16299] usbhid1 on uhub6
[16299] usbhid1: <FIIO FIIO KA11, class 239/2, rev 2.00/0.08, addr 21> on usbus0
[16299] hidbus1: <HID bus> on usbhid1
[16299] uaudio1 on uhub6
[16299] uaudio1: <FIIO FIIO KA11, class 239/2, rev 2.00/0.08, addr 21> on usbus0
[16300] uaudio1: Play[0]: 384000 Hz, 2 ch, 32-bit S-LE PCM format, 2x1ms buffer. (selected)
[16300] uaudio1: Play[0]: 352800 Hz, 2 ch, 32-bit S-LE PCM format, 2x1ms buffer.
[16300] uaudio1: Play[0]: 192000 Hz, 2 ch, 32-bit S-LE PCM format, 2x1ms buffer.
[16300] uaudio1: Play[0]: 176400 Hz, 2 ch, 32-bit S-LE PCM format, 2x1ms buffer.
[16300] uaudio1: Play[0]: 96000 Hz, 2 ch, 32-bit S-LE PCM format, 2x1ms buffer.
[16300] uaudio1: Play[0]: 88200 Hz, 2 ch, 32-bit S-LE PCM format, 2x1ms buffer.
[16300] uaudio1: Play[0]: 48000 Hz, 2 ch, 32-bit S-LE PCM format, 2x1ms buffer.
[16300] uaudio1: Play[0]: 44100 Hz, 2 ch, 32-bit S-LE PCM format, 2x1ms buffer.
[16300] uaudio1: No recording.
[16300] uaudio1: No MIDI sequencer.
[16300] pcm8 on uaudio1
[16300] uaudio1: No HID volume keys found.

I would say , just plug it in and check "dmesg". If you see nothing ... then its not true USB-AUDIO....
 
I tried that but it doesn't work.

I probably need to install something.
No, but you need to make a "connection" (for lack of a better description from your input device (often they show up as record channels) to your output device (often labeled as playback channels.
How yo do that with a gui thing I don't know. If you use Pulseaudio you can use the pactl command for this
Code:
tingo@kg-core2:~ $ pactl-h
sh: pactl-h: not found
tingo@kg-core2:~ $ pactl help
pactl [options] stat
pactl [options] info
pactl [options] list [short] [TYPE]
pactl [options] exit
pactl [options] upload-sample FILENAME [NAME]
pactl [options] play-sample  NAME [SINK]
pactl [options] remove-sample  NAME
pactl [options] load-module  NAME [ARGS ...]
pactl [options] unload-module  NAME|#N
pactl [options] move-(sink-input|source-output) #N SINK|SOURCE
pactl [options] suspend-(sink|source) NAME|#N 1|0
pactl [options] set-card-profile  CARD PROFILE
pactl [options] get-default-(sink|source)
pactl [options] set-default-(sink|source) NAME
pactl [options] set-(sink|source)-port NAME|#N PORT
pactl [options] get-(sink|source)-volume NAME|#N
pactl [options] get-(sink|source)-mute NAME|#N
pactl [options] set-(sink|source)-volume NAME|#N VOLUME [VOLUME ...]
pactl [options] set-(sink-input|source-output)-volume #N VOLUME [VOLUME ...]
pactl [options] set-(sink|source)-mute NAME|#N 1|0|toggle
pactl [options] set-(sink-input|source-output)-mute #N 1|0|toggle
pactl [options] set-sink-formats #N FORMATS
pactl [options] set-port-latency-offset CARD-NAME|CARD-#N PORT OFFSET
pactl [options] send-message RECIPIENT MESSAGE [MESSAGE_PARAMETERS]
pactl [options] subscribe

The special names @DEFAULT_SINK@, @DEFAULT_SOURCE@ and @DEFAULT_MONITOR@
can be used to specify the default sink, source and monitor.

  -h, --help                            Show this help
      --version                         Show version

  -f, --format=FORMAT                   The format of the output. Either "normal" or "json"
  -s, --server=SERVER                   The name of the server to connect to
  -n, --client-name=NAME                How to call this client on the server
[hidden]
pipewire has simliar commands as well (but I don't use it, so I don't know how they work)
Code:
tingo@kg-core2:~ $ pw-link
pw-link : PipeWire port and link manager.
Generic: pw-link [options]
  -h, --help                            Show this help
      --version                         Show version
  -r, --remote=NAME                     Remote daemon name
List: pw-link [options] [out-pattern] [in-pattern]
  -o, --output                          List output ports
  -i, --input                           List input ports
  -l, --links                           List links
  -t, --latency                         List port latencies
  -m, --monitor                         Monitor links and ports
  -I, --id                              List IDs
  -v, --verbose                         Verbose port properties
Connect: pw-link [options] output input
  -L, --linger                          Linger (default, unless -m is used)
  -P, --passive                         Passive link
  -p, --props=PROPS                     Properties as JSON object
  -w, --wait                            Wait until link creation attempt
Disconnect: pw-link -d [options] output input
            pw-link -d [options] link-id
  -d, --disconnect                      Disconnect ports
missing output and input port names to connect
 
Back
Top